Your message dated Sat, 17 Oct 2009 11:46:59 +0100
with message-id <[email protected]>
and subject line Package serpentine has been removed from Debian
has caused the Debian Bug report #473173,
regarding should allow for export playlist as human readable text file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
473173: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473173
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: serpentine
Version: 0.9-5
Severity: wishlist
Tags: patch

I find it convenient to have a human readable and/or printable
list of audio tracks. The attached patch realises this feature.
--- serpentine/plugins/plugfilter_plsave.py.orig	2008-03-22 14:28:16.000000000 +0100
+++ serpentine/plugins/plugfilter_plsave.py	2008-03-29 00:05:48.000000000 +0100
@@ -93,8 +93,18 @@
         doc.writexml (fp, addindent = "\t", newl = "\n")
         del p
 
+class SaveTXT (SavePlaylist):
+    def _save (self, fp):
+        track = 0
+        for row in self.music_list:
+            track += 1
+            fp.write(u"%4d. %-40s %-40s %8s\n" % \
+                (track, row.get('title', ""),
+                 row.get('artist', ""), row.get('time', "")))
+
 def create_plugin (app):
     # Register factories
     app.savePlaylist.register (factory=SaveM3U,  extension = ".m3u",  description = "MP3 Playlist File")
     app.savePlaylist.register (factory=SavePLS,  extension = ".pls",  description = "PLS Audio Playlist")
     app.savePlaylist.register (factory=SaveXSPF, extension = ".xspf", description = "XML Shareable Playlist Format")
+    app.savePlaylist.register (factory=SaveTXT,  extension = ".txt",  description = "List in text format")

--- End Message ---
--- Begin Message ---
Version: 0.9-6.2+rm

You filled the bug http://bugs.debian.org/473173 in Debian BTS
against the package serpentine. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/548619. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply via email to