diff --git a/ChangeLog b/ChangeLog index cc21119..93f4f0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-25 Thomas Vander Stichele + + * morituri/rip/cd.py: + Log the version at the beginning to help in bug reports. + 2010-04-25 Thomas Vander Stichele * morituri/rip/main.py: diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py index 86227f9..a80849e 100644 --- a/morituri/rip/cd.py +++ b/morituri/rip/cd.py @@ -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: