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 - sialivi - 2012-12-09

I manually edited the settings to get it to run, but hit another error when storing counts:

Code:
02:12:07 T:5300  NOTICE: [cdART Manager] - Storing Counts
02:12:07 T:5300  NOTICE: [cdART Manager] -     Album Count: 658
02:12:07 T:5300  NOTICE: [cdART Manager] -     Album Artist Count: 294
02:12:07 T:5300  NOTICE: [cdART Manager] -     Local Artist Count: 337
02:12:07 T:5300  NOTICE: [cdART Manager] -     cdARTs Existing Count: 228
02:12:07 T:5300  NOTICE: [cdART Manager] -     Unix Date Code: 0
02:12:07 T:5300   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: need more than 3 values to unpack
                                            Traceback (most recent call last):
                                              File "D:\Static\_HTPC\XBMC_SVN\portable_data\addons\script.cdartmanager\resources\lib\gui.py", line 71, in onInit
                                                self.setup_all()
                                              File "D:\Static\_HTPC\XBMC_SVN\portable_data\addons\script.cdartmanager\resources\lib\gui.py", line 1040, in setup_all
                                                all_artist_count, local_album_count, local_artist_count, local_cdart_count = database_setup( self.background )
                                            ValueError: need more than 3 values to unpack
                                            -->End of Python script error report<--

I didn't have debug enabled during this run, I'll post a full debug log after the next attempt.


RE: [RELEASE] cdART Manager Script - redisdead - 2012-12-09

Hi everyone,

I tried to set up cdART manager but didn't managed to make it download something. When I try to download manually in the manager, I have a window opening telling me that, for example, the artist was not found on fanart.tv. I last tried on a limited library (Metallica album from Metallica and TNT from AC/DC) with activated debug mode. Running XBMC Eden (skin: Aeon Nox) / Windows 7 Ultimate (64 bits) / cdART manager 2.6.5.

Can anyone help me to sort this? Thanks

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


RE: [RELEASE] cdART Manager Script - giftie - 2012-12-09

New update available, fixes a few problems. There are now two versions. An Eden only one and a Frodo only one.

Eden version - https://github.com/downloads/Giftie/script.cdartmanager/script.cdartmanager.eden.2.7.9.zip

Frodo Version - https://github.com/downloads/Giftie/script.cdartmanager/script.cdartmanager.frodo.2.7.9.zip
(2012-12-09, 17:39)redisdead Wrote: Hi everyone,

I tried to set up cdART manager but didn't managed to make it download something. When I try to download manually in the manager, I have a window opening telling me that, for example, the artist was not found on fanart.tv. I last tried on a limited library (Metallica album from Metallica and TNT from AC/DC) with activated debug mode. Running XBMC Eden (skin: Aeon Nox) / Windows 7 Ultimate (64 bits) / cdART manager 2.6.5.

Can anyone help me to sort this? Thanks

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

Please use the test version available on the first page of this thread.



Re: [RELEASE] cdART Manager Script - redisdead - 2012-12-10

It works. Thanks giftie! Was not able to have something with 2.7.7 too, but now I can access the fanart.TV database.


RE: [RELEASE] cdART Manager Script - sialivi - 2012-12-10

Giftie,
Works great now, much appreciated.


RE: [RELEASE] cdART Manager Script - lestat1977uk - 2012-12-10

Will not launch at all?


RE: [RELEASE] cdART Manager Script - samurai07 - 2012-12-10

(2012-12-09, 00:19)giftie Wrote:
(2012-11-17, 18:42)samurai07 Wrote: I have another problem. I manually added MBIDs from albums which are not automatically found. When I then update the database the formerly changed albums will selected as changed and updated again. With this update the manually added MBIDs are removed. This shouldn't happen.

It should be fixed now. The problem, though I haven't tested it. I found I wasn't correctly storing the mbid.

sorry, but this isn't fixed in 2.7.9. After adding some MBIDs and doing an update the MBIDs are still removed.


Re: RE: [RELEASE] cdART Manager Script - giftie - 2012-12-11

(2012-12-10, 22:36)lestat1977uk Wrote: Will not launch at all?

Debug log? Also make sure you are using the correct version, there is an Eden version and a Frodo version



Re: [RELEASE] cdART Manager Script - Martijn - 2012-12-11

Haven't tried latest version but do you add the MBID to xbmc database too?


RE: [RELEASE] cdART Manager Script - giftie - 2012-12-11

(2012-12-11, 00:55)Martijn Wrote: Haven't tried latest version but do you add the MBID to xbmc database too?

The script does not add MBIDs back to XBMC's library.

From my understanding(through testing) the only place I can get MBIDs is from the song level, ie:
Code:
{"jsonrpc": "2.0", "method": "AudioLibrary.GetSongs", "params": {"albumid": 54, "properties": ["file", "musicbrainzalbumartistid"], "sort": {"method":"fullpath","order":"ascending"}}, "id": 1}
Adding back would be a lot of work with potential of messing up XBMC's music library(not drastically though)

The other levels(artist and albums do not return MBIDs even though they are available as a property item. I figured this was more or less something that was waiting until the MusicBrainz pull request was merged into XBMC(after Frodo)

If it is a bug then I'll post a Bug report on Trac.



RE: [RELEASE] cdART Manager Script - gpiccon - 2012-12-12

Any way to have that script working automatically after a first setup? I mean, I set up everything or I build a databaste at the beggining and later when I add new music, he runs automatically to find new cdarts, covers, fanarts. etc..
It would be awesome..
Thanks.


Re: [RELEASE] cdART Manager Script - giftie - 2012-12-12

Check out my service addon - The Scheduler, found in the service addons thread.


RE: [RELEASE] cdART Manager Script - gpiccon - 2012-12-13

(2012-12-12, 19:59)giftie Wrote: Check out my service addon - The Scheduler, found in the service addons thread.
Woah! Sounds promising! Thanks. The problem is that when I try to search any kind of information with the plugin it brings a message saying: Please contribute and upload to fanart.tv nothing found.
What can I do? Even with Cold Play :/

Note: The database is created.



Re: RE: [RELEASE] cdART Manager Script - giftie - 2012-12-13

(2012-12-13, 00:50)gpiccon Wrote:
(2012-12-12, 19:59)giftie Wrote: Check out my service addon - The Scheduler, found in the service addons thread.
Woah! Sounds promising! Thanks. The problem is that when I try to search any kind of information with the plugin it brings a message saying: Please contribute and upload to fanart.tv nothing found.
What can I do? Even with Cold Play :/

Note: The database is created.

I need a full debug log posted on xbmclogs.com



RE: [RELEASE] cdART Manager Script - shaktoo - 2012-12-14

Thanks Giftie ... working & pulling art again + scheduler option.. excellent .. haven't set-up yet though .. so will it schedule AD as well? ( me thinks it would )