add debug
This commit is contained in:
@@ -615,10 +615,9 @@ class Program(log.Loggable):
|
||||
return res
|
||||
|
||||
def writeCue(self, discName):
|
||||
self.debug('write .cue file')
|
||||
assert self.result.table.canCue()
|
||||
|
||||
cuePath = '%s.cue' % discName
|
||||
self.debug('write .cue file to %s', cuePath)
|
||||
handle = open(cuePath, 'w')
|
||||
# FIXME: do we always want utf-8 ?
|
||||
handle.write(self.result.table.cue().encode('utf-8'))
|
||||
|
||||
@@ -271,6 +271,7 @@ See http://sourceforge.net/tracker/?func=detail&aid=604751&group_id=2171&atid=1
|
||||
prog.writeCue(discName)
|
||||
|
||||
# write .m3u file
|
||||
self.debug('writing m3u file for %r', discName)
|
||||
m3uPath = u'%s.m3u' % discName
|
||||
handle = open(m3uPath, 'w')
|
||||
handle.write(u'#EXTM3U\n')
|
||||
|
||||
Reference in New Issue
Block a user