Update of /cvsroot/freevo/freevo/src/video/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22095/plugins
Modified Files:
mplayer.py xine.py
Log Message:
fix/cleanup dvd on hd handling
Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/mplayer.py,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -d -r1.61 -r1.62
*** mplayer.py 3 Feb 2004 20:51:12 -0000 1.61
--- mplayer.py 6 Feb 2004 19:28:51 -0000 1.62
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.62 2004/02/06 19:28:51 dischi
+ # fix/cleanup dvd on hd handling
+ #
# Revision 1.61 2004/02/03 20:51:12 dischi
# fix/enhance dvd on disc
***************
*** 247,251 ****
elif mode == 'dvd':
# dvd on harddisc
! additional_args += [ '-dvd-device', url[5:url.rfind('/VIDEO_TS/')] ]
url = url[:6] + url[url.rfind('/')+1:]
--- 250,254 ----
elif mode == 'dvd':
# dvd on harddisc
! additional_args += [ '-dvd-device', item.filename ]
url = url[:6] + url[url.rfind('/')+1:]
Index: xine.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/xine.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** xine.py 3 Feb 2004 20:51:12 -0000 1.38
--- xine.py 6 Feb 2004 19:29:06 -0000 1.39
***************
*** 18,21 ****
--- 18,24 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.39 2004/02/06 19:29:06 dischi
+ # fix/cleanup dvd on hd handling
+ #
# Revision 1.38 2004/02/03 20:51:12 dischi
# fix/enhance dvd on disc
***************
*** 204,208 ****
self.current_subtitle = -1
! if item.url == 'dvd://':
for track in item.info['tracks']:
self.max_audio = max(self.max_audio, len(track['audio']))
--- 207,211 ----
self.current_subtitle = -1
! if item.mode == 'dvd':
for track in item.info['tracks']:
self.max_audio = max(self.max_audio, len(track['audio']))
***************
*** 211,220 ****
self.max_subtitle = max(self.max_subtitle, len(track['subtitles']))
! if item.mode == 'dvd' and hasattr(item.media,'devicename'):
# dvd:///dev/dvd/2
- print item.media
command.append('dvd://%s/%s' % (item.media.devicename, item.url[6:]))
elif item.mode == 'dvd': # no devicename? Probably a mirror image on the HD
- print item.url
command.append(item.url)
--- 214,221 ----
self.max_subtitle = max(self.max_subtitle, len(track['subtitles']))
! if item.mode == 'dvd' and hasattr(item.media, 'devicename'):
# dvd:///dev/dvd/2
command.append('dvd://%s/%s' % (item.media.devicename, item.url[6:]))
elif item.mode == 'dvd': # no devicename? Probably a mirror image on the HD
command.append(item.url)
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog