Lexech / project-valerie

Automatically exported from code.google.com/p/project-valerie
0 stars 0 forks source link

DuckBoxAPI exception <-> iDream in Valerie Plugin loads no artist background anymore #754

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
i'm using PV with the iDream / MerlinMusicPlayer Plugin on OpenATV 4.2.
Worked like a charm for years, but it doesn't load Background Pictures from 
duckbox.info via DuckBoxAPI anymore (don't know since when).

What steps will reproduce the problem?
1.searching for covers in iDream Plugin for Music Artist in db

2. Debug-output (pimped)
>>> D <<<  Arts::preSave -> 
url=/media/usb/iDream/downloaded_covers/Adele-Wallpaper-adele-30384253-1280-800.
jpg

3.the Duckbox-URL which is used is:
http://val.duckbox.info/cgi-bin/convert2user.py?id=adele;type=backdrop;user=true
;isurl=false

called from Arts.py
   if url[0] == "/": #FILE
      self.save(self.URL + self.CONVERT2USER + "?id=" + id + ";type=" + type + ";user=true;isurl=false", url, overwrite=overwrite, useDuck=True)

with the filename of the backdrop.jpg found before from the plugin, e.g.
>>> D <<<  Arts::preSave -> id=adele type=backdrop url= 
user:///media/usb/iDream/downloaded_covers/Adele-Wallpaper-adele-30384253-1280-8
00.jpg

Here's the log:
22:44:09.0032591  >>> U <<<  
/media/usb/iDream/downloaded_covers/Adele-adele-26396167-1920-1080.png ->  
cover download finished
22:44:09.0034541  >>> U <<<  DownloadFinished -> Imdb ID: adele
22:44:09.0036655  >>> I <<<  Arts::download -> overwrite => False
22:44:09.0038623  >>> I <<<  Arts::preSave -> overwrite => False
22:44:09.0040172  >>> D <<<  Arts::preSave -> adele: backdrop 
user:///media/usb/iDream/downloaded_covers/Adele-adele-26396167-1920-1080.png
22:44:09.0042134  >>> D <<<  Arts::preSave -> 
url=/media/usb/iDream/downloaded_covers/Adele-adele-26396167-1920-1080.png
22:44:09.0043655  >>> D <<<  Arts::preSave -> 
self.save(http://val.duckbox.info/cgi-bin/convert2user.py;id=adele;type=backdrop
;user=true;isurl=false, url, overwrite=overwrite, useDuck=True)
22:44:09.0045214  >>> D <<<  Arts::save -> 
DuckboxAPI.sendFile(http://val.duckbox.info/cgi-bin/convert2user.py?id=adele;typ
e=backdrop;user=true;isurl=false, 
/media/usb/iDream/downloaded_covers/Adele-adele-26396167-1920-1080.png, ())
22:44:09.0047270  >>> U <<<  EXCEPTION ON DUCKAPI
22:44:09.0049894  >>> D <<<  Arts::save -> urlresponse=

What is the expected output? What do you see instead?
Throw no EXCEPTION, but return an Image.m1v back as backdrop cover

What version of the product are you using?
Revision?
r1295

Please provide any additional information below.

Original issue reported on code.google.com by jfneobi...@gmail.com on 15 Jan 2015 at 9:48