Solved Path Substitution - Playlists
#1
Hi everyone. I have recently setup Kodi to use a centralized database and decided that I also wanted to centralize my playlists. Now I've added the required changes to my advancedsettings.xml file, and it seems to work fine as far as reading the playlists from the networked folder, however if I create a new playlist in Kodi (either a smart playlist or a regular m3u one), the saved playlist is being saved on the device instead of to the networked folder. This then requires me to manually move the file from the device I created the playlist on, to the networked folder. My question is, could this issue be a result of my configuration of path substitution, or is this possibly a known issue when using path substitution for playlists? Thanks for any info!
The relevant section of my advancedsettings.xml file:
xml:
  <pathsubstitution>
    <substitute>
        <from>special://musicplaylists/</from>
        <to>smb://192.168.200.150/public/Kodi Data/Playlists-Android/music/</to>
    </substitute>
    <substitute>
        <from>special://videoplaylists/</from>
        <to>smb://192.168.200.150/public/Kodi Data/Playlists-Android/video/</to>
    </substitute>
  </pathsubstitution>
Reply
#2
special://musicplaylists and special://videoplaylists cannot be substituted.
Reply
#3
Thanks. So should I try substituting from special://profile/playlists/video and special://profile/playlists/music or does path substitution for playlist folders in general not work?
Reply
#4
The initial problem for pathsubstitution was because of network shares that required a password, but the problem may go beyond that.

There is only one way to find out if your whole network setup works with pathsubstitution. Simply try and see if it does work.
Reply
#5
(2018-12-27, 20:20)Klojum Wrote: The initial problem for pathsubstitution was because of network shares that required a password, but the problem may go beyond that.

There is only one way to find out if your whole network setup works with pathsubstitution. Simply try and see if it does work.
 Thank you. Fortunately I have my stuff in a public folder requiring no passwords or login, but after changing from special://videoplaylists/ to special://profile/playlists/video (and doing the same for music), it all seems to be working now. New playlists created on any client are saving to the correct network location so that they are available to all clients now. Smile
Reply
#6
Thread marked solved.
Reply
#7
@GeorgeT93 

thanks I'll add that to our wiki
Reply

Logout Mark Read Team Forum Stats Members Help
Path Substitution - Playlists0