Kodi Community Forum
Solved path substition for media folder - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Solved path substition for media folder (/showthread.php?tid=352480)



path substition for media folder - narf! - 2020-03-12

Hi,
on my 1st client (osmc, NFS mount) and on my server path to files is
Code:
/mnt/user/videos/
on libreelec (can't mount in "/mnt/...") files are mounted to
Code:
/storage/videos/

scraping happens on my osmc-client, so according to my central database files are in /mnt/user...
how can i tell libreelec to look in /storage... ?

i thought path substitution would be the solution, but apparently this is not working:
Code:
<pathsubstitution>
  <substitute>
    <from>/mnt/user/videos/</from>
    <to>/storage/videos/</to>
  </substitute>
</pathsubstitution>

EDIT: had one path wrong, obviously this works as intended...

narf!