Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv30460
Modified Files:
rom_drives.py
Log Message:
also set speed for audio discs
Index: rom_drives.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/rom_drives.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** rom_drives.py 18 Oct 2003 17:57:22 -0000 1.37
--- rom_drives.py 8 Nov 2003 12:57:54 -0000 1.38
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.38 2003/11/08 12:57:54 dischi
+ # also set speed for audio discs
+ #
# Revision 1.37 2003/10/18 17:57:22 dischi
# remove debug
***************
*** 461,464 ****
--- 464,474 ----
data = mmpython.parse(media.devicename)
+ # try to set the speed
+ if config.ROM_SPEED and data and not data.mime == 'video/dvd':
+ try:
+ ioctl(fd, CDROM_SELECT_SPEED, config.ROM_SPEED)
+ except:
+ pass
+
if data and data.mime == 'audio/cd':
os.close(fd)
***************
*** 474,484 ****
media.info.info = data
return
-
- # try to set the speed
- if config.ROM_SPEED and data and not data.mime == 'video/dvd':
- try:
- ioctl(fd, CDROM_SELECT_SPEED, config.ROM_SPEED)
- except:
- pass
os.close(fd)
--- 484,487 ----
-------------------------------------------------------
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