Hi Phil:
Phil Sung wrote:
Hi Amit,
(Happy new year! I apologize for the delay in responding. Various
things have been keeping me busy.)
On Thu, Dec 31, 2009 at 04:47, Amit Saha <lists.amitsaha@xxxxxxxxx>
wrote:
Amit Saha wrote:
Pls. find attched the m3u.py file implementing the m3u backend and
patches
to existing files.
Thanks! In general I think everything basically looks sound. A few
comments:
1. Please move extract_metadata and album_name_from_path to
backends.py so both the dir and m3u backends can take advantage of a
single implementation.
Done. Pls. find the patch and the m3u.py file attached.
2. If you use os.path.expanduser (and optionally, also
os.path.abspath), then you can remove the requirement that the user
specify an absolute path to the playlist.
Thanks for that point. I shall do that when I have some time and
probably when I add the PLS support.
Hope the patch looks good for a commit!