[RELEASE] cdART Manager Script

  Thread Rating:
  • 6 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Kode Offline
fanart.tv admin
Posts: 750
Joined: Mar 2010
Reputation: 14
Post: #2041
Giftie do you use the JSON api? If so could you update to v3 please? http://docs.fanarttv.apiary.io/#music

Get and request your ClearLOGOs / ClearART / TV Thumbs / Season Thumbs / Music ClearLOGOs / cdART / Artist Backgrounds / CD Covers from fanart.tv

Severus Server Monitor - Self hosted application to monitor all your servers
find quote
Mike_Doc Offline
Senior Member
Posts: 135
Joined: May 2014
Reputation: 3
Post: #2042
Hi Giftie,

I seem to be having problems executing the database update, prior to executing I had artists from A-Z and now after updating the artist lists ends with just A-B and very little in the B section. My XBMC library is the same, infact I just added more which is why I#m executing CDartmanager.

Sorry, can't give you my logfile. xbmclog says it has been censored and won't upload it. Pastebin says entry is too large.

I have the file saved if there is another way to get it to you?

Perhaps it is connected to what Kode has asked as I did notice a constant repeat of 'ALBUM NOT MATCHED ON FANART.TV' in the logfile?
find quote
iceman600 Offline
Junior Member
Posts: 42
Joined: Aug 2009
Reputation: 0
Post: #2043
finally got it working! But some in my collection doest have artwork/fanart esp if the album is Various Artist collection.
Can one do it manually put a fanart with those artist have none? i tried putting one fanart as a test but when i played the song it doest show up.
find quote
Mike_Doc Offline
Senior Member
Posts: 135
Joined: May 2014
Reputation: 3
Post: #2044
@iceman600, yes you should be able to do it manually, for artists, create fanart / folder / logo / banner etc in the artist folder for albums put folder / cdart in the actually album folder. You might have to update / re-scan your library for XBMC to find the relevant images.
find quote
onlyyou Offline
Member
Posts: 75
Joined: Dec 2010
Reputation: 0
Post: #2045
having a bug when try to start the plugin
I already reinstall the plugin, delete C:\Users\Nat\AppData\Roaming\XBMC\userdata\addon_data\script.cdartmanager\
but still have this issue

18:05:33 T:10772 NOTICE: [cdART Manager] - Looking for settings.xml
18:05:33 T:10772 NOTICE: [cdART Manager] - Addon Work Folder: C:\Users\Nat\AppData\Roaming\XBMC\userdata\addon_data\script.cdartmanager\
18:05:33 T:10772 NOTICE: [cdART Manager] - Addon Database: C:\Users\Nat\AppData\Roaming\XBMC\userdata\addon_data\script.cdartmanager\l_cdar​t.db
18:05:33 T:10772 NOTICE: [cdART Manager] - Addon settings: C:\Users\Nat\AppData\Roaming\XBMC\userdata\addon_data\script.cdartmanager\settin​gs.xml
18:05:33 T:10772 NOTICE: [cdART Manager] - Addon Work Folder Found, Checking For Database
18:05:33 T:10772 NOTICE: [cdART Manager] - Addon Db not found, Must Be First Run
18:05:33 T:10772 ERROR: EXCEPTION: XML File for Window is missing
18:05:33 T:10772 NOTICE: [cdART Manager] - Error in script occured
18:05:33 T:10772 ERROR: Traceback (most recent call last):
18:05:33 T:10772 ERROR: File "C:\Users\Nat\AppData\Roaming\XBMC\addons\script.cdartmanager\default.py", line 535, in <module>
18:05:33 T:10772 ERROR: ui = gui.GUI( "script-cdartmanager.xml" , __addon__.getAddonInfo('path'), "Default")
18:05:33 T:10772 ERROR: RuntimeError: XML File for Window is missing
find quote
iceman600 Offline
Junior Member
Posts: 42
Joined: Aug 2009
Reputation: 0
Post: #2046
(2014-07-25 08:49)Mike_Doc Wrote:  @iceman600, yes you should be able to do it manually, for artists, create fanart / folder / logo / banner etc in the artist folder for albums put folder / cdart in the actually album folder. You might have to update / re-scan your library for XBMC to find the relevant images.

I did put a fanart.jpeg on the artist folder it still not showing up. I did refreshed my xbmc library and also did refeeshed the database in cdart manager (which takes too long. Just like the first time i did the database) and still the fanart didnt show up.
(This post was last modified: 2014-07-25 23:43 by iceman600.)
find quote
Mike_Doc Offline
Senior Member
Posts: 135
Joined: May 2014
Reputation: 3
Post: #2047
Hi Giftie,

here is a debug log from latest stalling issue when program is 'checking fanart.tv for new artwork'

http://xbmclogs.com/show.php?id=258215
hope you can help as this and the artists issue are the problems I'm having at the moment.

Mike.
find quote
iceman600 Offline
Junior Member
Posts: 42
Joined: Aug 2009
Reputation: 0
Post: #2048
Do i have to update the database library every time I add a music or an album? Is there a quicker way not to scan all the library again? Im asking because i have a huge music library and every time i add a song or an album the update database is taking forever just to add the previous album or song i add.
find quote
bryanbrazil Offline
Fan
Posts: 343
Joined: Aug 2012
Reputation: 10
Post: #2049
(2014-08-09 08:24)iceman600 Wrote:  Do i have to update the database library every time I add a music or an album? Is there a quicker way not to scan all the library again? Im asking because i have a huge music library and every time i add a song or an album the update database is taking forever just to add the previous album or song i add.
I use The Scheduler addon to update the cdART database at night when I'm not using the htpc.
find quote
iceman600 Offline
Junior Member
Posts: 42
Joined: Aug 2009
Reputation: 0
Post: #2050
(2014-08-10 21:02)bryanbrazil Wrote:  
(2014-08-09 08:24)iceman600 Wrote:  Do i have to update the database library every time I add a music or an album? Is there a quicker way not to scan all the library again? Im asking because i have a huge music library and every time i add a song or an album the update database is taking forever just to add the previous album or song i add.
I use The Scheduler addon to update the cdART database at night when I'm not using the htpc.

I wish there was a run in the background option so i can still use my htpc while the database is updating Sad
find quote
CaptainKen Offline
Fan
Posts: 732
Joined: Mar 2011
Reputation: 6
Location: Arizona
Post: #2051
When i try to run cdART nothing happens other than the error below.

Full lLOG file here

Code:
13:40:57 T:3880   DEBUG: [cdART Manager] - sys.argv[0]: script.cdartmanager
13:40:57 T:3880  NOTICE: [cdART Manager] - Addon Work Folder: C:\Users\Admin\AppData\Roaming\XBMC\userdata\addon_data\script.cdartmanager\
13:40:57 T:3880  NOTICE: [cdART Manager] - Addon Database: C:\Users\Admin\AppData\Roaming\XBMC\userdata\addon_data\script.cdartmanager\l_cd​art.db
13:40:57 T:3880  NOTICE: [cdART Manager] - Addon settings: C:\Users\Admin\AppData\Roaming\XBMC\userdata\addon_data\script.cdartmanager\sett​ings.xml
13:40:57 T:3880  NOTICE: [cdART Manager] - Addon Work Folder Found, Checking For Database
13:40:57 T:3880  NOTICE: [cdART Manager] - Addon Db Found, Checking Database Version
13:40:57 T:3880  NOTICE: [cdART Manager] - Looking for database version: 3.0.3
13:40:57 T:3880  NOTICE: [cdART Manager] - Database matched
13:40:57 T:3880   ERROR: EXCEPTION: XML File for Window is missing
13:40:57 T:3880  NOTICE: [cdART Manager] - Error in script occured
13:40:57 T:3880   ERROR: Traceback (most recent call last):
13:40:57 T:3880   ERROR:   File "C:\Users\Admin\AppData\Roaming\XBMC\addons\script.cdartmanager\default.py", line 535, in <module>
13:40:57 T:3880   ERROR:     ui = gui.GUI( "script-cdartmanager.xml" , __addon__.getAddonInfo('path'), "Default")
13:40:57 T:3880   ERROR: RuntimeError: XML File for Window is missing
13:40:57 T:2580   DEBUG: ------ Window Deinit () ------
13:40:57 T:2580   DEBUG: ------ Window Deinit (DialogAlbumInfo.xml) ------
13:40:57 T:2580   DEBUG: CApplication::ExecuteXBMCAction : Translating clearProperty(ArtistSlideshow.ExternalCall)
13:40:57 T:2580   DEBUG: CApplication::ExecuteXBMCAction : To clearProperty(ArtistSlideshow.ExternalCall)
13:40:57 T:2580   DEBUG: ------ Window Init () ------
13:40:57 T:3880    INFO: Scriptresult: Success
13:40:57 T:3880    INFO: Python script stopped
13:40:57 T:3880   DEBUG: Thread XBPyThread 3880 terminating
13:40:57 T:2580   DEBUG: waiting for python thread 26 (C:\Users\Admin\AppData\Roaming\XBMC\addons\script.cdartmanager\default.py) to stop
13:40:57 T:2580   DEBUG: python thread 26 (C:\Users\Admin\AppData\Roaming\XBMC\addons\script.cdartmanager\default.py) destructed

