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 - saucisse - 2012-11-08

wow ! I can get some with the new version ! I can get some of the A's but nothing else. It stops with Akon (works with aerosmith, adele, akon, acdc...). After that i cant get anything. Maybe an update of some sort problem Huh

The automatic download doesnt seem to work though


we're there almost :p


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

(2012-11-08, 10:22)saucisse Wrote: wow ! I can get some with the new version ! I can get some of the A's but nothing else. It stops with Akon (works with aerosmith, adele, akon, acdc...). After that i cant get anything. Maybe an update of some sort problem Huh

The automatic download doesnt seem to work though


we're there almost :p

I still don't know what is happening on your system. Please read the end of the third message(How to report bugs) and follow the instructions, though all I want you to do is setup for debugging and perform an update on the add-on's database Advanced > Modify Add-on Database > Update Database. This will show me what data the add-on is getting and possibly why your system is not working


RE: [RELEASE] cdART Manager Script - saucisse - 2012-11-08

I'll try that as soon as possible !
Geez giftie, you're a star !


RE: [RELEASE] cdART Manager Script - jorgenp - 2012-11-09

What is the procedure to keep cdArt manager up to date when the XBMC library has changed (for example, updated mp3 tags or added new mp3 files)? Is it:

- Update the XBMC music library in XBMC
- Update cdArt database (advanced > Modify Add-on Database > Update Database) or will cdArt automatically update whenever the main XBMC music database have been updated?





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

(2012-11-09, 15:33)jorgenp Wrote: What is the procedure to keep cdArt manager up to date when the XBMC library has changed (for example, updated mp3 tags or added new mp3 files)? Is it:

- Update the XBMC music library in XBMC
- Update cdArt database (advanced > Modify Add-on Database > Update Database) or will cdArt automatically update whenever the main XBMC music database have been updated?
That is the basic manual method.

I don't have the script running as a Service script(I already think there are too many that bog my system down at times) so it would not be able to update automatically if there has been a Music Library update.

But you can use my Service script The Scheduler. With this Service script you can schedule a XBMC Library Update, and schedule cdART Manager to Update it's database. You can even set up a schedule to Automatically download artwork(this option has a cache preset to 3 days, so it will only retrieve new information from fanart.tv every 3 days, it can be adjusted up to 7 to provide less strain on fanart.tv)



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

Hi, script is good and I like it, but all the time I have problem with updating my library. I have - let's say 12 000 albums. Update takes 3+ days. I can’t catch why old database must be deleted and start from zero. The problem is that script it hang's very often and I must start from the beginning again and again.


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

Hi.

Can anyone help me with this script?
I dont have the patience anymore. I have the correct directory structure, and proper path for saving cdart's. cdART Manager detects all the artists and albums, but dont want to download anything. When i press automatic download, nothing happens, whether it is clearlogo, cdart or banner. cdART's local is still 0: (

Any suggestions?

Tested on two different machines: On Eden, and Frodo, v. 2.7.7


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

DJcOOkieee

API on FanArtTV not working ATM.


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

Oh, so simple... Do U know, how long this maintance could be?

Thx.

Ekhm, info from fanart.tv:

"API Restored
After a lot of time trying to configure the new server we have finally got loads down to a resonable level and as such have re-enabled the API. The fact we have had to get the new server earlier than expected means the target funds have been depleted a little bit so we would really appreciate anyone donating or becoming an Associated Fanart member fortunately the new server should allow us a bit of room to grow."

Here is a short section of my log:
Code:
16:17:26 T:5384   DEBUG: [cdART Manager] - Artist Match not found
16:17:26 T:5384  NOTICE: [cdART Manager] - Artist: Green Day                                Local ID: 2            Distant MBID: 084308bd-1654-436f-ba03-df6697104e19
16:17:26 T:5384   DEBUG: [cdART Manager] - Finding remote music banners
16:17:26 T:5384   DEBUG: [cdART Manager] - Retrieving artwork for artist id: 084308bd-1654-436f-ba03-df6697104e19
16:17:26 T:5384   DEBUG: [cdART Manager] - Retrieving HTML Source
16:17:26 T:5384   DEBUG: [cdART Manager] - HTML Source:
                                            <?xml version="1.0"?>
                                            <fanart><series name="" id=""><artistthumbs><artistthumb id="35768" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/artistthumb/35768/green-day-4fd48993d6d98.jpg" lang="" likes="2"/><artistthumb id="35766" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/artistthumb/35766/green-day-4fd48993d620d.jpg" lang="" likes="1"/><artistthumb id="35767" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/artistthumb/35767/green-day-4fd48993d693b.jpg" lang="" likes="1"/></artistthumbs><artistbackgrounds><artistbackground id="22" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/artistbackground/22/green-day-4dc724ce3ef1a.jpg" lang="" likes="1"/><artistbackground id="56" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/artistbackground/56/green-day-4dc9c2781348d.jpg" lang="" likes="1"/><artistbackground id="57" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/artistbackground/57/green-day-4dc9c33d00dc9.jpg" lang="" likes="0"/><artistbackground id="58" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/artistbackground/58/green-day-4dc9c3871a658.jpg" lang="" likes="0"/><artistbackground id="60" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/artistbackground/60/green-day-4dc9c4b77b038.jpg" lang="" likes="0"/></artistbackgrounds><albumcovers><albumcover id="58765" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/58765/oh-love-508a7ea7beac8.jpg" lang="" likes="1"/><albumcover id="58951" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/58951/holiday-508c359807fe0.jpg" lang="" likes="1"/><albumcover id="58952" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/58952/21st-century-breakdown-508c35c312b7d.jpg" lang="" likes="1"/><albumcover id="66" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/66/dookie-4dcb0c417d76e.jpg" lang="" likes="0"/><albumcover id="67" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/67/1039smoothed-out-slappy-hours-4dcb10c8382a9.jpg" lang="" likes="0"/><albumcover id="68" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/68/kerplunk-4dcb10c838e63.jpg" lang="" likes="0"/><albumcover id="69" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/69/nimrod-4dcb10c839a19.jpg" lang="" likes="0"/><albumcover id="70" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/70/american-idiot-4dcb10c83a5d2.jpg" lang="" likes="0"/><albumcover id="1888" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/1888/american-idiot-4dd43b94a0c0b.jpg" lang="" likes="0"/><albumcover id="7922" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/7922/insomniac-4e3b3cbfab9da.jpg" lang="" likes="0"/><albumcover id="7923" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/7923/shenanigans-4e3b3cbfb9884.jpg" lang="" likes="0"/><albumcover id="7924" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/7924/international-superhits-4e3b3cbfbf25e.jpg" lang="" likes="0"/><albumcover id="7925" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/7925/warning-4e3b3cf1056fa.jpg" lang="" likes="0"/><albumcover id="7926" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/7926/39smooth-4e3b3d4165559.jpg" lang="" likes="0"/><albumcover id="11245" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/11245/awesome-as-fuck-4e75f1f118c97.jpg" lang="" likes="0"/><albumcover id="11246" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/11246/bullet-in-a-bible-4e75f1f11a417.jpg" lang="" likes="0"/><albumcover id="55261" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/55261/uno-506ab9ffaa651.jpg" lang="" likes="0"/><albumcover id="55570" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/albumcover/55570/greatest-hits-506dac69bc354.jpg" lang="" likes="0"/></albumcovers><cdarts><cdart id="3733" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/3733/21st-century-breakdown-4de3aed19c0df.png" lang="" likes="0"/><cdart id="3734" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/3734/shenanigans-4de3aed1ab6b9.png" lang="" likes="0"/><cdart id="3735" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/3735/kerplunk-4de3aed1ac659.png" lang="" likes="0"/><cdart id="3736" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/3736/international-superhits-4de3aed1b33bc.png" lang="" likes="0"/><cdart id="3738" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/3738/1039smoothed-out-slappy-hours-4de3aed1b7624.png" lang="" likes="0"/><cdart id="3739" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/3739/bullet-in-a-bible-4de3af02a8543.png" lang="" likes="0"/><cdart id="5432" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/5432/nimrod-4df920d57c643.png" lang="" likes="0"/><cdart id="5433" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/5433/transmissions-4df920f01eb58.png" lang="" likes="0"/><cdart id="10580" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/10580/insomniac-4e6a8e5a6ffd0.png" lang="" likes="0"/><cdart id="10581" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/10581/dookie-4e6a8e5a7af90.png" lang="" likes="0"/><cdart id="10994" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/10994/warning-4e751e79edbea.png" lang="" likes="0"/><cdart id="11253" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/11253/awesome-as-fuck-4e762b6697d1e.png" lang="" likes="0"/><cdart id="17658" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/17658/american-idiot-4f119290f1698.png" lang="" likes="0"/><cdart id="57017" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/cdart/57017/uno-507ebbd2bbbe7.png" lang="" likes="0"/></cdarts><musiclogos><musiclogo id="4861" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/musiclogo/4861/green-day-4df23064b295f.png" lang="" likes="0"/><musiclogo id="10475" url="http://fanart.tv/fanart/music/084308bd-1654-436f-ba03-df6697104e19/musiclogo/10475/green-day-4e68c8828bbd7.png" lang="" likes="0"/></musiclogos></series></fanart>
                                            

                                            <!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

                                            

                                            Page Caching using apc

                                            Database Caching 26/46 queries in 0.004 seconds using apc

                                            Object Caching 490/491 objects using apc

There are many links suggesting that something is happening. But why script dont download anything on HDD??



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

(2012-11-12, 17:24)DJcOOkieee Wrote: Oh, so simple... Do U know, how long this maintance could be?

Thx.

Ekhm, info from fanart.tv:

"API Restored
After a lot of time trying to configure the new server we have finally got loads down to a resonable level and as such have re-enabled the API. The fact we have had to get the new server earlier than expected means the target funds have been depleted a little bit so we would really appreciate anyone donating or becoming an Associated Fanart member fortunately the new server should allow us a bit of room to grow."

Here is a short section of my log:
Code:
Please always provide a link to the full log...  As this snipet is missing a lot of needed information.

There are many links suggesting that something is happening. But why script dont download anything on HDD??

From that little bit of the log, I can not see any problems. That little bit of log you posted(see your message for the snipet) shows that you are trying to download Music Banners, but the artist you chose to show here doesn't have any(according to the API feedback). There are Backgrounds(fanarts), album covers, cdARTs, artist thumbs and clearLOGOs.

When reporting problems, please follow the directions on the first page of this thread.


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

(2012-11-12, 15:03)harybary Wrote: Hi, script is good and I like it, but all the time I have problem with updating my library. I have - let's say 12 000 albums. Update takes 3+ days. I can’t catch why old database must be deleted and start from zero. The problem is that script it hang's very often and I must start from the beginning again and again.

The old database does not have to be deleted. There is an option just to update, though it does check the whole database and XBMC's Music Library for new/missing items and then builds from there(all matched items stay the same, missing data is removed and new data is verified and matched on MusicBrainz)

The script also has a setting that allows you to back up the add-on's database before an update, so you don't start from scratch, there is always the original.




Odp: [RELEASE] cdART Manager Script - DJcOOkieee - 2012-11-12

So, im on fresh xbmc right now. One artist, one album and cdArt Manager script. Ive turned on debug mode, and here is my xbmc.log

http://filebin.ca/MPKhrXaFIDi/xbmc.log

It's huge, so i cant post it on pastebin Sad
Problem is still the same. cdArt made his own DB, but he wont download anything. It is bug, or maybe im doing smth wrong?





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

I need a full debug log to tell.



RE: [RELEASE] cdART Manager Script - DJcOOkieee - 2012-11-13

Attached in my previous post.


RE: [RELEASE] cdART Manager Script - adrock0211 - 2012-11-13

Two quick questions. I have been looking for a good solution for album art because with movies, TV shows and even all my roms that I launch through advance launcher...I was able to simply use the universal scraper, run the initial scrap and outside from manually adjusting a few titles, all around it worked pretty well. Music with XBMC, as it would seem, is not quite that easy. Which brings me to my two questions:

I downloaded this scripts and when I ran it the first time it literally took all day (over 9 hours) to run. I don't have a huge musc collection (only about 50GB) so I am wondering if that is normal. Then after it was done nothing had really happened. From the menu screens (no matter if I use Transparence or Alaska Revisited MOD skin) there is no art of any kind shown. Also when I go back to the library there is no art at all either. Apparently I am doing something wrong...and should it really take 9+ hours to build the database?

Also, through reading this thread I saw that the best folder structure is <Artist><Album><Files> but I actually like to organize my music at the top level by genres so would it be ok to have my collection organized like <Genre><Artist><Album><File> ?

Thanks.
Also where is this database and how big is it? I assume it's in <user>/AppData/Roaming/XBMC but I can't find it. I am just worried that when something ran for 9+ hours it just added huge amounts of data to my system. Currently my XBMC folder under Roaming is about 600MB but I am not sure how big it was before I ran the CdArt Manager script.