[rygel] core: Templates for config file
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] core: Templates for config file
- Date: Sat, 4 Jul 2009 15:15:22 +0000 (UTC)
commit f3144bc72a0eac15617955c5450402f40b36b596
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Jul 4 11:12:05 2009 +0300
core: Templates for config file
Config file is now generated from one of the templates. This the
equivalent of gconf schemas.
data/Makefile.am | 4 ++++
data/{rygel.conf => rygel-default.conf} | 4 ++++
data/{rygel.conf => rygel-maemo.conf} | 14 +++++++++-----
3 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 3e0934f..0264658 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,11 +3,15 @@ SUBDIRS = xml
schemadir = @GCONF_SCHEMA_FILE_DIR@
if ENABLE_MAEMO
schema_DATA = rygel-maemo.schemas
+configfile = rygel-default.conf
else
schema_DATA = rygel.schemas
+configfile = rygel-maemo.conf
endif
sysconf_DATA = rygel.conf
+$(sysconf_DATA): $(configfile) Makefile
+ cp $(configfile) $@
shareddir = $(datadir)/rygel
diff --git a/data/rygel.conf b/data/rygel-default.conf
similarity index 98%
copy from data/rygel.conf
copy to data/rygel-default.conf
index 5fdca92..800d67e 100644
--- a/data/rygel.conf
+++ b/data/rygel-default.conf
@@ -61,3 +61,7 @@ uris=
enabled=true
# List of ids of broadcasts
rss=508
+
+[DVB]
+enabled=true
+title=Digital\sTV
diff --git a/data/rygel.conf b/data/rygel-maemo.conf
similarity index 91%
rename from data/rygel.conf
rename to data/rygel-maemo.conf
index 5fdca92..ea96de7 100644
--- a/data/rygel.conf
+++ b/data/rygel-maemo.conf
@@ -12,14 +12,14 @@ enabled=false
enable-transcoding=true
# Set it to 'false' if you want to disable MP3 transcoding support.
-enable-mp3-transcoder=true
+enable-mp3-transcoder=false
# Set it to 'false' if you want to disable LPCM transcoding support.
enable-lpcm-transcoder=true
# Set it to 'false' if you want to disable mpeg transport stream
# (mpeg 2 video + audio) transcoding support.
-enable-mp2ts-transcoder=true
+enable-mp2ts-transcoder=false
# The IP of the network interface to attach rygel to. Leave it blank for
# dynamic configuration.
@@ -48,11 +48,11 @@ enabled=true
share-pictures=true
share-videos=true
share-music=true
-title= REALNAME@'s media
+title= REALNAME@'s\smedia
[MediaExport]
-enabled=true
-title= REALNAME@'s media
+enabled=false
+title= REALNAME@'s\smedia
# List of URIs to export; if list is empty, the XDG media directries are
# exported.
uris=
@@ -61,3 +61,7 @@ uris=
enabled=true
# List of ids of broadcasts
rss=508
+
+[DVB]
+enabled=false
+title=Digital\sTV
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]