[RELEASE] Texture Cache Maintenance utility
Hi Milhouse... Bangin' my Head on Banners here tonight Tongue

My guinea pig for this exercise is a movie ("Enron - The Smartest Guys in the Room (2005) [DVDRip].mkv").

Tonight I renamed the movie file, to add the DVDRip flag (the home-made banner initially displaying properly). Next I tried to play it from the MOVIES list, and the system gave the expected "no file found" error. Standard procedure.

I said yes to remove it from the library, and immediately re-scanned my MOVIES collection. When it came back, the movie played OK, but a text label showed instead of the banner.

So I checked with this:
Code:
./texturecache.py jd movies enron
[
  {
    "art": {
      "fanart": "image://http://image.tmdb.org/t/p/original/jkpTcreM7YOUF4RaDTgTAy9aMJZ.jpg/",
      "poster": "image://http://image.tmdb.org/t/p/original/d1oHF7nFAxC6X5ZNRn1SCSTJYDW.jpg/"
    },
    "file": "smb://FREENAS/media/Movies/Enron - The Smartest Guys in the Room (2005)/Enron - The Smartest Guys in the Room (2005) [DVDRip].mkv",
    "label": "Enron: The Smartest Guys in the Room",
    "movieid": 2209,
    "title": "Enron: The Smartest Guys in the Room"
  }
]
...and no banner file was identified.

Next I manually added it using the "Choose art" dialog, and text was replaced with the image. The script saw it too... (Wink)
Code:
./texturecache.py jd movies enron
[
  {
    "art": {
      "banner": "image://smb://FREENAS/media/Movies/Enron - The Smartest Guys in the Room (2005)/Enron - The Smartest Guys in the Room (2005)-banner.jpg/",
      "fanart": "image://http://image.tmdb.org/t/p/original/jkpTcreM7YOUF4RaDTgTAy9aMJZ.jpg/",
      "poster": "image://http://image.tmdb.org/t/p/original/d1oHF7nFAxC6X5ZNRn1SCSTJYDW.jpg/"
    },
    "file": "smb://FREENAS/media/Movies/Enron - The Smartest Guys in the Room (2005)/Enron - The Smartest Guys in the Room (2005) [DVDRip].mkv",
    "label": "Enron: The Smartest Guys in the Room",
    "movieid": 2209,
    "title": "Enron: The Smartest Guys in the Room"
  }
]
However, checking the database, I get this...
Code:
./texturecache.py s "smb://FREENAS/media/Movies/Enron - The Smartes
t Guys in the Room (2005)/Enron - The Smartest Guys in the Room (2005)-banner.jp
g/"
Matching row ids:
...and no rows have a matching entry.

I can't seem to get the script to cache the specific image into the database & Thumbnail folder... can this even be done ?

Gonna give it (and my sore head) a rest and press on when the sun is up !

Thanks for playing Wink
::  LibreELEC 9.0.0 RELEASE - Generic x86_64  ::  Intel 847 NUC  ::  KVR1333D3S9/4G  ::  Kingston SMS200S3/30G mSATA  ::  MS 1044 MCE keyboard  ::  GP-IR02BK remote  ::  Xonfluence  ::  10.9TiB on FreeNAS v11.1-U7 (RAID-Z2)  ::
Reply
 
Thread Rating:
  • 17 Vote(s) - 4.76 Average


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by gjwAudio - 2016-01-19, 11:39
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 utility4.7617
This forum uses Lukasz Tkacz MyBB addons.