Like many people, my music library is arranged like:
C:\Music\Aerosmith\Rocks\02-Last Child.mp3
and my playlists are stored in a dedicated folder which also lives in the same hierarchy:
C:\Music\Playlists\Lazy Day Faves.m3u
If I set the Playlist folder in Subsonic to C:\Music\Playlists, it finds the playlists just fine. Of course, it expects the media paths within the playlist to be absolute paths that begin with C:\Music.
Other applications I use every day use relative paths in their playlist files. For example, MediaMonkey might have
..\Aerosmith\Rocks\02-Last Child.mp3
in the Lazy Day Faves playlist.
Is it possible to add a "relative/absolute path" toggle setting to Subsonic that would behave as follows...
- If set to "absolute", Subsonic would use the Playlist Folder setting to find the .M3U file, and then use its contents unchanged (i.e. exactly the way it works now)
- If set to "relative", Subsonic would use the Playlist Folder setting to find the .M3U file, and then prepend the Playlist Folder setting to each path in the playlist file as it needs it.
For example if Playlist Folder is set to
C:\Music\Playlists\
and a given playlist in that folder contained a media path like
..\Aerosmith\Rocks\02-Last Child.mp3
and the toggle is set to Relative, Subsonic would prepend the Playlist Folder to the front of the media path and make
C:\Music\Playlists\..\Aerosmith\Rocks\02-Last Child.mp3
which would correctly locate the file.
Thanks for considering this suggestion!
tkarp