Update of /cvsroot/freevo/freevo
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20703

Modified Files:
        freevo_config.py local_conf.py.example 
Log Message:
Added config.TV_CHANNELS_DISPLAY_FORMAT to control the display format of 
the channels as a general rule.  This defaults to the name of the channel
but many users like to see the channel number / access id / tuner id also.


Index: local_conf.py.example
===================================================================
RCS file: /cvsroot/freevo/freevo/local_conf.py.example,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** local_conf.py.example       3 Dec 2004 20:11:10 -0000       1.42
--- local_conf.py.example       22 Dec 2004 02:12:51 -0000      1.43
***************
*** 865,868 ****
--- 865,881 ----
  # TV_CHANNELS = []
  
+ # If you would like to change the display format of your channels and prefer
+ # not to list your entire TV_CHANNELS then you can apply rules using
+ # TV_CHANNELS_DISPLAY_FORMAT.  This defaults to the plain name of the channel
+ # in order to not mess with TV_CHANNELS.      
+ # Valid keywords are:
+ #     %(id)s
+ #     %(tunerid)s
+ #     %(name)s
+ # For example, if you prefer to see the channel number with the name you
+ # could use '%(tunerid)s %(name)s'.
+ 
+ # TV_CHANNELS_DISPLAY_FORMAT = '%(name)s'
+ 
  # Sometimes we can't control the contents of our XMLTV file and it may contain
  # channels we don't want.  Here you can specify a list of channel_id values

Index: freevo_config.py
===================================================================
RCS file: /cvsroot/freevo/freevo/freevo_config.py,v
retrieving revision 1.375
retrieving revision 1.376
diff -C2 -d -r1.375 -r1.376
*** freevo_config.py    5 Dec 2004 13:01:09 -0000       1.375
--- freevo_config.py    22 Dec 2004 02:12:51 -0000      1.376
***************
*** 1264,1267 ****
--- 1264,1279 ----
  TV_CHANNELS = []
  
+ # If you would like to change the display format of your channels and prefer
+ # not to list your entire TV_CHANNELS then you can apply rules using 
+ # TV_CHANNELS_DISPLAY_FORMAT.  This defaults to the plain name of the channel
+ # in order to not mess with TV_CHANNELS. 
+ # Valid keywords are:
+ #     %(id)s
+ #     %(tunerid)s
+ #     %(name)s
+ # For example, if you prefer to see the channel number with the name you 
+ # could use '%(tunerid)s %(name)s'.
+  
+ TV_CHANNELS_DISPLAY_FORMAT = '%(name)s'
  
  # Sometimes we can't control the contents of our XMLTV file and it may contain



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to