Author: duncan
Date: Sun Nov 4 06:37:48 2007
New Revision: 10071
Log:
A small whitespace clean-up
Modified:
branches/rel-1-7/freevo/src/video/__init__.py
Modified: branches/rel-1-7/freevo/src/video/__init__.py
==============================================================================
--- branches/rel-1-7/freevo/src/video/__init__.py (original)
+++ branches/rel-1-7/freevo/src/video/__init__.py Sun Nov 4 06:37:48 2007
@@ -89,7 +89,7 @@
for file in all_files:
if parent and parent.type == 'dir' and \
- hasattr(parent,'VIDEO_DIRECTORY_AUTOBUILD_THUMBNAILS') and \
+ hasattr(parent, 'VIDEO_DIRECTORY_AUTOBUILD_THUMBNAILS') and
\
parent.VIDEO_DIRECTORY_AUTOBUILD_THUMBNAILS:
util.videothumb.snapshot(file, update=False, popup=True)
@@ -138,7 +138,7 @@
if parent.media:
file_id = String(parent.media.id) + \
- file[len(os.path.join(parent.media.mountdir,"")):]
+ file[len(os.path.join(parent.media.mountdir, "")):]
try:
x.mplayer_options = discset_information[file_id]
_debug_('x.mplayer_options=%r' % x.mplayer_options)
@@ -215,13 +215,13 @@
print
return 0
- _debug_("Building the xml hash database...",1)
+ _debug_("Building the xml hash database...", 1)
files = []
if not config.VIDEO_ONLY_SCAN_DATADIR:
if len(config.VIDEO_ITEMS) == 2:
- for name,dir in config.VIDEO_ITEMS:
- files += util.recursefolders(dir,1,'*.fxd',1)
+ for name, dir in config.VIDEO_ITEMS:
+ files += util.recursefolders(dir, 1, '*.fxd', 1)
for subdir in ('disc', 'disc-set'):
files += util.recursefolders(vfs.join(config.OVERLAY_DIR, subdir), 1,
'*.fxd', 1)
@@ -236,16 +236,15 @@
discset_information[fo['file-id']] = fo['mplayer-options']
if config.VIDEO_SHOW_DATA_DIR:
- files = util.recursefolders(config.VIDEO_SHOW_DATA_DIR,1, '*.fxd',1)
+ files = util.recursefolders(config.VIDEO_SHOW_DATA_DIR, 1, '*.fxd', 1)
for info in fxditem.mimetype.parse(None, files, display_type='video'):
if info.type != 'video':
continue
k = vfs.splitext(vfs.basename(info.files.fxd_file))[0]
- tv_show_information[k] = (info.image, info.info,
info.mplayer_options,
- info.skin_fxd)
+ tv_show_information[k] = (info.image, info.info,
info.mplayer_options, info.skin_fxd)
if hasattr(info, '__fxd_rom_info__'):
for fo in info.__fxd_files_options__:
discset_information[fo['file-id']] = fo['mplayer-options']
- _debug_('done',1)
+ _debug_('done', 1)
return 1
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog