Kodi Community Forum

Full Version: [RELEASE] cdART Manager Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2015-12-08, 21:25)AidenL Wrote: [ -> ]I can play music back, so i guess that means I have music there?

Not necessarily - you can play files from a media source even if you haven't "scanned source to library" and then view the music content in library mode
Morning all, ust reinstalled kodi on my Pi2. Last time with Helix the addon available in the repo was not working and I came here for a great manual download that worked. Is the one in the add-on repo still the old broken one?

I see downloads here, just not sure if they are latest beta's/development.

Anyway, appreciate everyone who keeps this working :-)
Yes repo still broken, download the git from Stef.an
Thanks, appreciated!
Make sure you get the "NG" version as the Helix branch doesn't work anymore: https://github.com/stefansielaff/script....er/tree/NG

@AidenL, start here (you don't need a debug log for now, the usual logfile should be sufficient): http://kodi.wiki/view/Log_file
(2015-12-10, 00:31)stef.an Wrote: [ -> ]Make sure you get the "NG" version as the Helix branch doesn't work anymore: https://github.com/stefansielaff/script....er/tree/NG

@AidenL, start here (you don't need a debug log for now, the usual logfile should be sufficient): http://kodi.wiki/view/Log_file

Hi there, I have downloaded your plugin vNG but when i run it all the lists on the left are blank. You can go up and down and select them but there is not font. Do you have any ideas?

Thanks in advance
I scanned in the library, updating database - seems its getting info from Musicbrainz now?

I guess that means its working Smile
Ack, ok, it completed that scan, but now seems frozen.

I better figure out how to post logs up later......
(2015-12-11, 09:48)AidenL Wrote: [ -> ]Ack, ok, it completed that scan, but now seems frozen.

I better figure out how to post logs up later......

debug logs (wiki)
Ive got the latest NG plugin installed, on first run it says 22 albums are missing MusicBrainz ID would you like to scan. If i click yes it just freezes. Any ideas?
(2015-12-11, 23:48)tdbegley Wrote: [ -> ]Ive got the latest NG plugin installed, on first run it says 22 albums are missing MusicBrainz ID would you like to scan. If i click yes it just freezes. Any ideas?

Ummm, you didn't install the "dev" branch, did you?
Do not install the "dev" branch. I repeat - do not install the "dev" branch, it's for "internal" use only and doesn't work (or could seriously damage things). It's just used for code manageement and... development.

If that's the problem please uninstall it and download the version in the links mentioned above.
Hi stef.an,
is there any step ahead in script development? Up to now, with the last version of the script (12/11/2015 available on your github) I have problems in using the automatic download of album arts. Do you have in mind when an updated script version can be released.

Thanks
Hi Jumpy73,
I've uploaded some changes to the NG branch addressing your problem (sorry... I remember I read it but somehow overlooked it anyway). Please give it a try and report if it works better.
You're a good source of "problematic music items". First your blue boyband and now it looks like your Eagles album is one of the few which has multiple covers on fanart.tv Wink
Hi stef.an,

I've been trying to install cdArt Manager for a few hours now and as soon as the plugin is installed, it freezes my Kodi.
from poking around in the logs and the code, it looks like some unintitalized db tables:

Code:
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - ############################################################
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - #    cdART Manager                                         #
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - #        default.py module                                 #
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - #    script.cdartmanager                                   #
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - #    Giftie                                                #
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - #    4.0.5                                                 #
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - #    Ppic, Reaven, Imaginos, redje, Jair,                  #
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - #    Chaos_666, Magnatism, Kode, Martijn                   #
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - #    Thanks for the help guys...                           #
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - #    Frodo                                                 #
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - ############################################################
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - Looking for settings.xml
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - Addon Work Folder: /home/xbmc/.kodi/userdata/addon_data/script.cdartmanager/
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - Addon Database: /home/xbmc/.kodi/userdata/addon_data/script.cdartmanager/l_cdart.db
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - Addon settings: /home/xbmc/.kodi/userdata/addon_data/script.cdartmanager/settings.xml
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - Addon Work Folder Found, Checking For Database
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - Addon Db Found, Checking Database Version
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - Looking for database version: 3.0.3
21:46:06 T:140118711056128   ERROR: Traceback (most recent call last):
21:46:06 T:140118711056128   ERROR:   File "/home/xbmc/.kodi/addons/script.cdartmanager/default.py", line 485, in <module>
21:46:06 T:140118711056128   ERROR:     if version[0][0] == __dbversion__:
21:46:06 T:140118711056128   ERROR: IndexError: list index out of range
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - # Error: IndexError
21:46:06 T:140118711056128  NOTICE: [cdART Manager] - Trying To Delete Database
21:46:09 T:140118711056128  NOTICE: [cdART Manager] - # Setting up Script
21:46:09 T:140118711056128  NOTICE: [cdART Manager] - Addon Db Not Found - Building New Addon Db
21:46:09 T:140118711056128   ERROR: Traceback (most recent call last):
21:46:09 T:140118711056128   ERROR:   File "/home/xbmc/.kodi/addons/script.cdartmanager/resources/lib/json_utils.py", line 28, in retrieve_json_dict
21:46:09 T:140118711056128   ERROR:     json_dict = result[items]
21:46:09 T:140118711056128   ERROR: KeyError: 'albums'
21:46:09 T:140118711056128  NOTICE: [json_utils.py] - retrieve_json_dict - JSONRPC -
                                            {'jsonrpc': '2.0', 'id': 1, 'result': {'limits': {'start': 0, 'total': 0, 'end': 0}}}
21:46:09 T:140118711056128  NOTICE: [json_utils.py] - retrieve_json_dict - Error trying to get json response
21:46:09 T:140118711056128   ERROR: Traceback (most recent call last):
21:46:09 T:140118711056128   ERROR:   File "/home/xbmc/.kodi/addons/script.cdartmanager/resources/lib/database.py", line 619, in get_local_artists_db
21:46:09 T:140118711056128   ERROR:     c.execute(query)
21:46:09 T:140118711056128   ERROR: OperationalError: no such table: lalist
21:46:09 T:140118711056128   ERROR: Traceback (most recent call last):
21:46:09 T:140118711056128   ERROR:   File "/home/xbmc/.kodi/addons/script.cdartmanager/resources/lib/database.py", line 619, in get_local_artists_db
21:46:09 T:140118711056128   ERROR:     c.execute(query)
21:46:09 T:140118711056128   ERROR: OperationalError: no such table: lalist
21:46:09 T:140118711056128  NOTICE: [cdART Manager] - Checking for artist match with fanart.tv - First Check
21:46:09 T:140118711056128   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'sqlite3.OperationalError'>
                                            Error Contents: no such table: counts
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.kodi/addons/script.cdartmanager/resources/lib/gui.py", line 71, in onInit
                                                self.setup_all()
                                              File "/home/xbmc/.kodi/addons/script.cdartmanager/resources/lib/gui.py", line 1048, in setup_all
                                                first_check( all_artists, local_artists )
                                              File "/home/xbmc/.kodi/addons/script.cdartmanager/resources/lib/fanarttv_scraper.py", line 356, in first_check
                                                store_fanarttv_datecode( present_datecode )
                                              File "/home/xbmc/.kodi/addons/script.cdartmanager/resources/lib/database.py", line 430, in store_fanarttv_datecode
                                                local_artist_count, album_count, artist_count, cdart_existing = new_local_count()
                                              File "/home/xbmc/.kodi/addons/script.cdartmanager/resources/lib/database.py", line 718, in new_local_count
                                                c.execute(query)
                                            OperationalError: no such table: counts
                                            -->End of Python script error report<--
[/quote]
Hi ryborg, the repo version doesn't work anymore, you'll have to install my current release manually.
Here is how (Post 2299): http://forum.kodi.tv/showthread.php?tid=...pid2171465