Author: duncan
Date: Fri Sep 29 07:11:30 2006
New Revision: 8253
Modified:
branches/rel-1-5/freevo/freevo_config.py
branches/rel-1-5/freevo/local_conf.py.example
branches/rel-1-5/freevo/src/util/tv_util.py
Log:
[ 1566067 ] Colons in filenames cause problems
Patch submitted by Michael Ruelle has been applied.
Modified: branches/rel-1-5/freevo/freevo_config.py
==============================================================================
--- branches/rel-1-5/freevo/freevo_config.py (original)
+++ branches/rel-1-5/freevo/freevo_config.py Fri Sep 29 07:11:30 2006
@@ -108,7 +108,7 @@
# of the config file doesn't match, Freevo won't start. If the minor version
# is different, there will be only a warning
-LOCAL_CONF_VERSION = 5.15
+LOCAL_CONF_VERSION = 5.16
# Description of changes in each new version
FREEVO_CONF_CHANGES = [
@@ -225,6 +225,8 @@
(5.15,
'''Add two variables for mplayer post processing: MPLAYER_VF_INTERLACED
and
MPLAYER_VF_PROGRESSIVE''' ) ]
+ (5.16,
+ '''Added TV_RECORDFILE_OKLETTERS so that the recorded file names are
ok''' ) ]
# NOW check if freevo.conf is up-to-date. An older version may break the next
@@ -1231,6 +1233,7 @@
TV_RECORDFILE_MASK = '%%m-%%d %%H.%%M %(progname)s - %(title)s'
TV_RECORDFILE_SUFFIX = '.avi'
+TV_RECORDFILE_OKLETTERS =
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-:'
# if using the persitant recordserver
TV_RECORD_SCHEDULE = '%s/record_schedule.xml' % FREEVO_CACHEDIR
Modified: branches/rel-1-5/freevo/local_conf.py.example
==============================================================================
--- branches/rel-1-5/freevo/local_conf.py.example (original)
+++ branches/rel-1-5/freevo/local_conf.py.example Fri Sep 29 07:11:30 2006
@@ -42,7 +42,7 @@
-CONFIG_VERSION = 5.15
+CONFIG_VERSION = 5.16
# ======================================================================
# General freevo settings:
Modified: branches/rel-1-5/freevo/src/util/tv_util.py
==============================================================================
--- branches/rel-1-5/freevo/src/util/tv_util.py (original)
+++ branches/rel-1-5/freevo/src/util/tv_util.py Fri Sep 29 07:11:30 2006
@@ -53,7 +53,7 @@
'''Translate a program name to something that can be used as a filename.'''
# Letters that can be used in the filename
- ok = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-:'
+ ok = config.TV_RECORDFILE_OKLETTERS
s = ''
for letter in progname:
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog