[RELEASE] cdART Manager Script

  Thread Rating:
  • 6 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
giftie Offline
Skilled Python Coder
Posts: 2,071
Joined: Mar 2010
Reputation: 36
Post: #821
(2012-04-16 13:49)shaktoo Wrote:  Giftie is there anyway to backup the cdartmanager's database ( not the cdarts or fanarts etc ) . I have recently had to reinstall XBMC from scratch ( 2-3 times)and frankly having to buildup database for 2000 albums is really a PITA. Is there any way that I could just backup the db file and just replace that incase of reinstalling.( Could it be that I just go into the userdata/addon database/ cdartmanager & see if there is a db file copy that and replace in case of a reinstall?) BTW I tried searching in the thread & in google but could find any related posts. I am on Winders7x64 with eden 11& AeonNox. Thanks
The File you need to copy is in the userdata\addon_data\script.cdartmanager\l_cdart.db.

(2012-04-16 16:11)shaktoo Wrote:  Thanks Martijn,
Could a similar option to backup data ( esp if no changes in music library structure ) be incorporated & for importing in case of a reinstall ? if that's not too much that is ..might just help ppl. who find themselves reinstalling to have such option in the GUI
BTW any thoughts on my post http://forum.xbmc.org/showthread.php?tid=128927
As Martijn stated the XBMC library needs to be exactly the same(Might aswell copy the MyMusicxx.db(xx = 18 for Eden) )

The next release does have an update option(finally figured it out) for the script, so it should help reduce the about of time. For example if you copy both the MyMusic18.db and the l_cdart.db then perform an Music Library update then with the new version of the script, update the addon's database, the script's db should be updated and matched to XBMC's library.


(2012-04-16 10:58)simpic Wrote:  HI,

Re scanned the library and it is now running through all the item in the music folders.

It does seem to be having issues connecting to MusicBrainz...

Code:
09:44:06 T:4612   DEBUG: [script.cdartmanager] - Retieving MusicBrainz Info - Not including Singles
09:44:06 T:4612   DEBUG: [script.cdartmanager] - Artist: 'Arctic Monkeys'
09:44:06 T:4612   DEBUG: [script.cdartmanager] - Album: 'Favourite Worst Nightmare'
09:44:06 T:5892   ERROR: [script.cdartmanager] - Error: HTTP Error 503: Service Unavailable
09:44:07 T:5892   ERROR: Previous line repeats 1 times.
09:44:07 T:5892   DEBUG: [script.cdartmanager] - MusicBrainz AlbumId:
09:44:07 T:5892   DEBUG: [script.cdartmanager] - MusicBrainz ArtistId:

Sorry about that.. It seems they have tightened down even more at MusicBrainz.. The next release changes the method of retrieving the MusicBrainz info. And I will be notified with any excessive use.

I'll try to have a test version out this week..

[Image: e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e...4c076g.jpg]
For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script.
Cinema Experience
Cinema Experience Wiki
cdART Manager
fanart.tv


(This post was last modified: 2012-04-17 03:37 by giftie.)
find quote
Hellnino18 Offline
Member
Posts: 98
Joined: Jan 2011
Reputation: 0
Post: #822
Hey there,

I don't understand why some albums of a user aren't retrieve from fanart.tv. I need to go manually on the website, download the cdart.png and put this image into the folder... It's pretty space.
find quote
gates Offline
Member
Posts: 67
Joined: Jun 2010
Reputation: 0
Post: #823
Hi,

I guess this "bug" is already known ...
When the script download any fanart/logo for the band AC/DC, the DL-directory become /my_music_drive/sort_by_artist/AC/DC/extrafanart/xxx.jpg

Would be great if the script can catch this band, and make the directory as "ACDC" or "AC-DC", or "AC DC" Smile

I know is not really a bug. Maybe it will be pain in the ass for only 1 artist/band.
By the way, it's a great addon. thx for that Smile
find quote
hi_its_me_scott Offline
Junior Member
Posts: 48
Joined: Jan 2011
Reputation: 0
Post: #824
Is there a certain folder structure that must be followed? I have about 75 mp3s dumped into a test folder. I set up the cdart manager and it says "creating addon database retrieving album details", but it seems to hang there. I don't know if it is supposed to show progress on the bar or in % format, but it doesn't show either.

Thanks.

Aeon Nox 2.0/Eden/Win 7

The music is on a stand alone server.
find quote
giftie Offline
Skilled Python Coder
Posts: 2,071
Joined: Mar 2010
Reputation: 36
Post: #825
(2012-04-20 06:45)hi_its_me_scott Wrote:  Is there a certain folder structure that must be followed? I have about 75 mp3s dumped into a test folder. I set up the cdart manager and it says "creating addon database retrieving album details", but it seems to hang there. I don't know if it is supposed to show progress on the bar or in % format, but it doesn't show either.

Thanks.

Aeon Nox 2.0/Eden/Win 7

The music is on a stand alone server.

For cdART Manager to work, your music needs to be scanned into XBMC's Music Library

