[rygel] data: Add 2 virtual folders to default user config



commit a91aa68c8fa23e68f765776a23facaffacf374ec
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Apr 14 16:24:18 2010 +0300

    data: Add 2 virtual folders to default user config
    
    Add 'Albums' and 'Artists' virtual folders to default user configuration.
    Also describe the config option in the comment a bit.

 data/rygel-default.conf |    9 +++++++++
 data/rygel-maemo.conf   |    9 +++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/data/rygel-default.conf b/data/rygel-default.conf
index df71da3..4636f70 100644
--- a/data/rygel-default.conf
+++ b/data/rygel-default.conf
@@ -66,6 +66,15 @@ title= REALNAME@'s media
 # List of URIs to export; if list is empty, the XDG media directries are
 # exported.
 uris=
+# Virtual folders. Using this option you can create hierarchies based on
+# differnt metadata values. Syntax for each hierarch is the following:
+#
+# TITLE=KEY1,VALUE1[,KEY2,VALUE2,..]
+#
+# When '?' is used as value, it will introduce extra hierarchy that is composed
+# of a folder for each unique value of the metadata in question.
+#
+virtual-folders=Artists=upnp:artist,?,upnp:album,?;Albums=upnp:album,?,upnp:artist,?
 
 [GstRenderer]
 enabled=true
diff --git a/data/rygel-maemo.conf b/data/rygel-maemo.conf
index e4417fb..8a60b52 100644
--- a/data/rygel-maemo.conf
+++ b/data/rygel-maemo.conf
@@ -66,6 +66,15 @@ title= HOSTNAME@
 # List of URIs to export; if list is empty, the XDG media directries are
 # exported.
 uris=
+# Virtual folders. Using this option you can create hierarchies based on
+# differnt metadata values. Syntax for each hierarch is the following:
+#
+# TITLE=KEY1,VALUE1[,KEY2,VALUE2,..]
+#
+# When '?' is used as value, it will introduce extra hierarchy that is composed
+# of a folder for each unique value of the metadata in question.
+#
+virtual-folders=Artists=upnp:artist,?,upnp:album,?;Albums=upnp:album,?,upnp:artist,?
 
 [GstRenderer]
 enabled=true



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]