Kodi Community Forum
[RELEASE] cdART Manager Script - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] cdART Manager Script (/showthread.php?tid=77031)



RE: [RELEASE] cdART Manager Script - giftie - 2013-02-10

(2013-02-08, 23:17)gotoman00 Wrote: hey giftie so i got that scan problem sorted out after deleting the addon-data folder and refreshing, however i noticed an odd quirk where any albums that the album artist is various artists it seems to be pulling all the various-artists extra fanarts in each individual artist's folder for the album. seems redundant and it's not really aesthetically pleasing to see various artists fanarts for individual artists

If you have the setting 'Add all artists to Database during Database Build or update' turned on, it will also have the compilation artists added. But what it seems like what is happening on your side is much different.. Can you delete a couple of the offending artist's extrafantart folders then do an Automatic download(while in debug mode) then post your debug log.

thanks


RE: [RELEASE] cdART Manager Script - coopsta133 - 2013-02-10

It sounds exactly the same issue the other guy was having. Only a few artists were 'green' and only those would download automatically. I can manually do them , but its not worth it. I'll just uninstall cdart until its fixed. No problem. Log would take too long and would be too big.


Re: RE: [RELEASE] cdART Manager Script - giftie - 2013-02-10

(2013-02-10, 03:09)coopsta133 Wrote: It sounds exactly the same issue the other guy was having. Only a few artists were 'green' and only those would download automatically. I can manually do them , but its not worth it. I'll just uninstall cdart until its fixed. No problem. Log would take too long and would be too big.

How do expect it to get fixed with no log being provided? The script works perfectly on my two systems(same music share, a linux and a windows xp system)


RE: [RELEASE] cdART Manager Script - coopsta133 - 2013-02-10

(2013-02-10, 03:44)giftie Wrote:
(2013-02-10, 03:09)coopsta133 Wrote: It sounds exactly the same issue the other guy was having. Only a few artists were 'green' and only those would download automatically. I can manually do them , but its not worth it. I'll just uninstall cdart until its fixed. No problem. Log would take too long and would be too big.

How do expect it to get fixed with no log being provided? The script works perfectly on my two systems(same music share, a linux and a windows xp system)

No Idea man. I've got a perfectly fresh Frodo install, and within the same day two people are reporting identical errors. Im sure some more will come along shortly with logs.


RE: [RELEASE] cdART Manager Script - Slipass - 2013-02-10

(2013-02-09, 20:15)Govnah Wrote:
(2013-02-04, 17:33)giftie Wrote:
(2013-02-04, 10:26)Slipass Wrote: I have the same problem with xbmc 13.0 alpha 1 and cdartmanager 2.7.9

Seriously?!?!

LOL......

What is the funny thing about that?

The actually nightly from xbmc is the alpha version 13.
Look at the code


RE: [RELEASE] cdART Manager Script - Govnah - 2013-02-10

(2013-02-10, 08:14)Slipass Wrote:
(2013-02-09, 20:15)Govnah Wrote:
(2013-02-04, 17:33)giftie Wrote: Seriously?!?!

LOL......

What is the funny thing about that?

The actually nightly from xbmc is the alpha version 13.
Look at the code


Why would the developer waste his time debugging for an alphaHuh? That is funny and his reply, "Seriously?" LOL


RE: [RELEASE] cdART Manager Script - cbram - 2013-02-11

Hi all,

I am new to cdArt, installed it from the XBMC repo (v3.0) on final raspbmc 1.0 and ran into a problem. The script immediately fails. Any help is highly welcome.

Here is the log

http://xbmclogs.com/show.php?id=34817


RE: [RELEASE] cdART Manager Script - cbram - 2013-02-11

Found the problem. The package python-imaging was missing... :-)


RE: [RELEASE] cdART Manager Script - im85288 - 2013-02-12

(2013-02-10, 03:47)coopsta133 Wrote:
(2013-02-10, 03:44)giftie Wrote:
(2013-02-10, 03:09)coopsta133 Wrote: It sounds exactly the same issue the other guy was having. Only a few artists were 'green' and only those would download automatically. I can manually do them , but its not worth it. I'll just uninstall cdart until its fixed. No problem. Log would take too long and would be too big.

How do expect it to get fixed with no log being provided? The script works perfectly on my two systems(same music share, a linux and a windows xp system)

No Idea man. I've got a perfectly fresh Frodo install, and within the same day two people are reporting identical errors. Im sure some more will come along shortly with logs.

I am having a similar problem where only two of my artists are recognised in the green colour resulting in fanart only being found for those two artists ( cdART manager shows I have about 30 artists in total). I know you wanted a log, hopefully this helps: xbmc.log


RE: [RELEASE] cdART Manager Script - Mickyd - 2013-02-12

Hi Giftie,

quick question, what does red text mean in cover arts? The artist is white, and when selecting manually the covers are displayed but they are red text and I can't download them?


RE: [RELEASE] cdART Manager Script - giftie - 2013-02-12

(2013-02-12, 10:46)Mickyd Wrote: Hi Giftie,

quick question, what does red text mean in cover arts? The artist is white, and when selecting manually the covers are displayed but they are red text and I can't download them?

