Favourites.xml doesnt refresh automatically - 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: Favourites.xml doesnt refresh automatically (/showthread.php?tid=338465) |
Favourites.xml doesnt refresh automatically - JimmySmith2 - 2018-12-17 Hello, Had 16.1, favourites on network share. Kodi is mounting cifs after 30secs (due to booting, network, mysql..) and loads favourites from network (the same favourites for all clients). Works great on 16.1. Now I am trying leia, also Confluence, but favourites seems to not refresh after change (ie. it doesnt shows anything because Kodi boots later). I also need automatic refresh as before, because my clients are 24/7, so they dont rebooting -> they never get updates from favourites?? RE: Favourites.xml doesnt refresh automatically - trogggy - 2018-12-17 It's by design. https://github.com/xbmc/xbmc/pull/11967 https://forum.kodi.tv/showthread.php?tid=313569 https://trac.kodi.tv/ticket/17478#ticket RE: Favourites.xml doesnt refresh automatically - JimmySmith2 - 2018-12-17 Ah, thank you, my searching wasnt good Thats basically turns away any attempts to sharing Data among clients to different rooms from central point. Is there at least option to trigger refresh? Trough JSON, addon, anything? I see that even profile change was "hacked" but at hope dies last... RE: Favourites.xml doesnt refresh automatically - trogggy - 2018-12-17 Not that I'm aware of. I have a similar issue with leia, I get around it by running: Quote: xbmc.executebuiltin("System.LogOff")to refresh. It's far from ideal though. RE: Favourites.xml doesnt refresh automatically - JimmySmith2 - 2018-12-17 ah Thanks for the tip. I am not familiar with buildins, could this be executed from the OS, or this needs to be implemented in skin? I tried to fix Confluence as I get used to, (copy the original Confluence skin to the addons folder, with different name="Confluence (Edit)" within addon.xml ), but for some reason, I cant see that skin Thus I cant do any skin modification so far
RE: Favourites.xml doesnt refresh automatically - trogggy - 2018-12-17 That's a python script (or part of one). You could run it from a favourite / skin shortcut / remote button/ keyboard key. Or for automatic refreshing I guess you could write a kodi service addon to look for an updated favourites file. Wrt confluence this should work:
RE: Favourites.xml doesnt refresh automatically - JimmySmith2 - 2018-12-17 Thank you very much! Will try to fight this a little to have at least something.. I hope this will be considered until final Leia would be out. RE: Favourites.xml doesnt refresh automatically - JimmySmith2 - 2018-12-19 I also commented bug on trac. So far, only thing I can do seems to be map this <select>RunScript(special://masterprofile/refresh_fav.py)</select> to the key for every client with python Code: import xbmc Lets hope developers hear us and make some function to "Refresh favourite service", which we could call before ActivateWindow(Favourites). How they can call this an improvement on Github |