Does anyone know how playlist editors write relative paths in the
playlist files ?
Is it relative to main music folder ?
Is it relative to the playlist file ?
Is it relative to something else, in that case what ?
I'm just asking because if it's related it to something known by SBS it
feels like it should be fairly easy to add support playlists with
relative paths to SBS and we would get rid of all these questions.
Basically:
1. Check if the file exists at the full path
2. Check if the file exists at the relative path relative to where
playlist file is stored
3. Check if the file exists at the relative path relative to the main
music folder
Would something like that make it work for most playlists edited in
external software ?
I guess UNC paths vs local drive paths could also be an issue but
that's probably a bit more advanced to solve, I guess.
--
erland
Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=89300
_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch