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)



- solidsatras - 2011-07-31

I tested the new version v.1.4.3 with this nightly: Jul 30 2011 (Git:20110730-4f0a8cc)
Happy to report everything works great.

Here is a complete debug log of a fresh install with database building and automatic searches.
Pretty big log, I don´t see any new error´s,
just the known unicode-problem,
some random "HTTP Error 400" and
the reoccuring error of deleting files from "userdata\addon_data\script.cdartmanager\temp\" (don´t really know what´s that about)

Thank you so much for this tool, you made my life so much easier Nod


- giftie - 2011-07-31

solidsatras Wrote:I tested the new version v.1.4.3 with this nightly: Jul 30 2011 (Git:20110730-4f0a8cc)
Happy to report everything works great.

Here is a complete debug log of a fresh install with database building and automatic searches.
Pretty big log, I don´t see any new error´s,
just the known unicode-problem,
some random "HTTP Error 400" and
the reoccuring error of deleting files from "userdata\addon_data\script.cdartmanager\temp\" (don´t really know what´s that about)

Thank you so much for this tool, you made my life so much easier Nod

The Error 400's happen when MusicBrainz can not match the Artist/Album combination. This happens if the album name contains extra wording('deluxe addition', 'special addtion', 'remaster', etc) This is because MusicBrainz does not store them that way(just by the Album title).

Using a tool like SQLite Spy, you can actually manually edit the script DB(l_cdart.db found in userdata/addon_data/script.cdartmanager) and add the missing MBID's(MusicBrainz ID number)


- m4x1m - 2011-08-01

Hi giftie,

I've notice that the script skip the artist and the album with special chars like àèìòù.

Total artist I have is 397 the script recognized only 384 (skipped for example Beyoncé and relative albums).

Unicode problem? Nerd


- giftie - 2011-08-01

m4x1m Wrote:Hi giftie,

I've notice that the script skip the artist and the album with special chars like àèìòù.

Total artist I have is 397 the script recognized only 384 (skipped for example Beyoncé and relative albums).

Unicode problem? Nerd

Strange.. They don't show up on your artist list when you search? I find this strange since I have Beyoncé, Björk and Mötley Crüe properly found on all of my test systems(4 of them) I know it logs errors when trying to match them, this due to trying to decode and encode to unicode(utf-8) One of them will usually fail on most systems, but the next one catches it.. I would need to see your debug log to see where the script may be lacking...

Also, is the 397 just album artists or music artists? The script only looks for Album Artists so there would be a different number when compared to the music Library(which shows all music artists)


- m4x1m - 2011-08-01

giftie Wrote:Strange.. They don't show up on your artist list when you search?


No! :-) (forgotten to answer)

giftie Wrote:I find this strange since I have Beyoncé, Björk and Mötley Crüe properly found on all of my test systems(4 of them) I know it logs errors when trying to match them, this due to trying to decode and encode to unicode(utf-8) One of them will usually fail on most systems, but the next one catches it.. I would need to see your debug log to see where the script may be lacking...

Log is here https://skydrive.live.com/?cid=2471A122156584AA&id=2471A122156584AA!722&sc=documents, it must 8mb and i've compressed it.

giftie Wrote:Also, is the 397 just album artists or music artists? The script only looks for Album Artists so there would be a different number when compared to the music Library(which shows all music artists)

397 artists and 1113 albums. The script show 384 artists and 1112 albums, but i've looked into the script db and the real number of albums recorded is 1013.


Another thing. After automatic downloaded a clear art i've found a new folder (P52W9L~A) inside logo.png, clear art of P.O.D. artist, but the real folder name is POD, maybe it is my error P.O.D. -> POD, but Windows cut out last point from folder name.


- giftie - 2011-08-01

m4x1m Wrote:Log is here https://skydrive.live.com/?cid=2471A122156584AA&id=2471A122156584AA!722&sc=documents, it must 8mb and i've compressed it.



397 artist and 1113 albums. The script show 384 artist and 1112, but i've looked into the script db and the real number of albums recorder is 1013.

I think I see the error, I'm making sure to check the Unicode of the Artist Name and Album title, but not the path... Even my test folder on my system is missed. I fix that soon...

Quote:Another thing. After automatic downloaded a clear art i've found a new folder (P52W9L~A) inside logo.png, clear art of P.O.D. artist, but the real folder name is POD, maybe it is my error P.O.D. -> POD, but Windows cut out last point from folder name.

I that myself(the folder like P52W9L~A, my R.E.M. folder looks like RP85G1~P on my Windows box) I think it is acutally XBMC making that format. The proper folder is actually P.O.D. as this is the Artist name(and is what skins look for). The strange thing, is that the skin(Transparency!) pulls the extrafanart properly from this folder... This funky folder only seems to happen when a '.' is part of the artist name, P.O.D. , R.E.M. , etc) and seems to be what XBMC is creating as the folder name(since the script sends a request to XBMC to make folders - due to the nature of the Filesystem) This is very odd and requires a little more looking into...


- m4x1m - 2011-08-01

giftie Wrote:I think I see the error, I'm making sure to check the Unicode of the Artist Name and Album title, but not the path... Even my test folder on my system is missed. I fix that soon...

Ok thanks!

giftie Wrote:I that myself(the folder like P52W9L~A, my R.E.M. folder looks like RP85G1~P on my Windows box) I think it is acutally XBMC making that format. The proper folder is actually P.O.D. as this is the Artist name(and is what skins look for). The strange thing, is that the skin(Transparency!) pulls the extrafanart properly from this folder... This funky folder only seems to happen when a '.' is part of the artist name, P.O.D. , R.E.M. , etc) and seems to be what XBMC is creating as the folder name(since the script sends a request to XBMC to make folders - due to the nature of the Filesystem) This is very odd and requires a little more looking into...

I understand.

The real problem is that my files reside on a NAS, but when I create a folder from windows if I write P.O.D. or R.E.M., it cuts the last point, so I have no way to create the folder same as the name of the artist, unless I do it via ssh.

Good Works!


- giftie - 2011-08-01

giftie Wrote:I think I see the error, I'm making sure to check the Unicode of the Artist Name and Album title, but not the path... Even my test folder on my system is missed. I fix that soon...

m4x1m - I think I now have fixed this problem. It tested out correctly on my Windows box(smaller library - mostly just for testing scripts) and had the correct album count.

The fact that your album count verses the count stored in the DB was due to the fact I did not take in account for any errors.. Smile Which is an error on its own, but helped me out by showing the missing albums.. Smile

Testing on the Linux box now, then testing on the Dharma box.. so much testing... Smile


- giftie - 2011-08-02

Ok tested good on my Linux pre-Eden box(1988 for 1988 discs Smile )

Now to test the Dharma Version...

BTW, I guess I should change the script to use 'Discs' instead of 'Albums' since it is acutally the Disc count that it is showing up, not the album count.


- giftie - 2011-08-02


Latest Development Versions:

pre-Eden - http://www.mediafire.com/file/847myc24cmz9n6t/script.cdartmanager.1.4.4.zip
Dharma - http://www.mediafire.com/file/j2b7p1tjc5768vc/script.cdartmanager.dharma.1.4.4.zip


- jasonlcox - 2011-08-03

giftie, I've been having problems with 1.4.3 and 1.4.4 too.

Unfortunately, neither have solved the extrafanart creation problem for me, and now XBMC is freezing after I try the fanart autodownload (it didn't freeze with previous versions of cdART Manager).

The only time it doesn't freeze is if I uninstall cdART Manager, delete all its related folders, reinstall it, allow it to build a database, then immediately run the autodownload. It finishes with a download error, and zero files downloaded (same as before). I have a log for this, but it's about 10MB, too big for pastebin.

If I reboot after the building the database (to give you a less cluttered log), and attempt to autodownload it starts but the progress bar doesn't move. When I select cancel it says "cancelling", but XBMC becomes unresponsive and I have to reboot. The xbmc.old.log for this is about 28MB!

Would you like to see the logs? How can I get them to you?

Is it possible the problem is with my Windows 7 system? I've checked my sharing settings - password protected sharing is off, and my music folder is set to share with Everyone, with full control permissions. Is there something else I should check?


- m4x1m - 2011-08-03

giftie Wrote:
Latest Development Versions:

pre-Eden - http://www.mediafire.com/file/847myc24cmz9n6t/script.cdartmanager.1.4.4.zip
Dharma - http://www.mediafire.com/file/j2b7p1tjc5768vc/script.cdartmanager.dharma.1.4.4.zip

Latest version works better I managed a db little bit to add missing musicbrainz_id but no problem...

3 things

1. local cd arts list. When scroll up or down the cd art image at right not change, if click on, appear the submenu, move right submenu disappear but also disappear cdarts image too Sad

2. when start automatic download for cdarts it seems to download again cdarts that already downloaded and the number of cdarts downloaded seems to be wrong. At the end of process the list of cdarts is longer than the number shown, and it show a cdarts that already have been downloaded.
Could you check?

3. In the XBMC log ...

Code:
ERROR: Skin includes must start with the <includes> tag
12:32:50 T:3018622784 M:3816321024
ERROR: ClearBlock: Trying to clear non existent block /home/m4x1m/.xbmc/addons/script.cdartmanager

Full Log At: https://skydrive.live.com/?cid=2471A122156584AA&id=2471A122156584AA!722&sc=documents


- giftie - 2011-08-04

m4x1m Wrote:Latest version works better I managed a db little bit to add missing musicbrainz_id but no problem...

3 things

1. local cd arts list. When scroll up or down the cd art image at right not change, if click on, appear the submenu, move right submenu disappear but also disappear cdarts image too Sad
opps.. forgot about fixing that.
Quote:2. when start automatic download for cdarts it seems to download again cdarts that already downloaded and the number of cdarts downloaded seems to be wrong. At the end of process the list of cdarts is longer than the number shown, and it show a cdarts that already have been downloaded.
Could you check?
Check your settings for the script and make sure that the option to 'Overwrite Low Res existing cdARTs' <- this checks the image size and if it is below the resolution of 1000x1000(the new dimensions) it will download cdART if it finds a match. This will still download a low-res one if that is all there is available.
Quote:3. In the XBMC log ...

Code:
ERROR: Skin includes must start with the <includes> tag
12:32:50 T:3018622784 M:3816321024
ERROR: ClearBlock: Trying to clear non existent block /home/m4x1m/.xbmc/addons/script.cdartmanager

Full Log At: https://skydrive.live.com/?cid=2471A122156584AA&id=2471A122156584AA!722&sc=documents

The Devs are still messing around with the XML for skin, there is an includes.xml file for the script and it actually contains nothing in it.. I'll check to see if I can just get rid of it now(Dharma used to complain if it wasn't there)


- giftie - 2011-08-04

jasonlcox Wrote:giftie, I've been having problems with 1.4.3 and 1.4.4 too.

Unfortunately, neither have solved the extrafanart creation problem for me, and now XBMC is freezing after I try the fanart autodownload (it didn't freeze with previous versions of cdART Manager).

The only time it doesn't freeze is if I uninstall cdART Manager, delete all its related folders, reinstall it, allow it to build a database, then immediately run the autodownload. It finishes with a download error, and zero files downloaded (same as before). I have a log for this, but it's about 10MB, too big for pastebin.

If I reboot after the building the database (to give you a less cluttered log), and attempt to autodownload it starts but the progress bar doesn't move. When I select cancel it says "cancelling", but XBMC becomes unresponsive and I have to reboot. The xbmc.old.log for this is about 28MB!

Would you like to see the logs? How can I get them to you?

Is it possible the problem is with my Windows 7 system? I've checked my sharing settings - password protected sharing is off, and my music folder is set to share with Everyone, with full control permissions. Is there something else I should check?

you can post large logs to some other download location(media fire, dropbox...) then post a share link to the log.


- jasonlcox - 2011-08-04

Thanks giftie.

This log includes a database build, and an autodownload attempt that finishes, but with an error:

http://dl.dropbox.com/u/23557570/xbmc.log

This log is of an autodownload attempt that freezes:

http://dl.dropbox.com/u/23557570/xbmc.old.log