Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
Lol you cant count
Posts: 7
Joined: Feb 2015
Reputation:
0
Hah!
I didn't know it was configured to run from a central source to the other installations... I will look into that.
And, I didn't mean to imply you didn't do a great thing here. I am implying that it is amazing that this has been overlooked by the developers so long.
Posts: 7
Joined: Feb 2015
Reputation:
0
Ok, ran it one both the FireTV stick and on one of my HTPC setups...
First thing, it won't support more than 2 threads on windows Kodi, it causes the app to crash if you specify more than two. Second I had it basically cause that HTPC to actually shut down (ie, call windows shutdown, even though my Kodi config is to sleep not shutdown) and three it is also causing Kodi to crash again.
I am using Kodi 14.1 for windows.
The FireTV stick installation is actually hung. it was doing Caching artwork and it just hung. Again Kodi 14.1 for FireTV.
Lovely tool if it would actually work...
Posts: 7
Joined: Feb 2015
Reputation:
0
OK, got it to literally hang on both systems at the same point...
Gets to a set of "Caching artwork: 61 items remaining" to start.. Gets down to 0 and hangs.
Yep, consistent on both systems. Let me read through your docs and get a log... again, what a PITA...
Posts: 7
Joined: Feb 2015
Reputation:
0
I did get the FireTV stick working.. I ended up manually refreshing a couple of movies and it went past the point it was "sticking" on...
In the end it looks like something is hosed with some video lookups... When I setup the FireTV stick I did it with empty thumbnail directories and I used Artwork Downloader to scrape everything from scratch...
Well, needless to say there are at least 15-20%, if not more, of the files that have missing artwork. Even if you do a manual "refresh" on the files individually there is still missing artwork so they show up blank... On some of them even if I go in and choose a different poster and such it still doesn't show up.
Don't know what is up, never had this before. I can see nothing for things that have never been in any of the places it scrapes from, but just blanks for plenty that there should be just doesn't make sense. Hell, I can even see needing to manually do ones that are misspelled and stuff, but that is not the case.
Hopefully it is something that will be fixed, since if this stuff is broken long-term it kinda kills a lot of the reason why you use a system like this to collect and categorize media.
Posts: 7
Joined: Feb 2015
Reputation:
0
For the record the FireTV stick continued to work just fine... no crashes
Also I was using a windows PC to run the script against the FireTV... I am doing as little as possible on that device...
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
2015-02-19, 07:31
(This post was last modified: 2015-02-19, 07:33 by Milhouse.)
Just so there is no confusion, you're not trying to share thumbnails using path substitution, are you? That could explain some of your problems.
If there's no path substitution going on, then what errors are you seeing in the kodi log for the artwork that is missing? I'm not sure what you mean by "I can see nothing for things that have never been in any of the places it scrapes from, but just blanks for plenty that there should be".
Bear in mind that the script does no downloading itself - that's all done by Kodi (at the request of the script) so if artwork isn't downloading (and being cached) then it's because Kodi can't access it.
First thing to do would be to confirm you have the correct, accessible URLs in your media library (texturecache.py jd movies <moviename>) - if the artwork is remote (ie. on the internet), use your browser to confirm that the artwork still exists at the specified URL. If it's local, confirm the path is correct and accessible to the Kodi client (and not your Windows PC running the script). If the URL exists/path is correct, then check that kodi doesn't already think it's cached (texturecache.py nc movies <moviename>) should list the URLs that need to be cached - or search the cache with "texturecache.py s <partial-url>".
If your Textures13.db is out of sync with your Thumbnails folder, then you could fix this with "texturecache.py Xd" however this *does* require the script to run directly on the client, unless you can mount the client's Thumbnails folder on the Windows PC that is running the script (specify the path to userdata with the @userdata property).
Since you say your system is comprised mostly of Windows clients, ensure you have scraped your library using local drives (C:\, D:\, Z:\ etc.) as the FireTV will not be able to access these - use smb:// instead.
Other than that, avoid using remote artwork, it's going to cause a lot of problems with 17 systems. You can use mklocal.py to convert remote artwork to local, or use mklocal.py to load your media library with local artwork (search thread for more details).
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: 3
Joined: Feb 2015
Reputation:
0
2015-02-19, 16:02
(This post was last modified: 2015-02-19, 16:11 by Computer Joe.)
Is there somewhere I can find a NOOB version set of instructions on how to download and run mklocal.py?
Please forgive me if this is a really stupid question, but I have been trying to figure this out for myself for a couple of days now and had made zero progress.
I have very little experience with linux.
I downloaded mklocal using the curl command using the same syntax used to download texturecache.py but when enter "./mklocal.py --help" I always get the following message: "./mklocal.py: line 4: syntax error: unexpected newline
"
I accidentally deleted all the clearlogo artwork from my media folders but the links to the files still exist in the MySQL database which I am assuming is preventing Kodi from re-downloading the missing artwork. From what I have been able to interpret I think that the mklocal.py script can help me resolve this problem.
Thanks in advance.
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
I noticed that when initiating a scan via script, that the Recently added Videos Widgets or whatever they called in confluence home menu, dont get updated to reflect the recently added anymore.
This is with a spanking fresh 14.04lts install on a nightly compile. Have you noticed anything like this?