zc4yes
28 November 2021 12:26
1
I am getting desperate here
my via advancedsettings.xml set pathsubstitution does not want to work.
<advancedsettings version="1.0">
<pathsubstitution>
<substitute>
<from>/storage/.kodi/userdata/epggrab</from>
<to>nfs://192.168.xx.xx/recordings/epggrab/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
I also tried to specify the path with special://masterprofile/userdata/epggrab, unfortunately unsuccessfully.
Would be nice if someone could tell me what is going wrong.
zc4yes
29 November 2021 06:47
3
@Betatester first of all thank you for your answer.
I already know the two links, unfortunately they could not help me.
Can someone confirm that pathsubstitution works with CoreELEC in principle or if there is a bug?
Maybe pathsubstitution needs the /etc/fstab, then this does not work with CoreELEC.
If possible, please move to the appropriate forum.
vpeter
29 November 2021 07:26
4
This thing has nothing in particular with CoreELEC. And I’m sure it is working for others.
Why not posting Kodi debug log - maybe there is some clue. I see you have / at the end of to: try without.
zc4yes
29 November 2021 08:50
5
if that is so, it would be nice if someone reports with the pathsubstitution works.
Have various combinations with and without slash / through, all unsuccessful.
My workaround is now the systemd solution, but I would rather solve this with the advancedsettings.
here the desired log:
https://paste.dismail.de/?69122ebff3d13dee#33FJLV5mzayQksvU3fwweFwZFh8NcgM4BN8JDjr5MFTc
zc4yes
29 November 2021 11:27
7
What is it then?
Please tell someone who doesn’t know what the debug log is, how I create one and where I can find it.
vpeter
29 November 2021 11:37
8
https://kodi.wiki/view/Log_file/Easy
Enable Debug Mode by using one of the following methods:
zc4yes
29 November 2021 12:27
9
vpeter
29 November 2021 14:27
10
And who exactly is using this epggrab folder? tvheadend? Is it possible to use pathsubstition with addons?
Again, it’s a Kodi issue (read section 3 of the corresponding article in the Kodi wiki):
3 Special notes about path substitution for userdata files
Path substitution is not officially supported for settings files. It probably won’t hurt anything, but some things might not always work right depending on what you are substituting.
https://kodi.wiki/view/Path_substitution
vpeter
30 November 2021 07:16
12
Why not just mount NFS share on /storage/.kodi/userdata/epggrab ? From autostart.sh or special systemd script?
I think what you are trying to do with path substitution can’t work.
vpeter
30 November 2021 16:13
14
I think you want something not even possible. This folder you are trying to substitute is not something Kodi related.
system
Closed
14 December 2021 17:33
16
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.