Path Substitution
#1
Hi all,
I have multiple instances of Kodi setup in my apartment using a mySQL DB to syncronise the DB.
Overall this works great but I now have one of the drives on my desktop that I am saving files (TV Series) to.

I have shared this drive so it is accessible over the network as well but for my PC (Where I usually add the files) the path is:
f:\VIDEO\TV Series\<Name of the Series>\<Episode>

For the other devices around the apartment the path would be more like:

smb://192.168.0.108/f/VIDEO/TV Series/

Inside of 'AdvancedSettings.xml' on the other devices I have added:

<pathsubstitution>
<substitute>
<from>F:\VIDEO</from>
<to>SMB://192.168.0.108/f/VIDEO</to>
</substitute>
</pathsubstitution>

Whenever I try to play one of these files however that is on the drive plugged into the PC it always just pops up instantly and tells me that the file is no longer accessible and do I wish to remove it from the library.

Any suggestions on what I'm doing wrong and how to fix it?

Thanks
Reply
#2
If you add SMB://192.168.0.108/f/VIDEO as a source in videos can you browse the folder contents and play in file mode?
Reply
#3
Yeah, if I add then browse to the directory it works fine from files mode.
Reply
#4
shouldn't it be
SMB://192.168.0.108/f/VIDEO/TV Series/

Anyway, grab a debug log of you trying to play a show from the library that doesn't connect.

Also, the easiest thing to do is to add the smb source, even if it is local to that machine.
Reply

Logout Mark Read Team Forum Stats Members Help
Path Substitution0