Update of /cvsroot/freevo/freevo/src/audio/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv30814
Modified Files:
xine.py
Log Message:
fix cd playback
Index: xine.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/plugins/xine.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** xine.py 21 Oct 2003 21:17:41 -0000 1.6
--- xine.py 8 Nov 2003 10:00:59 -0000 1.7
***************
*** 13,16 ****
--- 13,19 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.7 2003/11/08 10:00:59 dischi
+ # fix cd playback
+ #
# Revision 1.6 2003/10/21 21:17:41 gsbarbieri
# Some more i18n improvements.
***************
*** 135,139 ****
self.item = item
self.playerGUI = playerGUI
!
if item.url:
filename = item.url
--- 138,143 ----
self.item = item
self.playerGUI = playerGUI
! add_args = ''
!
if item.url:
filename = item.url
***************
*** 144,149 ****
plugin.getbyname('MIXER').reset()
!
! command = '%s "%s"' % (self.command, filename)
_debug_('Xine.play(): Starting thread, cmd=%s' % command)
--- 148,156 ----
plugin.getbyname('MIXER').reset()
! if filename.startswith('cdda://'):
! filename = filename.replace('//', '/')
! add_args += ' cfg:/input.cdda_device:%s' % item.media.devicename
!
! command = '%s %s "%s"' % (self.command, add_args, filename)
_debug_('Xine.play(): Starting thread, cmd=%s' % command)
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog