2014-08-01, 15:40
Can you post complete log and what you're trying to run?
(2014-08-01, 15:44)uNiversal Wrote: @Milhouse
The user nistsio is reporting issues with duplicates, I suggested he uses script form clenaing up and sorting his library http://forum.xbmc.org/showthread.php?tid=200919 so these errors are unrelated to his reported issue of dupes, since nistsio is also new user personally Ill give him some latitude which I think he may overcome when gets more familiar with XBMC and other tools, though not reading/undertsanding things seems to be in the way.
./texturecache.py Xd
./texturecache.py R
./texturecache.py P
./texturecache.py duplicates
OpenELEC:~ # ./texturecache.py s Cure
Matching row ids:
OpenELEC:~ # ./texturecache.py s Adele
008631|3/3cf61b3c.jpg|0720|0720|0004|2014-08-04 18:04:54| |http://assets.fanart.tv/fanart/music/cc2c9c3c-b7bc-4b8b-84d8-4fbd8779e493/artistthumb/adele-4fb28f0853f8d.jpg
008632|f/f454c288.jpg|1080|1920|0003|2014-08-04 18:04:54| |http://assets.fanart.tv/fanart/music/cc2c9c3c-b7bc-4b8b-84d8-4fbd8779e493/artistbackground/adele-4dc840394f5f4.jpg
Matching row ids: 8631 8632
(2014-08-04, 20:53)Milhouse Wrote: Hard to say without knowing what artwork urls (if any) have been scraped for The Cure in your media library.
Try "./texturecache.py jd artists cure" to see what thumbnail and/or fanart urls have been scraped for this artist, then you should be able to search the cache using the correct substring(s).
OpenELEC:~ # ./texturecache.py jd artists cure
[
{
"artist": "The Cure",
"artistid": 668,
"fanart": "",
"label": "The Cure",
"thumbnail": ""
}
]
Quote:Chances are this artist may not have any associated artwork, or there may be a problem accessing this artwork (upload a logfile: ./texturecache.py c artists cure @logfile=/tmp/tc.log).
OpenELEC:~ # ./texturecache.py c artists cure @logfile=/tmp/tc.log
Cache pre-load activity summary for "artists", filtered by "cure":
| fanart | thumbnail | TOTAL
--------------+-------------+-------------+-------------
Cached | - | - | 0
Deleted | - | - | 0
Duplicate | - | - | 0
Error | - | - | 0
Ignored | - | - | 0
Skipped | - | - | 0
Undefined | 1 | 1 | 2
========================================================
TOTAL | 1 | 1 | 2
Loading: 00:00:00.05
Parsing: 00:00:00.00
Comparing: 00:00:00.00
TOTAL RUNTIME: 00:00:00.05
Quote:However if the artwork is embedded (image urls start with music://), then texturecache.py can't pre-load the cache with this artwork - you need to browse the GUI for this artwork to be extracted and cached.I don't think it's embedded.
(2014-08-04, 21:06)Milhouse Wrote: You don't have any artwork for this artist, it's a scraper or tagging problem.
(2014-08-04, 21:07)puntloos Wrote: Can you be a bit more specific? The tags are good as far as I know, very clean, many fields filled. How do I check if/when/how the scraper failed?
[edit]Or even more specifically: Im pretty much positive the files are tagged very properly, so why is The Cure data not fetched? It's a very very popular band so certainly the art will be available[/edit]
(2014-08-04, 21:39)Milhouse Wrote:(2014-08-04, 21:07)puntloos Wrote: Can you be a bit more specific? The tags are good as far as I know, very clean, many fields filled. How do I check if/when/how the scraper failed?
[edit]Or even more specifically: Im pretty much positive the files are tagged very properly, so why is The Cure data not fetched? It's a very very popular band so certainly the art will be available[/edit]
I think you may be confused about the purpose of texturecache.py.
texturecache.py will pre-load your texture cache using the artwork urls that are present in your media library (it will also allow you to view the contents of your media library, which is handy for diagnosing problems).
It is the job of a scraper (eg. Universal Album Scraper, Universal Artist Scraper, maybe others) to create the relevant music metadata (ie. song, album and artists entries) in your media library and to also assign appropriate artwork urls.
In your case, although the artists have been created, the scraper has failed to find any artwork (local or remote) so the fanart and thumbnail urls are empty for some of your artists. As such, this script - texturecache.py - has no artwork with which to pre-load the texture cache for these artists. It can't pre-load what it doesn't have, and it's not the job of this script to find that missing information (texturecache.py is not a scraper).
What you need to do is ask in the relevant scraper support thread why the scraper is not finding artwork for your artists.