I recently reinstall my mediacenter (I get a Pi 4 to replace my old Pi 3).
I have forget to save my movies lib and just get it from scratch.
When I try to scrap all of it, it works perfectly except for some movies (maybe half of the lib, maybe more, hundreds of it as a minimum). For this movies I get all the informations except the movie poster. In this case Osmc displays only a miniature from the movie and when I update manually the informations, I get the poster.
How can I update the posters of all the lib, it will be very painfull to do it one by one…
NB : I have already try to delete the lib and charge it again, it does not work.
there is a very handy script texturecache.py which was created just for that:
Using it with the “c” option should fetch all your missing artwork.
Besides that I can do so many things that I have it on every kodi box by now. (e.g. force library updates or search movie details from console, clean entries in the database that the Kodi-internal function misses or even be used as a remote control via ssh)
Thank you, I tried the texturecache.py script, it runs and download many things but nothing change even if I reboot OSMC or update the lib. I always have many movies whithout posters
I suspect that you have nfo files sitting next to these movies and they contain dead links for the artwork. If you open the information window on one of the movies and click refresh and it asks you if you want to ignore local files and depending on this choice the poster shows up or not then this is for sure your problem. If this is the case then the least painful way to deal with it would be to just remove the nfo files, go to your source in videos>files, context menu, change content, set it as none, ok, select yes to remove the items from the library, then context menu again and set content, and then reconfigure your scraper and then update your library. In this way all items should then scrape directly from the internet.
No. You can tell Kodi to ignore them when you refresh individual shows, episodes, or movies, but not in the way you want. If you just want to remove all of the nfo files it shouldn’t be painful at all though. Where are your movies stored? If they are directly attached and you ssh in then you can just do something like “sudo rm- r /media/mydrive/movies/*.nfo” (obviously being very cautious that you get that command formed correctly so you don’t delete things you don’t want to be deleting) or if your in Windows, or browsing a drive connected to your RPi over the network you can just use the search function in Windows Explorer searching that location for “*.nfo” and once the search finishes click on one of the results then ctrl+a then hit the delete key.
Thank you
I know regex and rm command. I don’t like to delete nfos but I will try with one movie and if it works I will apply the fix at all the lib. I keep you informed.