It represents artwork only found locally. There is a section in the settings called `Custom Label Colors' where you can adjust these colors.


RE: [RELEASE] cdART Manager Script - tesona1977 - 2013-02-12

looks like cdart manager had problem with encoding

after error occured cdart become unresponsable ... cant press cancel anymore

interesting part of debug log:

Quote:18:59:50 T:139641330038528 DEBUG: [cdART Manager] - Retrieving HTML Source
18:59:50 T:139641330038528 DEBUG: [cdART Manager] - Fetching URL: http://musicbrainz.org/ws/2/artist/?query=artist:Al+Green+Ft+Booker+T+n+The+MG%27&limit=1
18:59:50 T:139643234137856 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x7f0120000920
18:59:50 T:139641330038528 DEBUG: [cdART Manager] - HTML Source:
<?xml version="1.0" standalone="yes"?><metadata created="2013-02-12T15:40:28.121Z" xmlns="http://musicbrainz.org/ns/mmd-2.0#" xmlns:ext="http://musicbrainz.org/ns/ext#-2.0"><artist-list count="71964" offset="0"><artist id="377015fb-c02f-4b05-960b-e0df6a7ea99e" type="Group" extConfusedcore="100"><name>Booker T. &amp; The MG’s</name><sort-name>Booker T. &amp; The MG’s</sort-name><country>US</country><life-span><begin>1962</begin><ended>false</ended></life-span><alias-list><alias>Booker T. and The MGs</alias><alias>Booker T and the MGs</alias><alias>Booker T. &amp; The Mgs</alias><alias>Booker T &amp; The MG's</alias><alias>Booker T &amp; The MGs</alias><alias>Booker T and the MG's</alias><alias>Booker T. And The MG's</alias><alias>Booker T. &amp; The M.G.s</alias><alias>Tooker T. &amp; MG's</alias><alias>Booker T &amp; The M.G.'s</alias><alias>Booker T.&amp; the MGs</alias><alias>Brooker T. &amp; the MGs</alias><alias>Booker T and the M.G.'s</alias><alias>Booker T. &amp; the M. G. 's</alias><alias>Booker T. And The M.G.'s</alias><alias>Booket T. &amp; The MG's</alias><alias>Booker T. &amp; The MG's</alias><alias>Booker T &amp; the M.G.s</alias></alias-list><tag-list><tag count="1"><name>rock and indie</name></tag></tag-list></artist></artist-list></metadata>
18:59:50 T:139641330038528 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xe2 in position 7: ordinal not in range(128)
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/script.cdartmanager/resources/lib/gui.py", line 1283, in onClick
update_database( False )
File "/home/xbmc/.xbmc/addons/script.cdartmanager/resources/lib/database.py", line 947, in update_database
updated_artists, canceled = update_missing_artist_mbid( local_artists_unmatched, background = background, mode = "all_artists" )
File "/home/xbmc/.xbmc/addons/script.cdartmanager/resources/lib/database.py", line 832, in update_missing_artist_mbid
name, update_artist["musicbrainz_artistid"], sort_name = get_musicbrainz_artist_id( update_artist["name"] )
File "/home/xbmc/.xbmc/addons/script.cdartmanager/resources/lib/musicbrainz_utils.py", line 277, in get_musicbrainz_artist_id
name = get_unicode( unescape( name_match.group(1) ) )
File "/home/xbmc/.xbmc/addons/script.cdartmanager/resources/lib/utils.py", line 253, in unescape
return re.sub("&#?\w+;", fixup, text)
File "/usr/lib/python2.7/re.py", line 151, in sub
return _compile(pattern, flags).sub(repl, string, count)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 7: ordinal not in range(128)
-->End of Python script error report<--
18:59:51 T:139643234137856 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x7f0120000920
18:59:58 T:139643242530560 DEBUG: Previous line repeats 15 times.
18:59:58 T:139643242530560 DEBUG: ### [Qlock] - Delaying 240 secs
18:59:59 T:139643234137856 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x7f0120000920
19:00:02 T:139643234137856 DEBUG: Previous line repeats 7 times.
19:00:02 T:139643234137856 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetMovies", "params": {"properties": ["title", "playcount", "year", "genre", "studio", "tagline", "plot", "runtime", "file", "plotoutline", "lastplayed", "trailer", "rating", "resume", "art", "streamdetails", "mpaa", "director"], "limits": {"end": 20}, "sort": {"method": "random" }, "filter": {"field": "playcount", "operator": "lessthan", "value": "1"}}}
19:00:02 T:139643234137856 DEBUG: JSONRPC: Calling videolibrary.getmovies
19:00:02 T:139643234137856 DEBUG: RunQuery took 11 ms for 411 items query: select * from movieview WHERE ((movieview.playCount IS NULL OR movieview.playCount < 1))
19:00:02 T:139643234137856 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetEpisodes", "params": { "properties": ["title", "playcount", "season", "episode", "showtitle", "plot", "file", "rating", "resume", "tvshowid", "art", "streamdetails", "firstaired", "runtime"], "limits": {"end": 20}, "sort": {"method": "random" }, "filter": {"field": "playcount", "operator": "lessthan", "value": "1"}}}
19:00:02 T:139643234137856 DEBUG: JSONRPC: Calling videolibrary.getepisodes
19:00:02 T:139643234137856 DEBUG: RunQuery took 9 ms for 435 items query: select * from episodeview WHERE ((episodeview.playCount IS NULL OR episodeview.playCount < 1))
19:00:02 T:139643234137856 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetMusicVideos", "params": {"properties": ["title", "artist", "playcount", "year", "plot", "genre", "runtime", "fanart", "thumbnail", "file", "streamdetails"], "limits": {"end": 20}, "sort": {"method": "random"}}}
19:00:02 T:139643234137856 DEBUG: JSONRPC: Calling videolibrary.getmusicvideos
19:00:02 T:139643234137856 DEBUG: RunQuery took 1 ms for 3 items query: select * from musicvideoview
19:00:02 T:139643234137856 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "AudioLibrary.GetAlbums", "params": {"properties": ["title", "description", "albumlabel", "artist", "genre", "year", "thumbnail", "fanart", "rating", "playcount"], "limits": {"end": 20}, "sort": {"method": "random"}}}
19:00:02 T:139643234137856 DEBUG: JSONRPC: Calling audiolibrary.getalbums
19:00:02 T:139643234137856 DEBUG: GetAlbumsByWhere query: SELECT albumview.* FROM albumview WHERE albumview.strAlbum <> ''
19:00:02 T:139643234137856 DEBUG: GetAlbumsByWhere - query took 37 ms
19:00:02 T:139643234137856 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "AudioLibrary.GetArtists", "params": {"properties": ["genre", "description", "fanart", "thumbnail"], "sort": {"method": "random"}, "limits": {"end": 20}}, "id": 1}
19:00:02 T:139643234137856 DEBUG: JSONRPC: Calling audiolibrary.getartists
19:00:02 T:139643234137856 DEBUG: GetArtistsByWhere query: SELECT artistview.* FROM artistview WHERE (artistview.idArtist IN (SELECT song_artist.idArtist FROM song_artist) OR artistview.idArtist IN (SELECT album_artist.idArtist FROM album_artist)) and artistview.strArtist != '' and artistview.idArtist <> 3
19:00:02 T:139643234137856 DEBUG: Time to retrieve artists from dataset = 72
19:00:02 T:139643234137856 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "id": 1, "method": "AudioLibrary.GetSongs", "params": {"properties": ["title", "playcount", "artist", "album", "year", "file", "thumbnail", "fanart", "rating"], "filter": {"field": "playcount", "operator": "lessthan", "value": "1"}, "limits": {"end": 20}, "sort": {"method": "random"}}}
19:00:02 T:139643234137856 DEBUG: JSONRPC: Calling audiolibrary.getsongs
19:00:02 T:139643234137856 DEBUG: GetSongsByWhere query = SELECT songview.* FROM songview WHERE ((CAST(songview.iTimesPlayed as DECIMAL(5,1)) < 1))
19:00:03 T:139643234137856 DEBUG: GetSongsByWhere() - took 323 ms
19:00:03 T:139643234137856 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Addons.GetAddons", "params": {"properties": ["name", "author", "summary", "version", "fanart", "thumbnail"]}, "id": 1}
19:00:03 T:139643234137856 DEBUG: JSONRPC: Calling addons.getaddons
19:00:03 T:139641936148224 NOTICE: Thread Jobworker start, auto delete: true
19:00:03 T:139643234137856 DEBUG: Skin Widgets: Total time needed to request random queries: 0:00:00.812572
19:00:03 T:139643234137856 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x7f0120000920
19:00:33 T:139641936148224 DEBUG: Previous line repeats 58 times.
19:00:33 T:139641936148224 DEBUG: Thread Jobworker 139641936148224 terminating (autodelete)
19:00:33 T:139643234137856 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x7f0120000920



RE: [RELEASE] cdART Manager Script - boppyman - 2013-02-14

My bad it did it automatically


RE: [RELEASE] cdART Manager Script - ethricsoul - 2013-02-15

Can anyone help me with cdart manager, its giving me hell! Ive probably configed it about as many ways as possible and I cant even get it right accidently right. The only artist images that download come from the artist slideshow, cdart manager seems to only go through the motions because after all the scrapping, downloading and waiting the images that it allegedly fetched are no where to be found no matter what I name or set the path too?

Funny thing is you can see it working but it produces next to nothing. Out of 1440 local cd's it only could produce 2 different artist imagesHuh? Two cd'sHuh On top of that, every attempt to update the addon data base, or refresh it only produces the same 2 artist, as if it hadnt downloaded them already and ignores all the rest of the artist that it scanned during updateHuh? It took me 2 weeks to get it this far( getting it to even run) and it(or me) apparently still has problems.

I have gotten every other addon to run correctly (except for the log uploader which just recently started having problems) tvtunes, facebook, gmail, etc.. but this one seems fatally flawed? I would give up but I drives just as crazy when I go to view my music library and its all blank, when the rest of xbmc shows all my art flawlessly. If someone could advise I be very grateful. I provided a debug xbmclogs, Thanks.

http://www.xbmclogs.com/show.php?id=35631

Cheers,
Ethricsoul


RE: [RELEASE] cdART Manager Script - kirk9225 - 2013-02-15

Hi,

I am having a problem downloading Artist Fanarts. In the bottom left it says i have 901 Local Album Artisits but when i try to automatic download fanarts it only downloads about 5 Artists and then stops. The all Artists option does not work at all.

Here is my Debug Log

http://xbmclogs.com/show.php?id=35654

Thanks