Posts: 238
Joined: Sep 2014
Reputation:
7
Using Ember, to update images, and they write poster / fanart files next to the video file in the correct format.
However, even after using the Ember kodi interface sync, the old images remain.
In the web chorus interface, I see the new ones.
Going to kodi and doing clean library, rescan library, change source type to none and back to movie, going to the movie and doing refresh.... All these have no effect.
Waiting 12 hours and rebooting does the trick, so I guess it's some persistent caching, and I would love to know how to clear the cache.
Various articles have led me to large scale add-ons, and I prefer to avoid add ons if I can to keep it clean and simple (unless that's the only way). However there must be some db table I can clear, or a directory I can clear to flush the image cache?
Thanks! Dave
Kodi Leia on Pi-4 running LibreElec. in production with family, and another one for testing.
Posts: 21,198
Joined: Apr 2017
Reputation:
1,481
Yes, there is a little glitch in when artwork is replaced with another piece of artwork having the same name... eg replace Poster.jpg with Poster.jpg
But it resolves itself after 24 hours. No-one seems to have tracked it down (or had time to track it down)
I know you have figured it out, but more for others that may have the same issue.
Posts: 238
Joined: Sep 2014
Reputation:
7
Well, good news that I'm not going mad. However surprised this doesn't have higher priority. Makes library management quite hard.
If you add local files and scrape, it overrides.
If you at local and say no to ignore local data, you don't get the other meta data.
If you scrape then update, you don't see the changes.
Kodi Leia on Pi-4 running LibreElec. in production with family, and another one for testing.
Posts: 238
Joined: Sep 2014
Reputation:
7
But why doesn't "refresh", or update library from Ember, or update library from Kodi allow this.
The Ember MM seems to write data, which could force a re-caching for that title.
Similarly one ought to be able to do that from somewhere in interface, or CLI.
Otherwise library management becomes very hard indeed.
All I've found so far, is that I can do a hard refresh on the browser, which shows the latest data, however that doesn't update kodi.
Also, doing a remove and re-add source ought to make this happen at least!
Kodi Leia on Pi-4 running LibreElec. in production with family, and another one for testing.
Posts: 238
Joined: Sep 2014
Reputation:
7
So no update on this?
To clarify, the point is, I'm asking why actions like "refresh", update library, change content type, and delete library and rescan - why all of these don't replace images in cache.
I mean, I can totally get that in daily use you don't want to go back to source, and would cache as much as possible, however it's normal to be able to manually flush / reset / update that cache as and when required, even if only for specific items.
Currently the only approach apart from wait 24 hours, is to re-install OS from scratch.
Could I suggest it for a feature or something? that refresh actually does that?
BTW: if you tell it to ignore local content and get it off the internet, then it DOES update the cache, however that's not a useful case.
Kodi Leia on Pi-4 running LibreElec. in production with family, and another one for testing.