Posts: 2,838
Joined: Dec 2006
Reputation:
2
No errors, but it didn't cache anything. I'd assume that all files are considered cached already. "C" works but "c" doesn't cache anything.
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 2,838
Joined: Dec 2006
Reputation:
2
Thanks. I understand the difference between c and C. The weird thing is that nothing gets cached with the option "c". However, there is clearly a need for caching on the MrMC/ATV as artwork loads very slowly. When applying the option "C", the caching is happening. But, that's not a sustainable approach.
Where does texturecache draw the information from what needs to be cached?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 2,838
Joined: Dec 2006
Reputation:
2
Thanks. Let me look into this.
I do have one other suspicion besides MrMC potentially being different. I initially had not added a "video library source" and never run "update library" or "scan new content" on the MrMC device. I always do this on one "master device" and MrMC only accesses mysql. Could this be an issue?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
If you're using MySQL then in MrMC you should only need to add sources.xml/passwords.xml, restart Kodi, then cache your artwork - no need to scan or update library.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 2,838
Joined: Dec 2006
Reputation:
2
Can i use the script to wipe the thumbnail folder and delete texture file? i don’t think i can do this on mrmc as i cannot ssh into my apple tv.
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 2,838
Joined: Dec 2006
Reputation:
2
mmh... any other idea how to delete it? it may fill up over time the whole ATV. maybe through file manager in kodi? i know this actually is a mrmc question, but still appreciate your thoughts. thanks!
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
You might be able to do it through the Kodi File Manager if you add an appropriate source, but removing the Textures13.db and Thumbnails from within a running system could be interesting!
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 2,838
Joined: Dec 2006
Reputation:
2
the texture.db shouldn’t be the issue. it’s a small file. the thumbnail folder is huge. let me try whether i can delete folders. i’ve done this before on LE via SSH and was not an issue.
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 2,838
Joined: Dec 2006
Reputation:
2
I haven't deleted any of the folders yet, but this is really weird. I looked again in the command prompst for c and C and also ran nc.
nc and c confirm that there is the need to cache artwork. It lists hundreds missing and need to cache. It then actually starts caching and does not give an error message. However, caching is very quick and no actual caching happens. See one line of an example below. It's done after 1-2 minutes with 16,000 artworks. While I wish that I had such fast Internet connection, this is not the case and nothing is being cached. For whatever reasons, C works, but c does not. nc lists all missing artwork.
Caching artwork: 14017 items remaining of 16193 (qs: 0, qm: 14010), 0 errors, 2 threads active (71.80 downloads per second, ETA: 00:02:22).
Any thoughts? Is there an error log I can consult?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
You can enable texturecache.py logging by adding @logfile=tc.log - run "c" for a small selection of movies that have artwork which needs to be cached then upload the log somewhere and I'll take a look. The actual downloading and caching is performed by Kodi so enabling debug logging in Kodi might reveal what Kodi is doing, but it sounds like Kodi is not actually downloading (and therefore caching) the artwork it is being asked to download, which is odd.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 2,838
Joined: Dec 2006
Reputation:
2
Will try tonight. Thanks. It may be that MrMC changed something that broke this functionality. The weird thing is that C appears to work (at least it is taking forever), so - if something is broken - it is specific to c.
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi