* morituri/rip/cd.py:

Log the version at the beginning to help in bug reports.
This commit is contained in:
Thomas Vander Stichele
2010-04-25 17:41:30 +00:00
parent 86c97aa63e
commit 243d949853
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2010-04-25 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/rip/cd.py:
Log the version at the beginning to help in bug reports.
2010-04-25 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/rip/main.py:

View File

@@ -242,10 +242,12 @@ See http://sourceforge.net/tracker/?func=detail&aid=604751&group_id=2171&atid=1
handle = open(m3uPath, 'w')
handle.write(u'#EXTM3U\n')
if htoapath:
handle.write(u'#EXTINF:%d,%s\n' % (
u = u'#EXTINF:%d,%s\n' % (
itable.getTrackStart(1) / common.FRAMES_PER_SECOND,
os.path.basename(htoapath[:-4])))
handle.write(u'%s\n' % os.path.basename(htoapath))
os.path.basename(htoapath[:-4]))
handle.write(u.encode('utf-8'))
u = '%s\n' % os.path.basename(htoapath)
handle.write(u.encode('utf-8'))
for i, track in enumerate(itable.tracks):
if not track.audio: