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)



- Martijn - 2011-08-25

Just to let you know:
No problems so far with the git version Laugh


- im85288 - 2011-08-26

Does anyone recognise the following errors? I am attempting for the first time to get this to run on the latest nightly for osx with the aeon mq 3 skin. First problem I had was with the missing library PLI, for which I followed Gifties instructions to fix (by taking it from the dharma version(. However now when it attempts to build the database I get:


19:27:40 T:2960314368 ERROR: Traceback (most recent call last):
19:27:40 T:2960314368 ERROR: File "/Users/immclaughlin/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/json_utils.py", line 28, in retrieve_json_dict
19:27:40 T:2960314368 ERROR: json_dict = result[items]
19:27:40 T:2960314368 ERROR: TypeError: 'NoneType' object is unsubscriptable
19:27:40 T:2960314368 DEBUG: [json_utils.py] - retrieve_json_dict - Error trying to get json response
19:27:40 T:2960314368 ERROR: Traceback (most recent call last):
19:27:40 T:2960314368 ERROR: File "/Users/immclaughlin/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/gui.py", line 148, in onInit
19:27:40 T:2960314368 ERROR: self.setup_all()
19:27:40 T:2960314368 ERROR: File "/Users/immclaughlin/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/gui.py", line 1032, in setup_all
19:27:40 T:2960314368 ERROR: local_album_count, local_artist_count, local_cdart_count = new_database_setup( self.background )
19:27:40 T:2960314368 ERROR: File "/Users/immclaughlin/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/database.py", line 307, in new_database_setup
19:27:40 T:2960314368 ERROR: local_album_list = get_xbmc_database_info( background )
19:27:40 T:2960314368 ERROR: File "/Users/immclaughlin/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/database.py", line 60, in get_xbmc_database_info
19:27:40 T:2960314368 ERROR: album_list, total = retrieve_album_list()
19:27:40 T:2960314368 ERROR: File "/Users/immclaughlin/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/pre_eden_code.py", line 19, in retrieve_album_list
19:27:40 T:2960314368 ERROR: return json_albums, len(json_albums)
19:27:40 T:2960314368 ERROR: TypeError: object of type 'NoneType' has no len()


- giftie - 2011-08-27

Could you post a full debug log, a section does not provide enough information. Use pastebin to upload log.


- im85288 - 2011-08-27

giftie Wrote:Could you post a full debug log, a section does not provide enough information. Use pastebin to upload log.

Sorry, still learning how to post bugs. Here is a link to the debug log:

http://pastebin.com/f04C8W3b


- giftie - 2011-08-27

No problem... Do you have your music library set up yet?


- im85288 - 2011-08-27

I added a source, called music which points at my music collection. I can browse this source and select the music to play.


- giftie - 2011-08-27

im85288 Wrote:I added a source, called music which points at my music collection. I can browse this source and select the music to play.

I have a feeling that XBMC has not yet built your music library. You'll need to open up the context menu when you have the source highlighted(Guide on most remotes, 'c' if using a keyboard) and select 'Scan item to library'

Once XBMC is finished with build the Music Library, try running the script again, and hopefully it will start building it's database..


- im85288 - 2011-08-27

giftie Wrote:I have a feeling that XBMC has not yet built your music library. You'll need to open up the context menu when you have the source highlighted(Guide on most remotes, 'c' if using a keyboard) and select 'Scan item to library'

Once XBMC is finished with build the Music Library, try running the script again, and hopefully it will start building it's database..

Excellent, that solved the problem. Thank you very much Smile


how to make clear logos - harryremon - 2011-08-27

giftie Wrote:There was a fairly large change in the script and it needs to be tested throughly before it is posted to the repo. There is a link to the development version on the first page of this thread.
thanks, I downloaded it and it works great, but may I ask how to use the artist clearlogos, does it require a specific skin or something.


- Martijn - 2011-08-27

harryremon Wrote:thanks, I downloaded it and it works great, but may I ask how to use the artist clearlogos, does it require a specific skin or something.

It must be supported by the skin. Aeon Nox does this but you have to manually set the path to the same place as cdartmanager. It's in the skin settings "set path to music library"


- harryremon - 2011-08-27

Ok I switched to Aeon Nox, set the path of music library to the same as the add-on, downloaded some clearlogos using the add-on, restarted xbmc, updated the library and still there is nothing showing, only cdart works, but no clearlogos Huh!!!!


- giftie - 2011-08-27

harryremon Wrote:Ok I switched to Aeon Nox, set the path of music library to the same as the add-on, downloaded some clearlogos using the add-on, restarted xbmc, updated the library and still there is nothing showing, only cdart works, but no clearlogos Huh!!!!

What version of Aeon Nox are you using? Also, double check your music path and see if logo.png shows up in the artist level.


- unabatedshagie - 2011-08-29

I tried using this for the first time yesterday but seem to be having a problem with it.

I installed it from the default repo, opened it up.

It scanned all my albums into it's db then when it started scanning for artists it seems to hang.

The first artist that it tried to scan was "Weird" Al Yankovic, I came back 1 1/2 hours later and it hadn't moved from trying to scan him. I had to force quit xbmc in order to use it again as I couldn't get cdart to close.

Any ideas on what the problem could be?


- giftie - 2011-08-30

unabatedshagie Wrote:I tried using this for the first time yesterday but seem to be having a problem with it.

I installed it from the default repo, opened it up.

It scanned all my albums into it's db then when it started scanning for artists it seems to hang.

The first artist that it tried to scan was "Weird" Al Yankovic, I came back 1 1/2 hours later and it hadn't moved from trying to scan him. I had to force quit xbmc in order to use it again as I couldn't get cdart to close.

Any ideas on what the problem could be?

The one on the repo is an older version(I did come across that error before).

I just request that the current version(old repo version 1.2.9, new version 1.5.0) be added to the Official repo, Hopefully I didn't mess up the request and it will be processed soon.

There have been a lot of changes.


- unabatedshagie - 2011-08-30

giftie Wrote:The one on the repo is an older version(I did come across that error before).

I just request that the current version(old repo version 1.2.9, new version 1.5.0) be added to the Official repo, Hopefully I didn't mess up the request and it will be processed soon.

There have been a lot of changes.

Ah, cool. Thanks.