www.CaptainKen.us
www.YouTube.com/KenInGilbert
My Media Center Pics & Specs
Synology DS1813+ RAID 6 NAS, 22TB useable space

find quote
CaptainKen Offline
Fan
Posts: 732
Joined: Mar 2011
Reputation: 6
Location: Arizona
Post: #2052
(2014-08-24 22:57)CaptainKen Wrote:  When i try to run cdART nothing happens other than the error below.

Full lLOG file here

Code:
13:40:57 T:3880   DEBUG: [cdART Manager] - sys.argv[0]: script.cdartmanager
13:40:57 T:3880  NOTICE: [cdART Manager] - Addon Work Folder: C:\Users\Admin\AppData\Roaming\XBMC\userdata\addon_data\script.cdartmanager\
13:40:57 T:3880  NOTICE: [cdART Manager] - Addon Database: C:\Users\Admin\AppData\Roaming\XBMC\userdata\addon_data\script.cdartmanager\l_cd​art.db
13:40:57 T:3880  NOTICE: [cdART Manager] - Addon settings: C:\Users\Admin\AppData\Roaming\XBMC\userdata\addon_data\script.cdartmanager\sett​ings.xml
13:40:57 T:3880  NOTICE: [cdART Manager] - Addon Work Folder Found, Checking For Database
13:40:57 T:3880  NOTICE: [cdART Manager] - Addon Db Found, Checking Database Version
13:40:57 T:3880  NOTICE: [cdART Manager] - Looking for database version: 3.0.3
13:40:57 T:3880  NOTICE: [cdART Manager] - Database matched
13:40:57 T:3880   ERROR: EXCEPTION: XML File for Window is missing
13:40:57 T:3880  NOTICE: [cdART Manager] - Error in script occured
13:40:57 T:3880   ERROR: Traceback (most recent call last):
13:40:57 T:3880   ERROR:   File "C:\Users\Admin\AppData\Roaming\XBMC\addons\script.cdartmanager\default.py", line 535, in <module>
13:40:57 T:3880   ERROR:     ui = gui.GUI( "script-cdartmanager.xml" , __addon__.getAddonInfo('path'), "Default")
13:40:57 T:3880   ERROR: RuntimeError: XML File for Window is missing
13:40:57 T:2580   DEBUG: ------ Window Deinit () ------
13:40:57 T:2580   DEBUG: ------ Window Deinit (DialogAlbumInfo.xml) ------
13:40:57 T:2580   DEBUG: CApplication::ExecuteXBMCAction : Translating clearProperty(ArtistSlideshow.ExternalCall)
13:40:57 T:2580   DEBUG: CApplication::ExecuteXBMCAction : To clearProperty(ArtistSlideshow.ExternalCall)
13:40:57 T:2580   DEBUG: ------ Window Init () ------
13:40:57 T:3880    INFO: Scriptresult: Success
13:40:57 T:3880    INFO: Python script stopped
13:40:57 T:3880   DEBUG: Thread XBPyThread 3880 terminating
13:40:57 T:2580   DEBUG: waiting for python thread 26 (C:\Users\Admin\AppData\Roaming\XBMC\addons\script.cdartmanager\default.py) to stop
13:40:57 T:2580   DEBUG: python thread 26 (C:\Users\Admin\AppData\Roaming\XBMC\addons\script.cdartmanager\default.py) destructed

Bump.

www.CaptainKen.us
www.YouTube.com/KenInGilbert
My Media Center Pics & Specs
Synology DS1813+ RAID 6 NAS, 22TB useable space

