[RELEASE] cdART Manager Script

  Thread Rating:
  • 6 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
giftie Online
Skilled Python Coder
Posts: 2,033
Joined: Mar 2010
Reputation: 35
Post: #291
jasonlcox Wrote:Thanks giftie!

Yes, both of those paths are correct (capitalisation and naming).

I restarted XBMC in Debug mode, waited about 5 minutes, then ran cdART Manager. Tried Search Artist for cdArt and coverart, but after that it stopped working - I'd just get the spinning "working" icon. I could back out of the menu and exit the program, but not run any more searches.

Here is the pastebin:

http://pastebin.com/CS8C3xL1

Would you like me to reboot and try Search Artist for the other categories, or try Auto Download?

I think I have all three of the errors you came across nailed down, just testing on my Dharma system to see if it's fixed.

[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
jasonlcox Offline
Junior Member
Posts: 49
Joined: Sep 2010
Reputation: 0
Post: #292
That's excellent, thanks giftie.
find quote
solidsatras Offline
Senior Member
Posts: 289
Joined: Mar 2010
Reputation: 10
Post: #293
Folder creation on smb-shares seems to be broken at the moment.
This worked last week but with the latest version of cdART(1.3.8) together with today´s nightly it doesn't anymore.

Code:
22:31:15 T:3424 M:2445070336  NOTICE: [script.cdartmanager] - #    Artist: 'The Beatles'                            Local ID: 35           Distant ID: b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d
22:31:15 T:3424 M:2445070336   DEBUG: [script.cdartmanager] - #   Finding remote fanart
22:31:15 T:3424 M:2445070336   DEBUG: [script.cdartmanager] - Retrieving artwork for artist id: b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d
22:31:15 T:3424 M:2445070336   DEBUG: [script.cdartmanager] - Retrieving HTML Source
22:31:15 T:3424 M:2445070336  NOTICE: b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d.xml
22:31:16 T:3424 M:2445004800   DEBUG: [script.cdartmanager] - HTML Source:
                                            <?xml version="1.0"?>
                                            <music id="b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d" name="The Beatles"><backgrounds><background>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/artistbackground/the-beatles-4def8588ae28b.jpg</background><background>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/artistbackground/the-beatles-4def850949c8f.jpg</background><background>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/artistbackground/the-beatles-4def84db0dabd.jpg</background><background>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/artistbackground/the-beatles-4ddaaf1a51231.jpg</background></backgrounds><clearlogos><clearlogo>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/musiclogo/the-beatles-4e0468cfd92a7.png</clearlogo><clearlogo>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/musiclogo/the-beatles-4e04679a32bb3.png</clearlogo><clearlogo>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/musiclogo/the-beatles-4e046694a427b.png</clearlogo></clearlogos><albums><album id="31770e0a-e537-376d-a7c0-48e507f3105e"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/twist-and-shout-4ddaafee14a21.jpg</cover></album><album id="055be730-dcad-31bf-b550-45ba9c202aa3"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/the-beatles-disc-1-4def8ef242c93.jpg</cover></album><album id="9f7a4c28-8fa2-3113-929c-c47a9f7982c3"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/sgt-peppers-lonely-hearts-club-band-4ddaafee19c2a.jpg</cover></album><album id="dca03435-8adb-30a5-ba82-5a162267ff38"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/rubber-soul-4ddaafee1c33b.jpg</cover></album><album id="72d15666-99a7-321e-b1f3-a3f8c09dff9f"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/revolver-4ddaafee1751a.jpg</cover></album><album id="4127b25a-e97f-3604-a0de-046940377d9c"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/revolver--magical-mystery-tour-4ddaafee15daa.jpg</cover></album><album id="de208292-8db5-3aed-a14a-b37a84d8c521"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/please-please-me-4ddaafee1d6c3.jpg</cover></album><album id="bff544a7-56e0-3ed6-9e0f-3b676cca9111"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/let-it-be-4ddaafee1afb4.jpg</cover></album><album id="0d44e1cb-c6e0-3453-8b68-4d2082f05421"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/help-4ddaafee13a81.jpg</cover></album><album id="f50a3b6f-27f0-3832-bd3f-3568dc557d95"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/beatles-for-sale-4ddaafee1ea4b.jpg</cover></album><album id="9162580e-5df4-32de-80cc-f45a8d8a9b1d"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/abbey-road-4ddaafee188a2.jpg</cover></album><album id="06281c4d-112d-33b0-a25b-df63b420eae7"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/a-hard-days-night-4ddaafee0bd80.jpg</cover></album><album id="4f539c70-1a19-37a3-ba14-979f11fc0686"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/1-4def8ef24b165.jpg</cover></album></albums></music>
22:31:16 T:3424 M:2445004800   DEBUG: [script.cdartmanager] - Found FanART
22:31:16 T:3424 M:2445004800   ERROR: Traceback (most recent call last):
22:31:16 T:3424 M:2445004800   ERROR:   File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\down​load.py", line 203, in auto_download
22:31:16 T:3424 M:2445004800   ERROR:     make_dir( auto_art["path"] )
22:31:16 T:3424 M:2445004800   ERROR: WindowsError: [Error 123] Die Syntax f??en Dateinamen, Verzeichnisnamen oder die Datentr?rbezeichnung ist falsch: 'smb://STORAGE/Multimedia/Musik/MP3/_xbmc_alben/The Beatles\\extrafanart'
22:31:16 T:3424 M:2445004800   DEBUG: [script.cdartmanager] - unable to make extrafanart directory

Debug log

Maybe just some problem with the nightly. I will try different versions to verify.
find quote
giftie Online
Skilled Python Coder
Posts: 2,033
Joined: Mar 2010
Reputation: 35
Post: #294
solidsatras Wrote:Folder creation on smb-shares seems to be broken at the moment.
This worked last week but with the latest version of cdART(1.3.8) together with today´s nightly it doesn't anymore.

Code:
22:31:15 T:3424 M:2445070336  NOTICE: [script.cdartmanager] - #    Artist: 'The Beatles'                            Local ID: 35           Distant ID: b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d
22:31:15 T:3424 M:2445070336   DEBUG: [script.cdartmanager] - #   Finding remote fanart
22:31:15 T:3424 M:2445070336   DEBUG: [script.cdartmanager] - Retrieving artwork for artist id: b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d
22:31:15 T:3424 M:2445070336   DEBUG: [script.cdartmanager] - Retrieving HTML Source
22:31:15 T:3424 M:2445070336  NOTICE: b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d.xml
22:31:16 T:3424 M:2445004800   DEBUG: [script.cdartmanager] - HTML Source:
                                            <?xml version="1.0"?>
                                            <music id="b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d" name="The Beatles"><backgrounds><background>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/artistbackground/the-beatles-4def8588ae28b.jpg</background><background>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/artistbackground/the-beatles-4def850949c8f.jpg</background><background>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/artistbackground/the-beatles-4def84db0dabd.jpg</background><background>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/artistbackground/the-beatles-4ddaaf1a51231.jpg</background></backgrounds><clearlogos><clearlogo>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/musiclogo/the-beatles-4e0468cfd92a7.png</clearlogo><clearlogo>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/musiclogo/the-beatles-4e04679a32bb3.png</clearlogo><clearlogo>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/musiclogo/the-beatles-4e046694a427b.png</clearlogo></clearlogos><albums><album id="31770e0a-e537-376d-a7c0-48e507f3105e"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/twist-and-shout-4ddaafee14a21.jpg</cover></album><album id="055be730-dcad-31bf-b550-45ba9c202aa3"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/the-beatles-disc-1-4def8ef242c93.jpg</cover></album><album id="9f7a4c28-8fa2-3113-929c-c47a9f7982c3"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/sgt-peppers-lonely-hearts-club-band-4ddaafee19c2a.jpg</cover></album><album id="dca03435-8adb-30a5-ba82-5a162267ff38"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/rubber-soul-4ddaafee1c33b.jpg</cover></album><album id="72d15666-99a7-321e-b1f3-a3f8c09dff9f"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/revolver-4ddaafee1751a.jpg</cover></album><album id="4127b25a-e97f-3604-a0de-046940377d9c"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/revolver--magical-mystery-tour-4ddaafee15daa.jpg</cover></album><album id="de208292-8db5-3aed-a14a-b37a84d8c521"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/please-please-me-4ddaafee1d6c3.jpg</cover></album><album id="bff544a7-56e0-3ed6-9e0f-3b676cca9111"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/let-it-be-4ddaafee1afb4.jpg</cover></album><album id="0d44e1cb-c6e0-3453-8b68-4d2082f05421"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/help-4ddaafee13a81.jpg</cover></album><album id="f50a3b6f-27f0-3832-bd3f-3568dc557d95"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/beatles-for-sale-4ddaafee1ea4b.jpg</cover></album><album id="9162580e-5df4-32de-80cc-f45a8d8a9b1d"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/abbey-road-4ddaafee188a2.jpg</cover></album><album id="06281c4d-112d-33b0-a25b-df63b420eae7"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/a-hard-days-night-4ddaafee0bd80.jpg</cover></album><album id="4f539c70-1a19-37a3-ba14-979f11fc0686"><cover>http://fanart.tv/music/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d/albumcover/1-4def8ef24b165.jpg</cover></album></albums></music>
22:31:16 T:3424 M:2445004800   DEBUG: [script.cdartmanager] - Found FanART
22:31:16 T:3424 M:2445004800   ERROR: Traceback (most recent call last):
22:31:16 T:3424 M:2445004800   ERROR:   File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\down​load.py", line 203, in auto_download
22:31:16 T:3424 M:2445004800   ERROR:     make_dir( auto_art["path"] )
22:31:16 T:3424 M:2445004800   ERROR: WindowsError: [Error 123] Die Syntax f??en Dateinamen, Verzeichnisnamen oder die Datentr?rbezeichnung ist falsch: 'smb://STORAGE/Multimedia/Musik/MP3/_xbmc_alben/The Beatles\\extrafanart'
22:31:16 T:3424 M:2445004800   DEBUG: [script.cdartmanager] - unable to make extrafanart directory

Debug log

Maybe just some problem with the nightly. I will try different versions to verify.

Actually I don't think it worked before either. At the moment XBMC pre-Eden does not provide the ability to make directories on a samba share(smb://) I think I found some code around the internet that may help(a lot of work just to make a single directory) To get around this, you need to manually make the 'extrafanart' directory in each of your Artist's folders, sorry... Hopefully I'll get the code right for pre-Eden...(even before they add support for it)

[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
paulonspinto Offline
Junior Member
Posts: 6
Joined: Jun 2011
Reputation: 0
Post: #295
Loving this script but, at first it scanned my library and it gave me the cdarts, but now i added new items to my music library and the cdART Manager didn't updated the albums.
What can be causing this?

After reading this thread, maybe deleting userdata/addon_data/script.cdartmanager will solve it. I'll try it later.
(This post was last modified: 2011-07-11 13:44 by paulonspinto.)
find quote
giftie Online
Skilled Python Coder
Posts: 2,033
Joined: Mar 2010
Reputation: 35
Post: #296
At the moment the script is unable to update its database. You need to build the database if you update XBMC's music library. I hope to add database updating in a near future version. Just select build database from settings and allow it to build its 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
paulonspinto Offline
Junior Member
Posts: 6
Joined: Jun 2011
Reputation: 0
Post: #297
giftie Wrote:At the moment the script is unable to update its database. You need to build the database if you update XBMC's music library. I hope to add database updating in a near future version. Just select build database from settings and allow it to build its database

Thanks!

When i select build database i guess it crashes, can't try it again now.
But if i delete the file in user data it builds ok!
find quote
giftie Online
Skilled Python Coder
Posts: 2,033
Joined: Mar 2010
Reputation: 35
Post: #298
New Versions available... The main fix in these is now the script has the ability to make directories on samba shares. It has been tested on Linux Git, Window's Nightly and Windows 10.1.

pre-Eden - http://www.mediafire.com/file/0aa6cktkcp....1.4.0.zip
Dharma - http://www.mediafire.com/file/na6a6hicdm....1.4.0.zip


If you have any problems, please post with a debug log.. I hope to be able to get these to the official repo soon, but need your help to be sure it is quite bug free... over 170 downloads of 1.3.8 and only two posts of problems(unlikely that was it..)

Thanks....

[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
jasonlcox Offline
Junior Member
Posts: 49
Joined: Sep 2010
Reputation: 0
Post: #299
Fantastic, thanks a lot giftie, I'll let you know how it goes.
find quote
sergiocos Offline
Posting Freak
Posts: 782
Joined: Jul 2009
Reputation: 4
Location: Bucharest, Romania
Post: #300
I want to let you know that all my previous problems (described in fanart.tv thread) seems to be gone (after rebuilding addon database the script does everything as it should). Thanks for this essential script!
find quote
Post Reply