Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv28641
Modified Files:
rom_drives.py
Log Message:
adjust to variable moving
Index: rom_drives.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/rom_drives.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** rom_drives.py 22 Nov 2003 20:36:04 -0000 1.41
--- rom_drives.py 24 Nov 2003 19:25:28 -0000 1.42
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.42 2003/11/24 19:25:28 dischi
+ # adjust to variable moving
+ #
# Revision 1.41 2003/11/22 20:36:04 dischi
# use new vfs
***************
*** 145,148 ****
--- 148,153 ----
import plugin
+ import video
+
from audio.audiodiskitem import AudioDiskItem
from video.videoitem import VideoItem
***************
*** 152,156 ****
- from video import xml_parser, videoitem
from directory import DirItem
--- 157,160 ----
***************
*** 506,513 ****
label = data.label
!
# is the id in the database?
! if media.id in config.MOVIE_INFORMATIONS_ID:
! movie_info = config.MOVIE_INFORMATIONS_ID[media.id]
if movie_info:
title = movie_info.name
--- 510,517 ----
label = data.label
!
# is the id in the database?
! if media.id in video.fxd_database['id']:
! movie_info = video.fxd_database['id'][media.id]
if movie_info:
title = movie_info.name
***************
*** 515,519 ****
# no? Maybe we can find a label regexp match
else:
! for (re_label, movie_info_t) in config.MOVIE_INFORMATIONS_LABEL:
if re_label.match(media.label):
movie_info = movie_info_t
--- 519,523 ----
# no? Maybe we can find a label regexp match
else:
! for (re_label, movie_info_t) in video.fxd_database['label']:
if re_label.match(media.label):
movie_info = movie_info_t
***************
*** 545,549 ****
media.info = copy.copy(movie_info)
else:
! media.info = videoitem.VideoItem('0', None)
if config.OVERLAY_DIR:
media.info.image = util.getimage(os.path.join(config.OVERLAY_DIR,
--- 549,553 ----
media.info = copy.copy(movie_info)
else:
! media.info = VideoItem('0', None)
if config.OVERLAY_DIR:
media.info.image = util.getimage(os.path.join(config.OVERLAY_DIR,
***************
*** 654,659 ****
image = (k + ".jpg").lower()
title = show_name + ' ('+ volumes + ')'
! if config.TV_SHOW_INFORMATIONS.has_key(show_name.lower()):
! tvinfo = config.TV_SHOW_INFORMATIONS[show_name.lower()]
more_info = tvinfo[1]
if not image:
--- 658,663 ----
image = (k + ".jpg").lower()
title = show_name + ' ('+ volumes + ')'
! if video.tv_show_informations.has_key(show_name.lower()):
! tvinfo = video.tv_show_informations[show_name.lower()]
more_info = tvinfo[1]
if not image:
***************
*** 756,760 ****
# This is a simple way for external apps to signal changes
if os.path.exists(rebuild_file):
! if xml_parser.hash_xml_database() == 0:
# something is wrong, deactivate this feature
rebuild_file = '/this/file/should/not/exist'
--- 760,764 ----
# This is a simple way for external apps to signal changes
if os.path.exists(rebuild_file):
! if video.hash_fxd_movie_database() == 0:
# something is wrong, deactivate this feature
rebuild_file = '/this/file/should/not/exist'
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog