[Solved] path substitution of parent path
#1
hi guys

been searching forum for an answer for this


i have playlists on my synology nas that are formatted as m3u lists
they individual path for each item is as follows
../the library/artist/album/song.ext

i already have a sub for the playlist folder
special://playlist (however it is formatted)
to smb://nas/music/playlists

i find that i cant play m3u unless i change the path to //nas/music/the library

can i path sub a ../the library and then change it to
smb://nas/music/the library?


im concerned it wont like the ../ part of the path...

i would like to avoid changing the path in the file itself as it break the audio station in synology

as background i have the library as a source for music in kodi as well, not sure that helps or is of no meaning
Reply
#2
Why not go ahead and try?

My m3u paths start with /rootfolder/...

I path substitute: /rootfolder/
to: nfs://192.168.1.6/Volume1/rootfolder/
and that works ok.
Reply
#3
ill give it a shot when i get home and see how it goes.....
if it does work im sure it could make life easier for alot of people who run combined systems....as im sure that something alot of us will be doing over the next few years with connected homes and intergration
Reply
#4
<pathsubstitution>
<substitute>
<from>special://masterprofile/playlists/music</from>
<to>smb://10.0.0.1/music/playlists/</to>
</substitute>
<substitute>
<from>../The Library/</from>
<to>smb://10.0.0.1/music/The Library/</to>
</substitute>
</pathsubstitution>

have uploaded to kodi, but am unable to test till i get home....
Reply
#5
so as a note for everyone else who wants to look at doing this ../folder/ redirection does work
it works perfectly,
so i now can use relative m3u paths that use parent directory marking to share playlists accross mutiple devices
Reply



Logout Mark Read Team Forum Stats Members Help
[Solved] path substitution of parent path0
This forum uses Lukasz Tkacz MyBB addons.