Kodi Community Forum

Full Version: Path substitution help for UNC playlists
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I house my music on a windows home server and my playlists use UNC paths. I have been trying to get the path substitution in xbmc to work but to no avail. Here's what I put in Advancedsettings.xml

<pathsubstitution>
<substitute>
<from>\\SERVER\Music</from>
<to>smb://workgroup;user:pass@Server\Music</to>
</substitute>
</pathsubstitution>

Unfortunately this doesn't work and returns this error in the log-file:

Open - failed to open source <smb://SERVER/Music/Playlists///SERVER/Music/library/test.mp3

Where am I going wrong, or does path substitution not work with UNC locations?
I should also add that the playlist files look like

#EXTM3U
\\SERVER\Music\library\test.mp3

I'm gathering that the pathsubsitution function doesn't recognize \\SERVER\ as a valid path so I'm just wondering if this is possible at all.