path substitution of parent path

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