Movie/TV artwork and metadata not showing or incorrect
#1
Hi,

I upgraded Kodi from version 17.4 to 18.5 earlier this year.  Since the upgrade all the artwork/metadata for movies & TV shows have either disappeared or a few have been incorrectly downloaded by Kodi.  Recently I discovered the problem seems to be Kodi somehow has found some local information (which is incorrect, and I don't know where Kodi got it from) and hence does not automatically refresh the artwork/metadata from the Internet.  I can fix this by individually going into each movie, manually force a refresh from the Internet so that the correct artwork/metadata is downloaded from the Internet.  The problem is that I have hundreds of movies and this manual method will take a long time to complete.  Is there a way to automatically force Kodi to refresh all the artwork/metadata from the Internet for all movies & TV shows?  I have tried Update Library but this does not work.

Thanks.
Reply
#2
Texture_Cache_Maintenance_utility (wiki)
Reply
#3
(2020-04-14, 20:42)DaVu Wrote: Texture_Cache_Maintenance_utility (wiki)

Thanks DaVu for the quick reply.
I played around with the script but wasn't sure what I was doing.  For example, I tried the script with a few options on a movie called "Stockholm", which currently there is no artwork/metadata displayed for this movie in Kodi.  I have copied & pasted the commands & the output as follows.  Are you able to advise further?

[~] # ./texturecache.py s "Stockholm"
Matching row ids:        
[~] # ./texturecache.py c "Stockholm"
Traceback (most recent call last):
  File "./texturecache.py", line 8660, in <module>
    main(sys.argv[1:])
  File "./texturecache.py", line 8350, in main
    if not checkConfig(argv[0]): sys.exit(2)
  File "./texturecache.py", line 7890, in checkConfig
    data = wcomms.sendJSON(REQUEST, "libPing", checkResult=False, useWebServer=True)
  File "./texturecache.py", line 2227, in sendJSON
    return self.sendWeb("POST", "/jsonrpc", id, request, {"Content-Type": "application/json"}, timeout=timeout)
  File "./texturecache.py", line 2214, in sendWeb
    return json.loads(data) if data != "" else ""
  File "/root/daily_build/64_40/4.4.2/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/json/__init__.py", line 338, in loads
  File "/root/daily_build/64_40/4.4.2/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/json/decoder.py", line 365, in decode
  File "/root/daily_build/64_40/4.4.2/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/json/decoder.py", line 383, in raw_decode
ValueError: No JSON object could be decoded
[~] # ./texturecache.py C "Stockholm"
Traceback (most recent call last):
  File "./texturecache.py", line 8660, in <module>
    main(sys.argv[1:])
  File "./texturecache.py", line 8350, in main
    if not checkConfig(argv[0]): sys.exit(2)
  File "./texturecache.py", line 7890, in checkConfig
    data = wcomms.sendJSON(REQUEST, "libPing", checkResult=False, useWebServer=True)
  File "./texturecache.py", line 2227, in sendJSON
    return self.sendWeb("POST", "/jsonrpc", id, request, {"Content-Type": "application/json"}, timeout=timeout)
  File "./texturecache.py", line 2214, in sendWeb
    return json.loads(data) if data != "" else ""
  File "/root/daily_build/64_40/4.4.2/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/json/__init__.py", line 338, in loads
  File "/root/daily_build/64_40/4.4.2/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/json/decoder.py", line 365, in decode
  File "/root/daily_build/64_40/4.4.2/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/json/decoder.py", line 383, in raw_decode
ValueError: No JSON object could be decoded

Thanks.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Movie/TV artwork and metadata not showing or incorrect00
This forum uses Lukasz Tkacz MyBB addons.