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 - samurai07 - 2012-11-20

(2012-11-19, 20:45)Ectholian Wrote: Is there any way to update the database and auto download all arts from a console or crontab?

And how is the addon db kept in sync with the xbmc library, i need to manually update the addon db through gui?

Btw the update to 2.7.7 fixed a lot of problems for me Smile

Look here and you find what you want.


RE: [RELEASE] cdART Manager Script - Ectholian - 2012-11-20

(2012-11-20, 00:53)samurai07 Wrote:
(2012-11-19, 20:45)Ectholian Wrote: Is there any way to update the database and auto download all arts from a console or crontab?

And how is the addon db kept in sync with the xbmc library, i need to manually update the addon db through gui?

Btw the update to 2.7.7 fixed a lot of problems for me Smile

Look here and you find what you want.

I searched my nuts off, but couldn't find that. Thanks! Looks like exactly what i want Smile
Also library scanning support, so i can get rid of my crontab scripts too Smile Smile


RE: [RELEASE] cdART Manager Script - giftie - 2012-11-21

(2012-11-20, 11:25)Ectholian Wrote:
(2012-11-20, 00:53)samurai07 Wrote:
(2012-11-19, 20:45)Ectholian Wrote: Is there any way to update the database and auto download all arts from a console or crontab?

And how is the addon db kept in sync with the xbmc library, i need to manually update the addon db through gui?

Btw the update to 2.7.7 fixed a lot of problems for me Smile

Look here and you find what you want.

I searched my nuts off, but couldn't find that. Thanks! Looks like exactly what i want Smile
Also library scanning support, so i can get rid of my crontab scripts too Smile Smile

There was a reason I wrote it... Smile



RE: [RELEASE] cdART Manager Script - matt77303 - 2012-11-21

same problem here, cd art manager starts up summit flashes on thr screen really quick and its gone.

program wont do anything just sits there have to press escape to get back to xbmc

Matt

http://pastebin.com/KMdffm6x


RE: [RELEASE] cdART Manager Script - biochip - 2012-11-22

(2012-11-21, 18:52)matt77303 Wrote: same problem here, cd art manager starts up summit flashes on thr screen really quick and its gone.

program wont do anything just sits there have to press escape to get back to xbmc

Matt

http://pastebin.com/KMdffm6x

I have the same. I'm using OpenELEC-Generic.i386-devel-20121117111333-r12493


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

(2012-11-21, 18:52)matt77303 Wrote: same problem here, cd art manager starts up summit flashes on thr screen really quick and its gone.

program wont do anything just sits there have to press escape to get back to xbmc

Matt

http://pastebin.com/KMdffm6x

It's because you are using the Beta Version of Frodo, the next release fixes this problem. I was testing for a Specific Alpha version in 2.7.7


RE: [RELEASE] cdART Manager Script - matt77303 - 2012-11-22

(2012-11-22, 01:03)giftie Wrote:
(2012-11-21, 18:52)matt77303 Wrote: same problem here, cd art manager starts up summit flashes on thr screen really quick and its gone.

program wont do anything just sits there have to press escape to get back to xbmc

Matt

http://pastebin.com/KMdffm6x

It's because you are using the Beta Version of Frodo, the next release fixes this problem. I was testing for a Specific Alpha version in 2.7.7

it does the same on my laptop which is Eden

Matt


RE: [RELEASE] cdART Manager Script - gibxxi - 2012-11-22

Any idea when the beta-compatible version will be ready Giftie? I'd really like to test Frodo, but can't be without cdART manager, lol. Smile


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

(2012-11-22, 01:05)matt77303 Wrote:
(2012-11-22, 01:03)giftie Wrote:
(2012-11-21, 18:52)matt77303 Wrote: same problem here, cd art manager starts up summit flashes on thr screen really quick and its gone.

program wont do anything just sits there have to press escape to get back to xbmc

Matt

http://pastebin.com/KMdffm6x

It's because you are using the Beta Version of Frodo, the next release fixes this problem. I was testing for a Specific Alpha version in 2.7.7

it does the same on my laptop which is Eden

Matt

I'm pretty sure it is a different error on the Eden Version, since the log shows the same error I had when I first tested Frodo Beta 1. What it tries to do is use the Eden version of the JSON Call to XBMC. If you would post a Debug Log for the Eden version, maybe I can see what the problem is.


