Kodi Community Forum

Full Version: [RELEASE] CDart downloader - XBMC Program Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
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
fantastic.....

first impression is... works like a charm Smile
Haven't had a chance to try it out lately, has the automatic DL for all available cdarts been implemented?
how my !

I was totally out there !
i'll check this as soon as i can Wink
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.
hum, i'll need to recode it to do that, let me do this in plugin first Wink
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...
if a button is able to launch a plugin with parameters, we can find a way to implement it.
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.
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
(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!
lol yes only in music folder path !

send me your log to help me debbuging it Wink
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.
new version uploaded on svn, try it, it should pass now.
Pages: 1 2 3