Paths substition for playlist

Hi
I use path substions fro Thumbnails and for playlist

special://masterprofile/Thumbnails/ nfs://192.168.1.86/volume1/Kodi-thumbs/ special://profiles/playlists/ nfs://192.168.1.86/volume1/Kodi-playlists/

(copy from old openelc xml)

Thumbnails work fine, but playlists not . I try with //Masterprofile, with //profiles, everytime I’ve this error message in the kodi.log

10:32:22 T:3031150592 ERROR: GetDirectory - Error getting musicdb://playlists/
10:32:22 T:3031150592 ERROR: CGUIMediaWindow::GetDirectory(musicdb://playlists/) failed
10:32:52 T:3031150592 ERROR: GetDirectory - Error getting musicdb://playlists/
10:32:52 T:3031150592 ERROR: CGUIMediaWindow::GetDirectory(musicdb://playlists/) failed
10:33:29 T:3031150592 NOTICE: NFS is idle. Closing the remaining connections.
10:50:32 T:2412770288 ERROR: GetDirectory - Error getting

Some ideas.
Merci
Michael

http://kodi.wiki/view/Special_protocol
There seems to be no playlist special but only a video/music specific ones
like special://musicplaylists

Thanks for the link.
But its’ works before
In the old (openelec) Kodi 15x configuration i i’ve in playlist three subdirectory mixed, music, video , in OSMC 16x also.

What i’can see is
In Kodi doc the path is /profile/
in osmc the path is/profiles/

Ok, let us first try to avoid confusion: Kodi is a media center application and OSMC is the operating system that runs Kodi and brings it to your device. Frequently Asked Questions - General - OSMC

And while there are some optimizations being done in OSMC and there is an OSMC skin the underlying Kodi is unchanged.
While it could be possible that the way of Kodi handling the special_protocol from v15 (which you seemed to use on Openelec) and v16 which is now the current version on OSMC.

So have you tried <from>special://profile/playlists/</from> or <from>special://profile/musicplaylists/</from>

I suggest you use the “preformatted text” function on your first entry so that we actually can read what you have entered there.
I guess you might have closed the </pathsubstitute> twice.

The pathsubstitue syntax is ok. No error in the log.
I try your path suggestion , it’s not work also.
Perhaps it’s because i use not the Masterprofil. I take a (or more) look(s), and post later.
Thanks
Michael

You will not get an error but if you have two pathsubstition sections only one will work.
As mentioned just use the preformatted button on your first post and we can better help you.

You are right, and I … I’m sorry…
It’s not works, some new nfs “getdirectory” messages.

13:36:04 T:3031228416 ERROR: GetDirectory - Error getting musicdb://playlists/ 13:36:04 T:3031228416 ERROR: CGUIMediaWindow::GetDirectory(musicdb://playlists/) failed 13:36:10 T:2775139312 ERROR: Failed to open(//music) opendir call failed with "NFS: Lookup of /music fail$ 13:36:10 T:2775139312 ERROR: GetDirectory - Error getting /home/osmc/.kodi/userdata/profiles/michael/play$ 13:36:10 T:2775139312 ERROR: GetDirectory - Error getting special://profile/playlists/music 13:36:10 T:2775139312 ERROR: Error Getting Directory (special://profile/playlists/music) 13:36:10 T:2775139312 ERROR: Failed to open(//mixed) opendir call failed with "NFS: Lookup of /mixed fail$ 13:36:10 T:2775139312 ERROR: GetDirectory - Error getting /home/osmc/.kodi/userdata/profiles/michael/play$ 13:36:10 T:2775139312 ERROR: GetDirectory - Error getting special://profile/playlists/mixed 13:36:10 T:2775139312 ERROR: Error Getting Directory (special://profile/playlists/mixed) 13:36:10 T:2775139312 ERROR: GetDirectory - Error getting multipath://special%3a%2f%2fprofile%2fplaylists$ 13:36:10 T:2775139312 ERROR: GetDirectory - Error getting special://musicplaylists/ 13:36:10 T:3031228416 ERROR: GetDirectory - Error getting library://music/playlists.xml/ 13:36:10 T:3031228416 ERROR: CGUIMediaWindow::GetDirectory(library://music/playlists.xml/) failed
My NAS are Synology i take a look to the settings.
Thumbnails work’s fine.
Merci
Michael

Good to hear, when you have it finally running maybe post your final substitution config so that people can learn

1 Like

Hear a clean part for path substitution in advancedsettings.xml

<pathsubstitution>
            <substitute>
                    <from>special://masterprofile/Thumbnails/</from>
                    <to>nfs://192.168.1.86/volume1/Kodi-thumbs/</to>
            </substitute>
            <substitute>
                    <from>special://masterprofile/playlists/</from>
                    <to>nfs://192.168.1.86/volume1/Kodi-playlists/</to>
            </substitute>
            <substitute>
                    <from>special://profile/playlists/</from>
                    <to>nfs://192.168.1.86/volume1/Kodi-playlists/</to>
            </substitute>
    </pathsubstitution>

It’s work (for me) for Masteruser and another userprofile.
Thanks fzinken, and sorry to bother you for my copy/past errors.
IT do what you write (or copy), and not what you thinks.
Merci
Michael

1 Like