For cdARTs and Cover art to work the Albums need to be in separate folders

For clearLOGOs and fanarts(including extrafanarts) Artists need to be in separate folders.(though not essential)

The perferred method of organizing the music is the following:

Music
-----> Artist1
-------------->Album1
------------------------> track.mp3(.flac, .wav, .wmv)
------------------------> track.mp3(.flac, .wav, .wmv)
-------------->Album2
------------------------> track.mp3(.flac, .wav, .wmv)
------------------------> track.mp3(.flac, .wav, .wmv)
-----> Artist2
-------------->Album1
------------------------> track.mp3(.flac, .wav, .wmv)
------------------------> track.mp3(.flac, .wav, .wmv)

Though this format is not enforced, just that the Albums need to be in separate folder, this is because cdARTs are placed in the Album level)

If you set the 'Path to Music Library' to an 'Artwork' path, the script will use this for storing the Artist Fanarts and clearLOGOs(and create folders as needed). This path should be matched to the one in the Skin's settings

If your music has been added to XBMC's music library and you are still having problems, please post a debug log file(see signature for instructions)
(2012-04-19 23:09)gates Wrote:  Hi,

I guess this "bug" is already known ...
When the script download any fanart/logo for the band AC/DC, the DL-directory become /my_music_drive/sort_by_artist/AC/DC/extrafanart/xxx.jpg

Would be great if the script can catch this band, and make the directory as "ACDC" or "AC-DC", or "AC DC" Smile

I know is not really a bug. Maybe it will be pain in the ass for only 1 artist/band.
By the way, it's a great addon. thx for that Smile

You're right, not really a bug. XBMC provides the script and the skins with the Artist as AC/DC. Both look for this as the artist part of the path to the extrafanarts/clearLOGOs(normally) Changing it would probably not allow the artwork to show.

(2012-04-19 22:56)Hellnino18 Wrote:  Hey there,

I don't understand why some albums of a user aren't retrieve from fanart.tv. I need to go manually on the website, download the cdart.png and put this image into the folder... It's pretty space.

Sometimes when building the intial addon database, the MusicBrainz ID's are not retrived from MusicBrainz. This is due to MusicBrainz being overloaded by programs accessing their database using the same process as the script does(Headphones also has had this problem) I have made changes to the next release that will hopefully fix this problem and will allow MusicBrainz to notify me if the script is violating their policies(they will have the ability to email me)

Also the next release has an Update feature that not only allows you to update the database when you add new music to XBMC, but also fill in the missing ID's created by an older version.

I'm testing it out to see if it's ready for posting as a test version(before I push it to the Official Repo)

Keep your eyes open...

[Image: e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e...4c076g.jpg]
For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script.
Cinema Experience
Cinema Experience Wiki
cdART Manager
fanart.tv


(This post was last modified: 2012-04-20 07:13 by giftie.)
find quote
shaktoo Offline
Fan
Posts: 642
Joined: Mar 2010
Reputation: 3
Location: in LIMBO
Post: #826
giftie that's exciting news ... and exactly what I was looking for as well ...cant wait to test this .. cheers
find quote
Hellnino18 Offline
Member
Posts: 98
Joined: Jan 2011
Reputation: 0
Post: #827
Thanks a lot giftie. New test version for this weekend? Big Grin

I have almost finish the translate of your great addon, I need to test it another time and I will give it to you.


If I understand, if I click on "Update Music Database", it will refresh my addon database or not? Because if I try "Refresh Addon Database", everything is deleted and I need to rescrape my entire database Music.

Thanks a lot again Wink
find quote
giftie Offline
Skilled Python Coder
Posts: 2,071
Joined: Mar 2010
Reputation: 36
Post: #828
(2012-04-20 15:32)Hellnino18 Wrote:  Thanks a lot giftie. New test version for this weekend? Big Grin

I have almost finish the translate of your great addon, I need to test it another time and I will give it to you.


If I understand, if I click on "Update Music Database", it will refresh my addon database or not? Because if I try "Refresh Addon Database", everything is deleted and I need to rescrape my entire database Music.

Thanks a lot again Wink

Update Music Database & Clean Music Database - XBMC Database
Refresh Addon Database - deletes the database then rebuilds the database.

The next release will add the update addon database.

[Image: e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e...4c076g.jpg]
For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script.
Cinema Experience
Cinema Experience Wiki
cdART Manager
fanart.tv


find quote
ensy3k Offline
Member
Posts: 60
Joined: Nov 2011
Reputation: 0
Location: Germany
Post: #829
In my repo says CDart Manager is broken.
Have any url for Download this Plugin?
find quote
giftie Offline
Skilled Python Coder
Posts: 2,071
Joined: Mar 2010
Reputation: 36
Post: #830
(2012-04-24 21:52)ensy3k Wrote:  In my repo says CDart Manager is broken.
Have any url for Download this Plugin?

Check the first page of this thread.

[Image: e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e...4c076g.jpg]
For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script.
Cinema Experience
Cinema Experience Wiki
cdART Manager
fanart.tv


find quote
Post Reply