(2012-11-22, 01:22)gibxxi Wrote: Any idea when the beta-compatible version will be ready Giftie? I'd really like to test Frodo, but can't be without cdART manager, lol. Smile

Soon.. Just trying to squash a bug that popped up when changing to the new Fanart.TV API.



RE: [RELEASE] cdART Manager Script - matt77303 - 2012-11-22

will do mate.

soon as I get home from work.

Matt


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

Nod


RE: [RELEASE] cdART Manager Script - andydufresne - 2012-11-26

Thanks for this script!

I'm running into a problem downloading Artist Fanarts. All other categories download fine through automatic download, i.e. cdARTs, Cover Arts, ClearLOGOs, Thumbs, Banners. But when I try an automatic download of Artist Fanarts nothing happens, the progress bar never displays and art does not download.

Any idea why? I am using the latest version on post 1. If necessary I will post a log, but thought it might be something simple or covered before.

Thanks.


Re: RE: [RELEASE] cdART Manager Script - giftie - 2012-11-26

(2012-11-26, 17:35)andydufresne Wrote: Thanks for this script!

I'm running into a problem downloading Artist Fanarts. All other categories download fine through automatic download, i.e. cdARTs, Cover Arts, ClearLOGOs, Thumbs, Banners. But when I try an automatic download of Artist Fanarts nothing happens, the progress bar never displays and art does not download.

Any idea why? I am using the latest version on post 1. If necessary I will post a log, but thought it might be something simple or covered before.

Thanks.

There is a bug in the last version that causes a problem with fanarts. This is fixed in the next version. It will be a few days before
I can get it up as my main developing computer decided to die and my backup needs some work to configure it


RE: [RELEASE] cdART Manager Script - andydufresne - 2012-11-26

(2012-11-26, 18:15)giftie Wrote: There is a bug in the last version that causes a problem with fanarts. This is fixed in the next version. It will be a few days before
I can get it up as my main developing computer decided to die and my backup needs some work to configure it

Thank you. If I roll back to a previous version would that work as well?
Another question.

How do I best use the script to add additional artist/album artwork for albums and artists I add in the future?

To clarify, I used the script to automatically download all album and artist artwork across all download categories. If I use the automatic feature after I add a few more artists/albums does it re-download art for the artists/albums that I downloaded previously, or would it only download for the new artists/albums? Or would I have to add manually for the new artists/albums?


RE: [RELEASE] cdART Manager Script - djcox - 2012-12-01

Hi all,

Not sure if I'm posting this in the right place, but I'm having problems with my music library - for sometime I was getting this error "Python script error" on load, and then randomly when watching something. Here are snips from my log file:

Here's my rig info:

13:00:58 T:1564 NOTICE: -----------------------------------------------------------------------
13:00:58 T:1564 NOTICE: Starting XBMC (12.0-BETA1 Git:20121116-f7dc858), Platform: Windows 7 SP1 64-bit, build 7601. Built on Nov 15 2012 (compiler 1600)
13:00:58 T:1564 NOTICE: Intel® Core™ i3-2100 CPU @ 3.10GHz
13:00:58 T:1564 NOTICE: Desktop Resolution: 1360x768 32Bit at 60Hz
13:00:58 T:1564 NOTICE: Running with restricted rights
13:00:58 T:1564 NOTICE: Aero is enabled
13:00:58 T:1564 NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
13:00:58 T:1564 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
13:00:58 T:1564 NOTICE: special://masterprofile/ is mapped to: C:\Users\HTPC\AppData\Roaming\XBMC\userdata
13:00:58 T:1564 NOTICE: special://home/ is mapped to: C:\Users\HTPC\AppData\Roaming\XBMC\
13:00:58 T:1564 NOTICE: special://temp/ is mapped to: C:\Users\HTPC\AppData\Roaming\XBMC\cache
13:00:58 T:1564 NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
13:00:58 T:1564 NOTICE: Local hostname: HTPC-PC
13:00:58 T:1564 NOTICE: Log File is located: C:\Users\HTPC\AppData\Roaming\XBMC\xbmc.log
13:00:58 T:1564 NOTICE: -----------------------------------------------------------------------

Located the error here in the log report at start-up:

14:01:02 T:5100 DEBUG: JSONRPC: Calling videolibrary.getepisodes
14:01:02 T:5100 DEBUG: CVideoDatabase::RunQuery took 86 ms for 3958 items query: select * from episodeview
14:01:05 T:5100 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.GetMusicVideos", "params": {"properties": ["title", "artist", "playcount", "year", "plot", "runtime", "fanart", "thumbnail", "file"] }, "id": 1}
14:01:05 T:5100 DEBUG: JSONRPC: Calling videolibrary.getmusicvideos
14:01:05 T:5100 DEBUG: CVideoDatabase::RunQuery took 0 ms for 0 items query: select * from musicvideoview
14:01:05 T:5100 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": {"properties": ["title", "description", "artist", "year", "thumbnail", "fanart", "rating"] }, "id": 1}
14:01:05 T:5100 DEBUG: JSONRPC: Calling audiolibrary.getalbums
14:01:05 T:5100 DEBUG: CMusicDatabase::GetAlbumsByWhere query: SELECT albumview.* FROM albumview WHERE albumview.strAlbum <> ''
14:01:05 T:5100 DEBUG: CMusicDatabase::GetAlbumsByWhere - query took 13 ms
14:01:05 T:5100 ERROR: EXCEPTION: argument "value" for method "setProperty" must be unicode or str
14:01:05 T:5100 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: argument "value" for method "setProperty" must be unicode or str
Traceback (most recent call last):
File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 431, in <module>
Main()
File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 80, in __init__
self._fetch_album_info()
File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 266, in _fetch_album_info
self.WINDOW.setProperty( "RandomAlbum.%d.Artist" % ( count ), artist )
TypeError: argument "value" for method "setProperty" must be unicode or str
-->End of Python script error report<--
14:01:05 T:1564 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
14:01:05 T:5100 INFO: Python script stopped
14:01:05 T:5100 DEBUG: Thread XBPyThread 5100 terminating
14:01:05 T:1564 DEBUG: waiting for python thread 11 to stop
14:01:05 T:1564 DEBUG: python thread 11 destructed

And then again here:

13:01:03 T:6676 NOTICE: [StorageServer-1.3.0] run : 'Idle for 3 seconds. Going to sleep. zzzzzzzz '
13:01:04 T:2388 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.GetMusicVideos", "params": {"properties": ["title", "artist", "playcount", "year", "plot", "runtime", "fanart", "thumbnail", "file"] }, "id": 1}
13:01:04 T:2388 DEBUG: JSONRPC: Calling videolibrary.getmusicvideos
13:01:04 T:2388 DEBUG: CVideoDatabase::RunQuery took 0 ms for 0 items query: select * from musicvideoview
13:01:04 T:2388 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": {"properties": ["title", "description", "artist", "year", "thumbnail", "fanart", "rating"] }, "id": 1}
13:01:04 T:2388 DEBUG: JSONRPC: Calling audiolibrary.getalbums
13:01:04 T:2388 DEBUG: CMusicDatabase::GetAlbumsByWhere query: SELECT albumview.* FROM albumview WHERE albumview.strAlbum <> ''
13:01:04 T:2388 DEBUG: CMusicDatabase::GetAlbumsByWhere - query took 9 ms
13:01:04 T:1564 DEBUG: CWinEventsWin32::WndProc: window move event
13:01:04 T:2388 DEBUG: Previous line repeats 26 times.
13:01:04 T:2388 ERROR: EXCEPTION: argument "value" for method "setProperty" must be unicode or str
13:01:04 T:2388 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: argument "value" for method "setProperty" must be unicode or str
Traceback (most recent call last):
File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 431, in <module>
Main()
File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 80, in __init__
self._fetch_album_info()
File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.randomitems\RandomItems.py", line 266, in _fetch_album_info
self.WINDOW.setProperty( "RandomAlbum.%d.Artist" % ( count ), artist )
TypeError: argument "value" for method "setProperty" must be unicode or str
-->End of Python script error report<--
13:01:04 T:2388 INFO: Python script stopped
13:01:04 T:2388 DEBUG: Thread XBPyThread 2388 terminating
13:01:04 T:1564 DEBUG: CWinEventsWin32::WndProc: window move event

Now, I deleted my music library, and the error has GONE! I'm not particularly fussed if this gets solved, as I am not using XBMC for music, but thought I would post in case others had the same problem. My thoughts over possible causes - the script has an error; or it is a reflection of having songs with Chinese scripts in their name.