Kodi Community Forum
[RELEASE] CDart downloader - XBMC Program Plugin - 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 downloader - XBMC Program Plugin (/showthread.php?tid=70709)

Pages: 1 2 3


[RELEASE] CDart downloader - XBMC Program Plugin - ppic - 2010-03-24

as the original post disapears Big Grin

i'll see to complete it later!

Image

available on svn repo installer (passion xbmc repo)
or
xbmc passion download center or xbmc zone

plugin to download cdart from www.xbmcstuff.com



- reddevilmeuk - 2010-03-26

fantastic.....

first impression is... works like a charm Smile


- joebrady - 2010-04-13

Haven't had a chance to try it out lately, has the automatic DL for all available cdarts been implemented?


- ppic - 2010-04-14

how my !

I was totally out there !
i'll check this as soon as i can Wink


- Waffa - 2010-04-14

Yep, it's time to support also custom CDart in MiniMeedia Waffa!.
Until now it only supported default cd image because it was imo to much work to get them and put them properly into folder.
You fixed that thank you.Big Grin

I do also have a request.
Could you make a CDart script that works like the Opensubtitles-OSD script.

I would create a button in musicinfo screen to start your cdart script and it would dowload list item musicalbum CDart directly.
And with infoscreen of artist you have the option to download present albums of that artist.

I guess.... Skinners that support CDart would also add an CDart button to DialogAlbumInfo.xml and DialogSongInfo.xml.


- ppic - 2010-04-14

hum, i'll need to recode it to do that, let me do this in plugin first Wink


- joebrady - 2010-04-14

yea, I think if the plugin downloads all available, then a script and skin change to do one at a time would kind of be a step backwards...


- ppic - 2010-04-14

if a button is able to launch a plugin with parameters, we can find a way to implement it.


- Waffa - 2010-04-14

It's not a step back it's an extra step.

We have in DialogAlbumInfo.xml already the buttons Refresh / thumb / fanart / (CDart)

I don't get my info, thumbs and fanart this way, but it's damn handy we have those buttons.
See the plugin as the scraper and the script to maintain.


- ppic - 2010-04-15

ok, v1.1beta out, available on svn (via svn repo installer plugin) , i'll upload other sites next.

automatic download is there (only download in tvshow path folder for now)

thanks to test


- Waffa - 2010-04-15

(only download in tvshow path folder for now)Huh
Should it not be music folder.

Did give it a go... but automatic download gives an error script failed!


- ppic - 2010-04-15

lol yes only in music folder path !

send me your log to help me debbuging it Wink


- Waffa - 2010-04-15

Here you go.Smile
http://pastebin.org/152444


- ppic - 2010-04-15

ok, here is the problem:

Code:
titre album: Welcome+To+Jamrock
18:56:38 T:1664 M:855842816  NOTICE: artiste: Damian%2BMarley
18:56:38 T:1664 M:855842816  NOTICE: ####################################################FOUND####################################################
18:56:38 T:1664 M:855842816  NOTICE: download :http://www.xbmcstuff.com/stuff/cdarts/6/664_1840.png
18:56:38 T:1664 M:855842816  NOTICE: path: D:\\Rick\\Download\\klaar om te testen\\Damian Marley\\Damian Marley - Welcome to Jamrock (2005)\\cdart.png
18:56:38 T:1664 M:855941120  NOTICE: D:\\Rick\\Download\\klaar om te testen\\Damian Marley\\Damian Marley - Welcome to Jamrock (2005)\\cdart.png
18:56:38 T:1664 M:855932928  NOTICE: titre album: Welcome+To+Jamrock
18:56:38 T:1664 M:855932928  NOTICE: artiste: Damian%2BMarley
18:56:38 T:1664 M:855932928  NOTICE: ####################################################FOUND####################################################
18:56:38 T:1664 M:855932928  NOTICE: download :http://www.xbmcstuff.com/stuff/cdarts/6/664_1840.png
18:56:38 T:1664 M:855932928  NOTICE: path: smb://LKGAA15D3/DISK 1/Muziek/Damian Marley/Damian Marley - Welcome to Jamrock (2005)/cdart.png
18:56:39 T:980 M:855216128   DEBUG: Thread 980 terminating
18:56:39 T:1664 M:855621632  NOTICE: smb://LKGAA15D3/DISK 1/Muziek/Damian Marley/Damian Marley - Welcome to Jamrock (2005)/cdart.png
18:56:39 T:1664 M:855592960    INFO: -->Python script returned the following error<--
18:56:39 T:1664 M:855592960   ERROR: Error Type: pysqlite2.dbapi2.OperationalError
18:56:39 T:1664 M:855592960   ERROR: Error Contents: near "Jr": syntax error
18:56:39 T:1664 M:855592960   ERROR: Traceback (most recent call last):
                                              File "C:\Documents and Settings\Rick\Application Data\XBMC\plugins\programs\CDarts downloader\default.py", line 458, in ?
                                                local_album_list = get_local_album(artist["name"])
                                              File "C:\Documents and Settings\Rick\Application Data\XBMC\plugins\programs\CDarts downloader\default.py", line 155, in get_local_album
                                                d.execute("""SELECT DISTINCT strArtist , idArtist, strPath, strAlbum FROM songview Where strArtist LIKE "%s" AND strAlbum != ''""" % artist_name )
                                            OperationalError: near "Jr": syntax error
18:56:39 T:1664 M:855588864    INFO: -->End of Python script error report<--

caused by a non interpreted caracter, but i' can't find "Jr" in the name ... Eek

i'll isolate the command to not block the process.


- ppic - 2010-04-16

new version uploaded on svn, try it, it should pass now.