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 - johnmerrick - 2012-12-03

(2012-12-02, 20:31)giftie Wrote:
(2012-12-02, 19:48)johnmerrick Wrote: xbmc debug log

thanks

Download the version from the first page and perform a database update. The auto download for fanarts is broken.

All sorted now thanks for your help.

I had to unnstall then delete everything from previous version in the roaming folder first though. Something must have corrupted.




RE: [RELEASE] cdART Manager Script - matt77303 - 2012-12-03

Hi bud

when you get this going with frodo.

Would it be possible to run the script at startup and just download everything new without any user input.

Abit like artwork downlaoder allows you to do?

Thanks

Matt


RE: [RELEASE] cdART Manager Script - Lunatixz - 2012-12-04

(2012-12-03, 00:49)giftie Wrote:
(2012-12-02, 23:35)Lunatixz Wrote: anyway to use a custom MusicBrainz server? main sites always to slow... Would rather use private server. BTW Great script Smile

In the file musicbrainz.py(script.cdartmanager/resources/lib/) you can edit the musicbrainz urls. Also you will need to remove the 'xbmc.sleep(910)' lines which are the necessary delays for MusicBrainz servers. I will likely add the ability to enter your own server.

Sounds great...


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

(2012-12-03, 23:59)matt77303 Wrote: Hi bud

when you get this going with frodo.

Would it be possible to run the script at startup and just download everything new without any user input.

Abit like artwork downlaoder allows you to do?

Thanks

Matt

Not going to happen.... I already created a service script called The Scheduler that will take care of this and many more things.


RE: [RELEASE] cdART Manager Script - Ectholian - 2012-12-04

Edit; Frodo versioncheck is already fixed in 2.2.8 I see in the sources Smile


Only now there seems to be some directory problems; extrafanart directory can not be created (i put a music path in my settings to store all fanarts centralized). The script generates error, but after the script has run, i see the mentioned folder is being made?

Code:
[cdART Manager] - Building Directory
11:57:34 T:140424953980672 WARNING: CreateDirectory, cant create dir </home/xbmc/CDArt/Adele/extrafanart/>. trying lower case.
11:57:34 T:140424953980672   ERROR: Create - Error creating /home/xbmc/CDArt/Adele/extrafanart
11:57:34 T:140424953980672   DEBUG: [cdART Manager] - Building Directory
11:57:34 T:140424953980672   DEBUG: Previous line repeats 1 times.
11:57:34 T:140424953980672   ERROR: Traceback (most recent call last):
11:57:34 T:140424953980672   ERROR:   File "/home/xbmc/.xbmc/addons/script.cdartmanager/resources/lib/download.py", line 299, in auto_download
11:57:34 T:140424953980672   ERROR:     fanart_dir, fanart_files = listdir( auto_art["path"] )
11:57:34 T:140424953980672   ERROR: NameError: global name 'listdir' is not defined
11:57:34 T:140424953980672  NOTICE: Unexpected error:
11:57:34 T:140424953980672  NOTICE: <type 'exceptions.TypeError'>
11:57:34 T:140424953980672   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: 'NoneType' object is not iterable
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.cdartmanager/default.py", line 373, in <module>
                                                download_count, successfully_downloaded = auto_download( artwork_type, recognized_artists, local_artists, background=True )
                                            TypeError: 'NoneType' object is not iterable
                                            -->End of Python script error report<--
11:57:34 T:140424953980672    INFO: Python script stopped

Btw, is there a way to trigger an update through ssh console?


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

Not working at all in frodo beta 2, is this compatible yet?


RE: [RELEASE] cdART Manager Script - Ectholian - 2012-12-06

Github version is compatible, but there are, according to Giftie, bugs in it. But you can do one change by hand so the released version works:
Manually edit this file:
addons/script.cdartmanager/default.py

Change the line:
Code:
if str( xbmc.getInfoLabel( "System.BuildVersion" ) ).startswith( "12.0-ALPHA" ): # required GIT version

to:
Code:
if str( xbmc.getInfoLabel( "System.BuildVersion" ) ).startswith( "12.0" ): # required GIT version



RE: [RELEASE] cdART Manager Script - ElPolo - 2012-12-06

The github version was not updated since 15 days. Giftie said after last update that we have to wait for next version ?


RE: [RELEASE] cdART Manager Script - Ectholian - 2012-12-06

True, but if you look to this file on github:
https://github.com/Giftie/script.cdartmanager/blob/master/default.py

You see this change Smile

But I don't know if some things are broken or not for the frodo beta. At least with this change, i can update my library and such Smile


RE: [RELEASE] cdART Manager Script - ElPolo - 2012-12-06

Are you using Frodo beta 2 ?


RE: [RELEASE] cdART Manager Script - Ectholian - 2012-12-06

Kinda... I am using the xvba version from wsnipex, but it is more or less the frodo beta 2 Smile


RE: [RELEASE] cdART Manager Script - ElPolo - 2012-12-06

Thank you, i use this version too. I will try github version then Wink


RE: [RELEASE] cdART Manager Script - Ectholian - 2012-12-06

If you get any strange behaviour or errors, please wait posting it until Giftie released a new version and test it in that version Smile


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

I would avoid using the GIT. There are bugs(big ones)


RE: [RELEASE] cdART Manager Script - rupertos - 2012-12-06

Still I dont know why I cant download cdart from manager....

I have all artist on white.. even ABBA or Queen...

I set everything to skin folder... what I do wrong :/?


edit: I just downloaded new version and works Big Grin Big Grin Big Grin