[SCM] morituri/master: Fix extension of HTOA track in .m3u

lool at users.alioth.debian.org lool at users.alioth.debian.org
Wed Nov 10 00:21:20 UTC 2010


The following commit has been merged in the master branch:
commit 00224a5718ea42cddbcf9d70630f9d20f1805595
Author: Loïc Minier <lool at dooz.org>
Date:   Wed Nov 10 00:53:44 2010 +0100

    Fix extension of HTOA track in .m3u

diff --git a/debian/patches/1002_fix-htoa-m3u-filename.patch b/debian/patches/1002_fix-htoa-m3u-filename.patch
new file mode 100644
index 0000000..f94e7d7
--- /dev/null
+++ b/debian/patches/1002_fix-htoa-m3u-filename.patch
@@ -0,0 +1,15 @@
+Description: Fix extension of HTOA track in .m3u
+From: Loïc Minier <lool at dooz.org>
+Forwarded: yes
+Last-Update: 2010-10-10
+--- a/morituri/rip/cd.py
++++ b/morituri/rip/cd.py
+@@ -244,7 +244,7 @@
+         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 = u'%s\n' % os.path.basename(htoapath)
+             handle.write(u.encode('utf-8'))
diff --git a/debian/patches/series b/debian/patches/series
index bf2287d..f22ed42 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001_fix_support_non-utf-8_console.patch
 1001_fix-non-ascii-htoa.patch
+1002_fix-htoa-m3u-filename.patch

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list