From 24afc106f9e5b1df14148333c78744af93731f7e Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 22 May 2011 11:10:26 +0000 Subject: [PATCH] =?UTF-8?q?=09patch=20by:=20Lo=C3=AFc=20Minier=20=20=09*=20morituri/rip/cd.py:=20=09=20=20Don't=20strip=20?= =?UTF-8?q?extension=20of=20HTOA=20track.=20=09=20=20Fixes=20#50.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog | 8 ++++++++ morituri/rip/cd.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b3d4244..7baad40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-05-22 Thomas Vander Stichele + + patch by: Loïc Minier + + * morituri/rip/cd.py: + Don't strip extension of HTOA track. + Fixes #50. + 2011-05-22 Thomas Vander Stichele * morituri/result/logger.py: diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py index ef0481a..116b498 100644 --- a/morituri/rip/cd.py +++ b/morituri/rip/cd.py @@ -277,7 +277,7 @@ See http://sourceforge.net/tracker/?func=detail&aid=604751&group_id=2171&atid=1 if htoapath: u = u'#EXTINF:%d,%s\n' % ( itable.getTrackStart(1) / common.FRAMES_PER_SECOND, - os.path.basename(htoapath[:-4])) + os.path.basename(htoapath)) handle.write(u.encode('utf-8')) u = '%s\n' % os.path.basename(htoapath) handle.write(u.encode('utf-8'))