[RELEASE] Texture Cache Maintenance utility
Problem: Certain TV Shows are repeatedly getting merged together after both items are scanned in using texturecache.py.  The first is always joined to the second and no longer has its own database entry.

Background:  Fresh install of Kodi Krypton 17.5, Windows 10, texturecache.py 2.4.4, "Home" TV show, "Jillian Michaels" workout video.
"Home" .nfo file (named tvshow.nfo within the directory the single TV show is in) - https://pastebin.com/raw/9QHnSfWL
Jillian Michaels .nfo file (named tvshow.nfo within the directory the single TV show is in) - https://pastebin.com/raw/0NqJuR8V

Procedure:
  1. "Set Content" for the documentary TV show "Home".
  2. Scan in media using texturecache.py
    Code:
    texturecache.py vscan "<Path_to_Media>\Home [2009]"
    Quote:Rescanning directory:<Path_to_Media>\Home [2009]...
    Updating library: New tvshowid 1 [Home]
    Updating library: New episodeid 1 [Home S01E01 (Home)]
  3. Scan in artwork using texturecache.py
    Code:
    texturecache.py jd tvshows | tools\mklocal.py --singlefolders --ignorebadprefix --local "<Path_to_Media>\Home [2009]" --prefix "<Path_to_Media>\Home [2009]" --artwork poster fanart clearlogo clearart discart characterart:character banner landscape --season --episode --output | texturecache.py set
    Quote:Progress: 3 of 3
  4. Cache artwork using texturecache.py
  5. Check in Kodi, and "Home" indeed has its very own and separate entry.
  6. "Set Content" for the exercise show "Jillian Michaels - Banish Fat, Boot Metabolism".
  7. Scan in media using texturecache.py
    Code:
    texturecache.py vscan "Path_to_Media\Jillian Michaels - Banish Fat, Boost Metabolism [2009]"
    Quote:Rescanning directory: Path_to_Media\Jillian Michaels - Banish Fat, Boost Metabolism [2009]...
    Updating library: New tvshowid      1 [Jillian Michaels - Banish Fat, Boost Metabolism]
    Updating library: New episodeid     2 [Jillian Michaels - Banish Fat, Boost Metabolism S01E01 (Banish Fat, Boost Metabolism)]
  8. Scan in artwork using texturecache.py
    Code:
    texturecache.py jd tvshows | tools\mklocal.py --singlefolders --ignorebadprefix --local "<Path_to_Media>\Jillian Michaels - Banish Fat, Boost Metabolism [2009]" --prefix "<Path_to_Media>\Jillian Michaels - Banish Fat, Boost Metabolism [2009]" --artwork poster fanart clearlogo clearart discart characterart:character banner landscape --season --episode --output | texturecache.py set
    Quote:Progress: 4 of 4
  9. Cache artwork using texturecache.py
  10. Check in Kodi, and "Home" now shows as an episode in the Jillian Michaels exercise.  Furthermore, "Home" no longer has its own entry in Kodi anymore.
  11. I checked the database using texturecache.py to see what I could.  It seems as if "Home" somehow magically got merged into the Jillian Michaels workout video.
    Code:
    texturecache.py j tvshows Banish
    The output is here - https://pastebin.com/raw/KJuMEWnT

Suggestions: Any ideas what to do next? I'm not sure if this is a bug in texturecache.py or Kodi, or if I am just overlooking something.  Thanks in advance!
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
TV Shows Being Merged That Shouldn't Be - by radigast - 2017-11-12, 12:59
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17