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 - gibxxi - 2012-12-22

Hi Giftie,

Thanks for your response. I have an "AC" folder (for artwork) but no "DC" folder under it. The MP3 tags obviously store the artist name as "AC/DC" and MediaMonkey stores the filenames as "AC-DC", but cdART downloads the atwork to a folder simply named "AC". I've already looked at the advanced settings and the replacement character is "_". I had this enabled already, but it doesn't seem to be applying it to the art it downloads.

The original plan was to have the art stored with the music, but since Subsonic displays all folders, it would also show the "extrafanart" folders in it's file list too. So now I've gone back to storing them seperately. With this being the case, while it's a minor error, I'll live with it as long as the art is correctly displayed in the skin when and where I need it.

Thanks anyway.


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

(2012-12-21, 21:42)giftie Wrote: It should be the first option on the first category in the addon settings. If it is missing, what language do you have XBMC set to?

The first option on the first category in french is "Recherche CDArts". You can translate that to "Search CDArts". In fact, it is a path, so you can translate that by 'Path to search CDArts". I tried to put language to english, and the first option is now "Path to music Library".

I think this is just a translation problem. But it can be difficult to propose another translation, because "Path to Music Library", has, in fact, nothing to do with The Music Library Big Grin

Maybe "Chemin d'enregistrement des images" (images is a poor translation for Artworks, but can be Fanart, Logo, Album Art, CDArt. I remember nothing in French which can be so many terms). In my poor english it will become "Path to save Artworks"

Thanks for your help.



RE: [RELEASE] cdART Manager Script - tomer953 - 2012-12-22

look at the right-bottom corner:

Image
http://i47.tinypic.com/2zf5oj6.jpg

this is my "The Beatles" Collection
Magical Mystery Tour is album that getting problem with the addon, no cdart and no coverart.
there IS a match to the album in musicbrainz, and there is a cdart at fanart.tv (called "Magical Mystery Tour" too)..
so why this is the only one that I have problem with?
I have this weird issue with a few more artist, but that is for the example...


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

(2012-12-22, 13:15)ElPolo Wrote:
(2012-12-21, 21:42)giftie Wrote: It should be the first option on the first category in the addon settings. If it is missing, what language do you have XBMC set to?

The first option on the first category in french is "Recherche CDArts". You can translate that to "Search CDArts". In fact, it is a path, so you can translate that by 'Path to search CDArts". I tried to put language to english, and the first option is now "Path to music Library".

I think this is just a translation problem. But it can be difficult to propose another translation, because "Path to Music Library", has, in fact, nothing to do with The Music Library Big Grin

Maybe "Chemin d'enregistrement des images" (images is a poor translation for Artworks, but can be Fanart, Logo, Album Art, CDArt. I remember nothing in French which can be so many terms). In my poor english it will become "Path to save Artworks"

Thanks for your help.

It does have something to with the music library path. I'll check Transparency for the translation used there. It is a good chance that the French language file is way behind, l dont think it has been updated for a long time.
(2012-12-22, 00:15)gibxxi Wrote: Hi Giftie,

Thanks for your response. I have an "AC" folder (for artwork) but no "DC" folder under it. The MP3 tags obviously store the artist name as "AC/DC" and MediaMonkey stores the filenames as "AC-DC", but cdART downloads the atwork to a folder simply named "AC". I've already looked at the advanced settings and the replacement character is "_". I had this enabled already, but it doesn't seem to be applying it to the art it downloads.

The original plan was to have the art stored with the music, but since Subsonic displays all folders, it would also show the "extrafanart" folders in it's file list too. So now I've gone back to storing them seperately. With this being the case, while it's a minor error, I'll live with it as long as the art is correctly displayed in the skin when and where I need it.

Thanks anyway.

I just tested on my system, both methods work(with and with out the replace illegal character) Could you delete the AC folder and all the artwork inside it, put XBMC in debug mode, run the script and autodownload fanarts then post the debug log on xbmclogs.com or on pastebin


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

(2012-12-22, 18:47)tomer953 Wrote: look at the right-bottom corner:

Image
http://i47.tinypic.com/2zf5oj6.jpg

this is my "The Beatles" Collection
Magical Mystery Tour is album that getting problem with the addon, no cdart and no coverart.
there IS a match to the album in musicbrainz, and there is a cdart at fanart.tv (called "Magical Mystery Tour" too)..
so why this is the only one that I have problem with?
I have this weird issue with a few more artist, but that is for the example...

Sometimes MBIDs don't always match between cdartManager and fanart.tv. I'll look into both ends.


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

(2012-12-22, 21:36)giftie Wrote:
(2012-12-22, 18:47)tomer953 Wrote: look at the right-bottom corner:

Image
http://i47.tinypic.com/2zf5oj6.jpg

this is my "The Beatles" Collection
Magical Mystery Tour is album that getting problem with the addon, no cdart and no coverart.
there IS a match to the album in musicbrainz, and there is a cdart at fanart.tv (called "Magical Mystery Tour" too)..
so why this is the only one that I have problem with?
I have this weird issue with a few more artist, but that is for the example...

Sometimes MBIDs don't always match between cdartManager and fanart.tv. I'll look into both ends.

This is what is happening...

MusicBrainz has three different 'Magical Mystery Tour' Release Groups listed as seen here -> http://musicbrainz.org/search?query=magical+mystery+tour&type=release_group&method=indexed

The script match my copy of 'Magical Mystery Tour' to the second one MBID: 6e514645-fbee-34ac-97e0-c2120a4a5644. This is correct as I use MusicBrainz Picard and XBMC stores the Release MBID as: 7090f2cf-aed9-4eec-a377-b11778c9f18c. The script then asks MusicBrainz for the Release Group MBID and gets: 6e514645-fbee-34ac-97e0-c2120a4a5644

Now on fanart.tv the 'Magic Mystery Tour' MBID used is: 9d445733-9f7d-3653-aed8-8099e5c9d1e8 which happens to be the first one(the EP)

So what does this mean? Depending on which one you have, the EP, the soundtrack or the bootleg, you have the potential for three different MBID's and really three different albums(cdarts and cover arts.)

The error is on the uploader's side at fanart.tv as they did not verify the MBID that they are uploading to. I'll see if I can fix it, if not I'll get someone to fix it.


These errors do happen as we are only human and computers are just machines(we don't always think the same) Smile I do provide a method to see the MBID's for the albums(Advanced -> Modify Addon Database -> Edit Album -> Change MBID -> Select Artist(fast way) or Select Album(a little slower as all albums are shown)


RE: [RELEASE] cdART Manager Script - gibxxi - 2012-12-23

I'll try sometime over the next day or so. Working solidly now till Xmas day.


RE: [RELEASE] cdART Manager Script - tomer953 - 2012-12-23

(2012-12-23, 02:44)giftie Wrote:
(2012-12-22, 21:36)giftie Wrote:
(2012-12-22, 18:47)tomer953 Wrote: look at the right-bottom corner:

http://i47.tinypic.com/2zf5oj6.jpg

this is my "The Beatles" Collection
Magical Mystery Tour is album that getting problem with the addon, no cdart and no coverart.
there IS a match to the album in musicbrainz, and there is a cdart at fanart.tv (called "Magical Mystery Tour" too)..
so why this is the only one that I have problem with?
I have this weird issue with a few more artist, but that is for the example...

Sometimes MBIDs don't always match between cdartManager and fanart.tv. I'll look into both ends.

This is what is happening...

MusicBrainz has three different 'Magical Mystery Tour' Release Groups listed as seen here -> http://musicbrainz.org/search?query=magical+mystery+tour&type=release_group&method=indexed

The script match my copy of 'Magical Mystery Tour' to the second one MBID: 6e514645-fbee-34ac-97e0-c2120a4a5644. This is correct as I use MusicBrainz Picard and XBMC stores the Release MBID as: 7090f2cf-aed9-4eec-a377-b11778c9f18c. The script then asks MusicBrainz for the Release Group MBID and gets: 6e514645-fbee-34ac-97e0-c2120a4a5644

Now on fanart.tv the 'Magic Mystery Tour' MBID used is: 9d445733-9f7d-3653-aed8-8099e5c9d1e8 which happens to be the first one(the EP)

So what does this mean? Depending on which one you have, the EP, the soundtrack or the bootleg, you have the potential for three different MBID's and really three different albums(cdarts and cover arts.)

The error is on the uploader's side at fanart.tv as they did not verify the MBID that they are uploading to. I'll see if I can fix it, if not I'll get someone to fix it.


These errors do happen as we are only human and computers are just machines(we don't always think the same) Smile I do provide a method to see the MBID's for the albums(Advanced -> Modify Addon Database -> Edit Album -> Change MBID -> Select Artist(fast way) or Select Album(a little slower as all albums are shown)

1.
you said:
Quote:Now on fanart.tv the 'Magic Mystery Tour' MBID used is: 9d445733-9f7d-3653-aed8-8099e5c9d1e8 which happens to be the first one(the EP)
how do you know the MBID in fanart.tv?
I searched in the source code of the cdart page and only found that:
Code:
<div class="inset_box">
                                            <div class="albumname"><div>Album <span>Magical Mystery Tour</span></div></div>
                                            <a rel="cdart" href="/fanart/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/cdart/magical-mystery-tour-4fd2936d773a2.png" class="bigger_image"><img title="The Beatles Magical Mystery Tour cd disc image" class="preview" src="/thumb.php?src=/fanart/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/cdart/magical-mystery-tour-4fd2936d773a2.png&w=280" alt="The Beatles Magical Mystery Tour cd disc image" /><div class="replacetext"></div></a>
can't see the MBID there..
EDIT:
ok, now I registered to fanart.tv, and when you click "upload" you see the MBID, good enough, but how your script know what is the MBID of the CDART? I want to know what the "script see" and in that way I will match my missing results...

2. I can't figure out how you find this MBID:
7090f2cf-aed9-4eec-a377-b11778c9f18c
because in this list:
http://musicbrainz.org/search?query=magical+mystery+tour&type=release_group&method=indexed
we have 2-3 Release Groups and I entered to 3 of them, and clicked at every single release, and none of them is carry the ID "7090..."

3.
ok,and for the record, I tried to change the MBID to 9d445733-9f7d-3653-aed8-8099e5c9d1e8 (the one you said is at fanart.tv) and now the cdart works.

4. by the way, Ive got the 11 tracks album, from 1967

5. another example of issue, is "Led Zeppelin" album "Led Zeppelin II" 9 tracks version from 1969.
xbmc find it, and the MBID in xbmc is:
33b4653d-006e-3cc1-8afb-386b15a6cd6e
and its true.
The CDART are ok and correct.
but CoverArt is missing.
I looked up in Fanart.tv, and I see the same MBID (I think that Im doing it right..)
so why the Cover is missing?


RE: [RELEASE] cdART Manager Script - dsiggi - 2012-12-23

Hi,
I have a problem with this script. I cannot start it.
Here some infos to my system:

Distribution: Gentoo Linux x86_64
XBMC-Version: media-tv/xbmc-11.0-r1
cdART Manager Version: 2.7.9

When I start the manager, I get the following message:
Code:
Error
Script-error!:script.cdartmanager

Here is the xbmc.log
Code:
13:13:27 T:140116857186048  NOTICE: -->Python Interpreter Initialized<--
13:13:27 T:140116857186048   ERROR: Error Type: <type 'exceptions.DeprecationWarning'>
13:13:27 T:140116857186048   ERROR: Error Contents: You cannot use pysqlite2 while depending on version 2.0 of the xbmc.python api. Please use sqlite3 instead.
13:13:27 T:140116857186048   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.cdartmanager/default.py", line 9, in <module>
                                                from pysqlite2 import dbapi2 as sqlite3
                                              File "/usr/share/xbmc/addons/script.module.pysqlite/lib/pysqlite2/__init__.py", line 36, in <module>
                                                raise DeprecationWarning("You cannot use pysqlite2 while depending on version " + str(xbmcapiversion) + " of the xbmc.python api. Please use sqlite3 instead.")
                                            DeprecationWarning: You cannot use pysqlite2 while depending on version 2.0 of the xbmc.python api. Please use sqlite3 instead.

I hope you can help me.

dsiggi


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

(2012-12-23, 10:33)tomer953 Wrote:
(2012-12-23, 02:44)giftie Wrote:
(2012-12-22, 21:36)giftie Wrote: Sometimes MBIDs don't always match between cdartManager and fanart.tv. I'll look into both ends.

This is what is happening...

MusicBrainz has three different 'Magical Mystery Tour' Release Groups listed as seen here -> http://musicbrainz.org/search?query=magical+mystery+tour&type=release_group&method=indexed

The script match my copy of 'Magical Mystery Tour' to the second one MBID: 6e514645-fbee-34ac-97e0-c2120a4a5644. This is correct as I use MusicBrainz Picard and XBMC stores the Release MBID as: 7090f2cf-aed9-4eec-a377-b11778c9f18c. The script then asks MusicBrainz for the Release Group MBID and gets: 6e514645-fbee-34ac-97e0-c2120a4a5644

Now on fanart.tv the 'Magic Mystery Tour' MBID used is: 9d445733-9f7d-3653-aed8-8099e5c9d1e8 which happens to be the first one(the EP)

So what does this mean? Depending on which one you have, the EP, the soundtrack or the bootleg, you have the potential for three different MBID's and really three different albums(cdarts and cover arts.)

The error is on the uploader's side at fanart.tv as they did not verify the MBID that they are uploading to. I'll see if I can fix it, if not I'll get someone to fix it.


These errors do happen as we are only human and computers are just machines(we don't always think the same) Smile I do provide a method to see the MBID's for the albums(Advanced -> Modify Addon Database -> Edit Album -> Change MBID -> Select Artist(fast way) or Select Album(a little slower as all albums are shown)

1.
you said:
Quote:Now on fanart.tv the 'Magic Mystery Tour' MBID used is: 9d445733-9f7d-3653-aed8-8099e5c9d1e8 which happens to be the first one(the EP)
how do you know the MBID in fanart.tv?
I searched in the source code of the cdart page and only found that:
Code:
<div class="inset_box">
                                            <div class="albumname"><div>Album <span>Magical Mystery Tour</span></div></div>
                                            <a rel="cdart" href="/fanart/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/cdart/magical-mystery-tour-4fd2936d773a2.png" class="bigger_image"><img title="The Beatles Magical Mystery Tour cd disc image" class="preview" src="/thumb.php?src=/fanart/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/cdart/magical-mystery-tour-4fd2936d773a2.png&w=280" alt="The Beatles Magical Mystery Tour cd disc image" /><div class="replacetext"></div></a>
can't see the MBID there..
EDIT:
ok, now I registered to fanart.tv, and when you click "upload" you see the MBID, good enough, but how your script know what is the MBID of the CDART? I want to know what the "script see" and in that way I will match my missing results...
I showed you how to see it on the script by using 'edit MBID'
Quote:2. I can't figure out how you find this MBID:
7090f2cf-aed9-4eec-a377-b11778c9f18c
because in this list:
http://musicbrainz.org/search?query=magical+mystery+tour&type=release_group&method=indexed
we have 2-3 Release Groups and I entered to 3 of them, and clicked at every single release, and none of them is carry the ID "7090..."
That MBID is a Release ID which you have to click on the album to see the MBID in the address bar
Quote:3.
ok,and for the record, I tried to change the MBID to 9d445733-9f7d-3653-aed8-8099e5c9d1e8 (the one you said is at fanart.tv) and now the cdart works.
This is actually incorrect as the error is on fanart.tv
Quote:4. by the way, Ive got the 11 tracks album, from 1967

5. another example of issue, is "Led Zeppelin" album "Led Zeppelin II" 9 tracks version from 1969.
xbmc find it, and the MBID in xbmc is:
33b4653d-006e-3cc1-8afb-386b15a6cd6e
and its true.
The CDART are ok and correct.
but CoverArt is missing.
I looked up in Fanart.tv, and I see the same MBID (I think that Im doing it right..)
so why the Cover is missing?

I'll have to look on fanart.tv


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

(2012-12-23, 14:12)dsiggi Wrote: Hi,
I have a problem with this script. I cannot start it.
Here some infos to my system:

Distribution: Gentoo Linux x86_64
XBMC-Version: media-tv/xbmc-11.0-r1
cdART Manager Version: 2.7.9

When I start the manager, I get the following message:
Code:
Error
Script-error!:script.cdartmanager

Here is the xbmc.log
Code:
13:13:27 T:140116857186048  NOTICE: -->Python Interpreter Initialized<--
13:13:27 T:140116857186048   ERROR: Error Type: <type 'exceptions.DeprecationWarning'>
13:13:27 T:140116857186048   ERROR: Error Contents: You cannot use pysqlite2 while depending on version 2.0 of the xbmc.python api. Please use sqlite3 instead.
13:13:27 T:140116857186048   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.cdartmanager/default.py", line 9, in <module>
                                                from pysqlite2 import dbapi2 as sqlite3
                                              File "/usr/share/xbmc/addons/script.module.pysqlite/lib/pysqlite2/__init__.py", line 36, in <module>
                                                raise DeprecationWarning("You cannot use pysqlite2 while depending on version " + str(xbmcapiversion) + " of the xbmc.python api. Please use sqlite3 instead.")
                                            DeprecationWarning: You cannot use pysqlite2 while depending on version 2.0 of the xbmc.python api. Please use sqlite3 instead.

I hope you can help me.

dsiggi

First off. Please post a full log to xbmclogs.com or pastebin

As I need it to see where the script is actually failing


RE: [RELEASE] cdART Manager Script - kees667 - 2012-12-23

I'm doing something wrong here, just updated to XBMC frodo RC2 and new version of CD art mgr. I am a little stubborn in that I use Artist\Album folder structure but when I have only one album from an artist I store loke \Artist -Album.

Somehow that worked in Eden and old cd art mgt, discart got stored in the album folders and the logos somewhere else.

Now with the new setup I get a host of artist folders made with just the artist name (some spelled funny like R.E.M_ but that was covered elsewhere, presidents of the USA became Presidents of the United States of America. I disabled the spelling corrections. not sure if what I want is still possible but can I have cd art be stored in album folders and artist clearart in a cache somewhere?

maybe time to change my structure or can I just select a folder in home and will I then also get cdart in album folders?


RE: [RELEASE] cdART Manager Script - gibxxi - 2012-12-23

If you want a tidy folder structure in your music library you'll be better off storing the art seperately to the music. cdART creates a folder for each "artist" it recognizes. So if you have albums with multiple artists specified, art will be downloaded to their own named folder seperately.

The R.E.M_ issue is because cdART has an option to replace illegal characters AND trailing full-stops / periods in artist names. If this is undesired you can disable it.

Best course of action for storing music is Artist -> Album always. Pick a naming structure, and stick to it. It will cause you less hassle in the long term.

You can't specify multiple art paths (yet) AFAIK. "Path to Music Library (For Artwork)" doesn't have to be with your music, it can be anywhere, as long as it's writable and reachable by XBMC and the skin your using. cdart.png and folder.jpg files are always stored with the music, everything else is via the path you set.


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

Hi,

(2012-12-23, 10:33)tomer953 Wrote: 3.
ok,and for the record, I tried to change the MBID to 9d445733-9f7d-3653-aed8-8099e5c9d1e8 (the one you said is at fanart.tv) and now the cdart works.

can you please do an update of the addon database and look after the update wether the changed MBID is still 9d445733-9f7d-3653-aed8-8099e5c9d1e8 or it has changed to the one before? Here with new added MBIDs they are removed after an update. Thanks.

Happy christmas to all!



RE: [RELEASE] cdART Manager Script - kees667 - 2012-12-24

Hi,

Thanks for the answer, much appreciated. Still don't understand though that I used to get cdart in the album folder and artist logo somewhere else.

Will now create a path to music library elsewhere and see what happens, will give feedback but must first restore the whole music folder over network which will take some time.

regards

(2012-12-23, 21:52)gibxxi Wrote: If you want a tidy folder structure in your music library you'll be better off storing the art seperately to the music. cdART creates a folder for each "artist" it recognizes. So if you have albums with multiple artists specified, art will be downloaded to their own named folder seperately.

The R.E.M_ issue is because cdART has an option to replace illegal characters AND trailing full-stops / periods in artist names. If this is undesired you can disable it.

Best course of action for storing music is Artist -> Album always. Pick a naming structure, and stick to it. It will cause you less hassle in the long term.

You can't specify multiple art paths (yet) AFAIK. "Path to Music Library (For Artwork)" doesn't have to be with your music, it can be anywhere, as long as it's writable and reachable by XBMC and the skin your using. cdart.png and folder.jpg files are always stored with the music, everything else is via the path you set.