• 1
  • 53
  • 54
  • 55(current)
  • 56
  • 57
  • 157
[RELEASE] cdART Manager Script
(2012-04-15, 09:39)Hellnino18 Wrote:
(2012-04-15, 09:34)giftie Wrote: The path to Music library needs to be set for clearLogos and extrafanarts. It should be the option above the cdART Backup folder.

Why it's not like for cdart and it save each clearLogos in each folder of artist?
XBMC does not provide a path to the Artist level of the music path. It really only provides the track path. A lot of skins use the same method to calculate this path as the script does(I actually fashioned it after Transparency!'s method). This did provide the this artwork(fanart and clearLogos) to be able to be moved to a different path, away from the actual music path.

(2012-04-15, 18:23)Hellnino18 Wrote: Indeed, it was the problem. I put the path to a music library with writeable rights, and everything goes right. Thanks for everyone who help and if you want a change on the french translate, tell me Smile
If you want to translate, I'd be more than happy to include it. If you do, please translate from the script.cdartmanager\resources\language\English\strings.xml file as this is the main language strings.

I look forward to Frodo, when an online system for translating is implemented... Smile
Hi,

Getting the following error when trying to run the add on...

Code:
18:48:22 T:2232  NOTICE: [script.cdartmanager] - ############################################################
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    cdART Manager                                         #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #        default.py module                                 #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    script.cdartmanager                                   #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    Giftie                                                #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    2.5.1                                                 #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    Ppic, Reaven, Imaginos, redje, Jair,                  #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    Chaos_666, Magnatism, Kode                            #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    Thanks for the help guys...                           #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - ############################################################
18:48:23 T:2232   ERROR: Traceback (most recent call last):
18:48:23 T:2232   ERROR:   File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\json_utils.py", line 28, in retrieve_json_dict
18:48:23 T:2232   ERROR:     json_dict = result[items]
18:48:23 T:2232   ERROR: TypeError: 'NoneType' object is unsubscriptable
18:48:23 T:2232  NOTICE: Unexpected error:
18:48:23 T:2232  NOTICE: <type 'exceptions.TypeError'>
18:48:23 T:2232   ERROR: Error Type: <type 'exceptions.TypeError'>
18:48:23 T:2232   ERROR: Error Contents: object of type 'NoneType' has no len()
18:48:23 T:2232   ERROR: Traceback (most recent call last):
                                              File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager/default.py", line 66, in <module>
                                                local_album_count, local_artist_count, local_cdart_count = refresh_db( True )
                                              File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\database.py", line 516, in refresh_db
                                                local_album_count, local_artist_count, local_cdart_count = new_database_setup( background )
                                              File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\database.py", line 351, in new_database_setup
                                                local_album_list = get_xbmc_database_info( background )
                                              File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\database.py", line 60, in get_xbmc_database_info
                                                album_list, total = retrieve_album_list()
                                              File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\pre_eden_code.py", line 19, in retrieve_album_list
                                                return json_albums, len(json_albums)
                                            TypeError: object of type 'NoneType' has no len()

Running this set up...

Code:
18:06:25 T:2416  NOTICE: -----------------------------------------------------------------------
18:06:25 T:2416  NOTICE: Starting XBMC (11.0-HD-Audio Git:HD-audio-20120325), Platform: Windows 7, 32-bit Service Pack 1 build 7601. Built on Mar 25 2012 (compiler 1600)
18:06:25 T:2416  NOTICE: AMD Athlon(tm) Dual Core Processor 4850e
18:06:25 T:2416  NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
18:06:25 T:2416  NOTICE: Running with administrator rights
18:06:25 T:2416  NOTICE: Aero is disabled
18:06:25 T:2416  NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
18:06:25 T:2416  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files\XBMC
18:06:25 T:2416  NOTICE: special://masterprofile/ is mapped to: C:\Users\media\AppData\Roaming\XBMC\userdata
18:06:25 T:2416  NOTICE: special://home/ is mapped to: C:\Users\media\AppData\Roaming\XBMC\
18:06:25 T:2416  NOTICE: special://temp/ is mapped to: C:\Users\media\AppData\Roaming\XBMC\cache
18:06:25 T:2416  NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
18:06:25 T:2416  NOTICE: Local hostname: media-PC
18:06:25 T:2416  NOTICE: Log File is located: C:\Users\media\AppData\Roaming\XBMC\xbmc.log

Can you advise why the script is failing?

Regards,

simpic
(2012-04-15, 18:59)giftie Wrote:
(2012-04-15, 09:39)Hellnino18 Wrote:
(2012-04-15, 09:34)giftie Wrote: The path to Music library needs to be set for clearLogos and extrafanarts. It should be the option above the cdART Backup folder.

Why it's not like for cdart and it save each clearLogos in each folder of artist?
XBMC does not provide a path to the Artist level of the music path. It really only provides the track path. A lot of skins use the same method to calculate this path as the script does(I actually fashioned it after Transparency!'s method). This did provide the this artwork(fanart and clearLogos) to be able to be moved to a different path, away from the actual music path.

(2012-04-15, 18:23)Hellnino18 Wrote: Indeed, it was the problem. I put the path to a music library with writeable rights, and everything goes right. Thanks for everyone who help and if you want a change on the french translate, tell me Smile
If you want to translate, I'd be more than happy to include it. If you do, please translate from the script.cdartmanager\resources\language\English\strings.xml file as this is the main language strings.

I look forward to Frodo, when an online system for translating is implemented... Smile

I will help you, no problem and I will MP you to send the translate, or you want another way to get the new translate file?
I have the same error than simpic...
Have you built your music library in XBMC?

and a debug log would be needed to figure out the error.

(2012-04-15, 19:51)simpic Wrote: Hi,

Getting the following error when trying to run the add on...

Code:
18:48:22 T:2232  NOTICE: [script.cdartmanager] - ############################################################
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    cdART Manager                                         #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #        default.py module                                 #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    script.cdartmanager                                   #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    Giftie                                                #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    2.5.1                                                 #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    Ppic, Reaven, Imaginos, redje, Jair,                  #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    Chaos_666, Magnatism, Kode                            #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - #    Thanks for the help guys...                           #
18:48:22 T:2232  NOTICE: [script.cdartmanager] - ############################################################
18:48:23 T:2232   ERROR: Traceback (most recent call last):
18:48:23 T:2232   ERROR:   File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\json_utils.py", line 28, in retrieve_json_dict
18:48:23 T:2232   ERROR:     json_dict = result[items]
18:48:23 T:2232   ERROR: TypeError: 'NoneType' object is unsubscriptable
18:48:23 T:2232  NOTICE: Unexpected error:
18:48:23 T:2232  NOTICE: <type 'exceptions.TypeError'>
18:48:23 T:2232   ERROR: Error Type: <type 'exceptions.TypeError'>
18:48:23 T:2232   ERROR: Error Contents: object of type 'NoneType' has no len()
18:48:23 T:2232   ERROR: Traceback (most recent call last):
                                              File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager/default.py", line 66, in <module>
                                                local_album_count, local_artist_count, local_cdart_count = refresh_db( True )
                                              File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\database.py", line 516, in refresh_db
                                                local_album_count, local_artist_count, local_cdart_count = new_database_setup( background )
                                              File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\database.py", line 351, in new_database_setup
                                                local_album_list = get_xbmc_database_info( background )
                                              File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\database.py", line 60, in get_xbmc_database_info
                                                album_list, total = retrieve_album_list()
                                              File "C:\Users\media\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\pre_eden_code.py", line 19, in retrieve_album_list
                                                return json_albums, len(json_albums)
                                            TypeError: object of type 'NoneType' has no len()

Running this set up...

Code:
18:06:25 T:2416  NOTICE: -----------------------------------------------------------------------
18:06:25 T:2416  NOTICE: Starting XBMC (11.0-HD-Audio Git:HD-audio-20120325), Platform: Windows 7, 32-bit Service Pack 1 build 7601. Built on Mar 25 2012 (compiler 1600)
18:06:25 T:2416  NOTICE: AMD Athlon(tm) Dual Core Processor 4850e
18:06:25 T:2416  NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
18:06:25 T:2416  NOTICE: Running with administrator rights
18:06:25 T:2416  NOTICE: Aero is disabled
18:06:25 T:2416  NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
18:06:25 T:2416  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files\XBMC
18:06:25 T:2416  NOTICE: special://masterprofile/ is mapped to: C:\Users\media\AppData\Roaming\XBMC\userdata
18:06:25 T:2416  NOTICE: special://home/ is mapped to: C:\Users\media\AppData\Roaming\XBMC\
18:06:25 T:2416  NOTICE: special://temp/ is mapped to: C:\Users\media\AppData\Roaming\XBMC\cache
18:06:25 T:2416  NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
18:06:25 T:2416  NOTICE: Local hostname: media-PC
18:06:25 T:2416  NOTICE: Log File is located: C:\Users\media\AppData\Roaming\XBMC\xbmc.log

Can you advise why the script is failing?

Regards,

simpic


(2012-04-15, 21:29)Hellnino18 Wrote: I have the same error than simpic...

I thought you were already running the script, only having a problem with clearLOGOs. simpic is having a problem when the script is first run(when it builds the addon's database)

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:
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
(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

That should do it unless there was a program update which needs a newer db. Your music also needs to be in the exact same way stored in your rebuild xbmc database
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
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
Don't see the point in adding that for those realy rare cases.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
(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..


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.
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
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.
(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...
  • 1
  • 53
  • 54
  • 55(current)
  • 56
  • 57
  • 157

Logout Mark Read Team Forum Stats Members Help
[RELEASE] cdART Manager Script6