find quote
Co2p Offline
Junior Member
Posts: 2
Joined: Aug 2014
Reputation: 0
Post: #2053
I get the following error after the initial album scan:

Code:
21:02:47 T:4736352256   DEBUG: [cdART Manager] - Path does not exist: 'sftp://user:passwd@ip:22/media/Music/Yellow Submarine'
21:02:47 T:4736352256   DEBUG: Previous line repeats 14 times.
21:02:47 T:4736352256   DEBUG: [cdART Manager] - XBMC Music Library does not exist, aborting database creation
21:02:47 T:4736352256   DEBUG: [cdART Manager] - Retrieving Local Album Artists from Database
21:02:47 T:4736352256   ERROR: Traceback (most recent call last):
21:02:47 T:4736352256   ERROR:   File "/Users/user/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/database.py", line 619, in get_local_artists_db
21:02:47 T:4736352256   ERROR:     c.execute(query)
21:02:47 T:4736352256   ERROR: OperationalError: no such table: lalist
21:02:47 T:4736352256   DEBUG: [cdART Manager] - Retrieving Local Album Artists from Database
21:02:47 T:4736352256   ERROR: Traceback (most recent call last):
21:02:47 T:4736352256   ERROR:   File "/Users/user/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/database.py", line 619, in get_local_artists_db
21:02:47 T:4736352256   ERROR:     c.execute(query)
21:02:47 T:4736352256   ERROR: OperationalError: no such table: lalist
21:02:47 T:4736352256  NOTICE: [cdART Manager] - Checking for artist match with fanart.tv - First Check
21:02:47 T:4736352256   DEBUG: DialogProgress::StartModal called (already running)!
21:02:47 T:4736352256   DEBUG: ------ Window Init (DialogProgress.xml) ------
21:02:47 T:4736352256   DEBUG: [cdART Manager] - Storing Album Artists List
21:02:47 T:4736352256   DEBUG: [cdART Manager] - Storing lalist
21:02:47 T:4736352256   DEBUG: [cdART Manager] - Finished Storing lalist
21:02:47 T:4736352256   DEBUG: [cdART Manager] - Counting Local Artists, Albums and cdARTs
21:02:47 T:4736352256   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'sqlite3.OperationalError'>
                                            Error Contents: no such table: counts
                                            Traceback (most recent call last):
                                              File "/Users/user/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/gui.py", line 71, in onInit
                                                self.setup_all()
                                              File "/Users/user/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/gui.py", line 1048, in setup_all
                                                first_check( all_artists, local_artists )
                                              File "/Users/user/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/fanarttv_scraper.py", line 356, in first_check
                                                store_fanarttv_datecode( present_datecode )
                                              File "/Users/user/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/database.py", line 430, in store_fanarttv_datecode
                                                local_artist_count, album_count, artist_count, cdart_existing = new_local_count()
                                              File "/Users/user/Library/Application Support/XBMC/addons/script.cdartmanager/resources/lib/database.py", line 718, in new_local_count
                                                c.execute(query)
                                            OperationalError: no such table: counts
                                            -->End of Python script error report<--
find quote
pharmeceutikle Offline
Member
Posts: 65
Joined: Mar 2013
Reputation: 0
Post: #2054
(2014-08-19 04:57)iceman600 Wrote:  
(2014-08-10 21:02)bryanbrazil Wrote:  
(2014-08-09 08:24)iceman600 Wrote:  Do i have to update the database library every time I add a music or an album? Is there a quicker way not to scan all the library again? Im asking because i have a huge music library and every time i add a song or an album the update database is taking forever just to add the previous album or song i add.
I use The Scheduler addon to update the cdART database at night when I'm not using the htpc.

I wish there was a run in the background option so i can still use my htpc while the database is updating Sad

That's a good question, cuz I'm running cdArt for the first time and it's going on 14 hours building a database. It's just halfway lol! If you guessed correctly, yes I have 4000+ albums! So, when I add anything and want to update my collection, I have to wait about a day before it's finished? I just wanted to test this add-on out and I've been waiting for myself to use this haha! I think background updating would be great.

Edit: I saw there is an option to run database update in background. Doh!
(This post was last modified: 2014-09-11 20:35 by pharmeceutikle.)
find quote
Post Reply