PDA

View Full Version : Media library + playlists and file path changes


aosipov
3rd January 2004, 22:05
Hi,
My feature request has more with the way files are associated with their names in the playlists, and the media library. Let me explain. I would like to be able to share my playlists without needing to embed the exact file path inside the playlist (whatever format it may be in). For example, I have a file server that shares all my music that I access from my laptop, as well as all my playlists from my main desktop computer. I have to either put the playlists relative to the music files, or manually edit the playlists (m3u, b4s, etc) to change the absolute path to the file. While this is fairly simple for a few playlists, imagine trying to rename 100 playlists, then importing all the playlists into winamp, and whatever else... it takes up a lot of time. What I propose is that files in my media library, no matter on which computer, be tagged with a unique id, CRC32, MD5, SHA1, whatever, and the playlists be saved with the fingerprint of the file so all I have to do on my laptop is to connect to the shared files, rescan the watched media library directories, and add any new playlists, and they would be linked to the files in my media library. This would also solve the problem of moving music files to other locations, and various other scenarios. I very rarely modify music files, but quite often I will modify the ID3 tags, so maybe this fingerprint should only be based on everything past the file header, before the end of the data. This would still keep the file fingerprint pretty flexible in terms of current technologies, and can still be backwards compatible with old file path support. I am not sure if this is possible with a plugin to integrate into winamp5 but if someone can point me in the right direction I can work on this myself. I do not know the details of the current playlist formats, but I imagine it would have to be an extension to one of the current formats to support such an extra fingerprint datum, as well as support for this format. Maybe something like http://www.musicbrainz.org TRM id can be used for this. I am open to suggestions, comments. Thanks.

Sincerely,
Alex Osipov

WHEREamI
4th January 2004, 10:52
i like the hash-in-the-playlist idea... sorry, don't know anything about it though, so i can't really help.

One thing I can tell you though: Winamp 5 doesn't support Winamp3/wasabi.player's .b4s playlist format currently. i can think of how you could extend the format in Wasabi though (since it's xml-based, and you can just overide the playlist-writer)... figures, huh?