Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5103/src/helpers
Modified Files:
imdb.py
Log Message:
remove TRUE, FALSE, DEBUG and HELPER
Index: imdb.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/imdb.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** imdb.py 10 Jul 2004 12:33:39 -0000 1.7
--- imdb.py 8 Jan 2005 15:40:52 -0000 1.8
***************
*** 12,15 ****
--- 12,18 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.8 2005/01/08 15:40:52 dischi
+ # remove TRUE, FALSE, DEBUG and HELPER
+ #
# Revision 1.7 2004/07/10 12:33:39 dischi
# header cleanup
***************
*** 92,96 ****
drive = '/dev/cdrom'
! driveset = FALSE
task = ''
--- 95,99 ----
drive = '/dev/cdrom'
! driveset = False
task = ''
***************
*** 125,129 ****
if o == '--rom-drive':
drive=a
! driveset = TRUE
fxd = FxdImdb()
--- 128,132 ----
if o == '--rom-drive':
drive=a
! driveset = True
fxd = FxdImdb()
***************
*** 133,139 ****
usage()
fxd.setFxdFile(arg[0])
! if fxd.isDiscset() == TRUE:
fxd.setDiscset(drive, None)
! elif fxd.isDiscset() == FALSE:
type = 'file'
if arg[1].find('[dvd]') != -1: type = 'dvd'
--- 136,142 ----
usage()
fxd.setFxdFile(arg[0])
! if fxd.isDiscset() == True:
fxd.setDiscset(drive, None)
! elif fxd.isDiscset() == False:
type = 'file'
if arg[1].find('[dvd]') != -1: type = 'dvd'
***************
*** 141,145 ****
id = abs( Random() * 100 )
! if driveset == TRUE:
video = makeVideo(type, 'f' + str(id), arg[1], device=drive)
else : video = makeVideo(type, 'f' + str(id), arg[1])
--- 144,148 ----
id = abs( Random() * 100 )
! if driveset == True:
video = makeVideo(type, 'f' + str(id), arg[1], device=drive)
else : video = makeVideo(type, 'f' + str(id), arg[1])
***************
*** 196,200 ****
if file.find('[dvd]') != -1: type = 'dvd'
if file.find('[vcd]') != -1: type = 'vcd'
! if driveset == TRUE: video = makeVideo(type, 'f' + str(x) , file,
device=drive)
else: video = makeVideo(type, 'f' + str(x), file)
fxd.setVideo(video)
--- 199,203 ----
if file.find('[dvd]') != -1: type = 'dvd'
if file.find('[vcd]') != -1: type = 'vcd'
! if driveset == True: video = makeVideo(type, 'f' + str(x) , file,
device=drive)
else: video = makeVideo(type, 'f' + str(x), file)
fxd.setVideo(video)
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog