Kodi Community Forum
Refresh all items in Video Library? - 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: Refresh all items in Video Library? (/showthread.php?tid=362268)



Refresh all items in Video Library? - wallacebw - 2021-04-26

Quick Question (sorry if answered, a quick search turned up nothing):

I use an external media manager (TinyMediaManager) and have video library set to use local NFO only.    

Is there a good way (from kodi) to refresh / rescan the media folders that updates items ALREADY in the library with new info in the NFO or newly added artwork?  (I'm ok with running texturecache.py as a subsequent step).  Alternatively, it there a command I can run to empty the database of all entries that would be repopulated on a library clean / update?

I didn't see anything in the API (did I miss something?):   https://kodi.wiki/view/JSON-RPC_API/v10#VideoLibrary.RefreshMovie

Is there a 'safe' set of SQL commands I can run via ssh to clear the DB without resetting the scraper on the defined paths?  UGLY solution

As a last resort, I'm considering setting up a symlink to my media (to be used by kodi) which I can delete, clean DB, recreate symlink, rescan... but that seems like a little too much duct tape and bubblegum... Also UglySmile

Any thoughts?

Thanks.


RE: Refresh all items in Video Library? - Klojum - 2021-04-26

(2021-04-26, 02:53)wallacebw Wrote: that updates items ALREADY in the library with new info in the NFO or newly added artwork? 

Nope, not really. What sort of 'new info' are you hoping for when updating items?


RE: Refresh all items in Video Library? - wallacebw - 2021-04-26

Mostly new artwork, IMDB ratings, watched status, resume point etc.      I get some of this with trakt, but occasionally have to manually 'refresh' things.

It may be a fringe case that is not worth programming, but it would be great to offer an option to rescan an item if the NFO file is newer than the date of the item import during library update.   

Thanks.


RE: Refresh all items in Video Library? - Karellen - 2021-04-26

(2021-04-26, 19:33)wallacebw Wrote: rescan an item if the NFO file is newer than the date of the item import during library update.   
Import / scan date is not tracked.