sources.xml substitute - 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: sources.xml substitute (/showthread.php?tid=337043) Pages:
1
2
|
RE: sources.xml substitute - trogggy - 2019-01-21 (2019-01-21, 16:44)robvh Wrote: kodi.log illustrates why path substitution won't work for sources.xml. MessageGood spot. It was the other way round in krypton. Maybe there's a reason. RE: sources.xml substitute - nonob - 2019-02-18 Hi, Does someone found an alternative to sources.xml path substitution ? I liked it. Yes i don't change sources every day but when i did it, i hadn't to worry about copy the file to my client. Thanks RE: sources.xml substitute - Googlhupf - 2019-03-19 Dear developers, what led to this feature to be broken and why won't it be fixed? I've been using path substitution for years now and it's an integral part of my setup across 4 different KODI installations on my network. Greetings Googlhupf RE: sources.xml substitute - Klojum - 2019-03-19 (2019-03-19, 22:29)Googlhupf Wrote: what led to this feature to be broken AFAIK, it's mostly network shares like Samba that now with SMBv2 require authentication. Plenty of people report path substitution to still work, so it's a case of 'YMMV'. Perhaps NFS is easier on your path substitutions than SMB is. (2019-03-19, 22:29)Googlhupf Wrote: why won't it be fixed?A simple case of lack of skilled developers & time plus other priorities. RE: sources.xml substitute - Googlhupf - 2019-03-20 (2019-03-19, 22:35)Klojum Wrote:(2019-03-19, 22:29)Googlhupf Wrote: what led to this feature to be broken Thank you! Googlhupf RE: sources.xml substitute - nonob - 2019-03-20 Thanks for the reply. I hope there will be one day a fix or an alternative RE: sources.xml substitute - trogggy - 2019-03-20 (2019-03-19, 22:35)Klojum Wrote:I'm not sure that's true any more (I was someone who reported it still working, post #2 in this thread).(2019-03-19, 22:29)Googlhupf Wrote: what led to this feature to be broken Just tried with a simple sub and no joy: Quote:<advancedsettings>Looking in the log the reason is that sources.xml is now loaded before advancedsettings.xml, so any pathsub is read too late. Maybe there's a good reason for that, more likely an oversight but if noone's interested in looking at it the result is the same. favourites.xml substitute - marcos100 - 2023-10-23 Hi guys, i'm syncronizing all my Kodi Clients by DB on my Nas Qnap. All its perfect. State of resume, library video, covers etc... So advancedsettings.xml it's perfect, and i copy this in all my devices android. I have problem on others files xml (favourites, password, source etc...) I follow this guide : https://kodi.wiki/view/MySQL/Sync_other_parts_of_Kodi For example favourites.xml <substitute> <from>special://profile/favourites.xml</from> <to>PROTOCOL://YOUR_NETWORK_SHARE/kodi/userdata/favourites.xml</to> </substitute> in my case i must put file favourites.xml on every clients (not on nas, yes?) so composed : <substitute> <from>special://C:\Users\PC Downloads\AppData\Roaming\Kodi\userdata/favourites.xml</from> <to>nfs://markonas/films/favourites.xml</to> </substitute> and for example on android: <substitute> <from>special://Android\data\org.xmbc.kodi\files\.kodi\userdata/favourites.xml</from> <to>nfs://markonas/films/favourites.xml</to> </substitute> Sorry i'm confused. advancedsettings.xml it's easy, copy same file in every client, but others xmls? how to do? RE: sources.xml substitute - nonob - 2023-10-24 Hi, For my favourite file, I choosed a shared location on my main Windows PC (192.168.1.2), then I have only these lines on my advancedsettings file copied on this main PC and all my clients (Windows and Linux LibreElec) : Code: <pathsubstitution> I think that your problem, unless I'm mistaken, comes from the fact that you manually indicate the path to your userdata while the path special://profile/ is already used to do that automatically (from what I understand). So I think your code should be: Code: <pathsubstitution> |