howto? use base64 encoded string as image
#1
Question 
I'm trying to scrape movie links for an add-on.

But the movie thumbnails are base64 encoded strings.

This is how i intend to add the directory item :
Code:
addon.add_directory({'mode': 'individualmovie_kathoram', 'url': fullLink, 'fanarturl': imgfullLink ,'title': names}, {'title': names}, img=imgfullLink)


Suggestions on how i can use the base64 encoded data instead of img url's ?
Reply
#2
I think the only way at present is for you to download+decode the base64 to a local file (in addon_data) and set that as the art. Not ideal, but it'll work.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
was hoping there'd be a better way than this. thx anyways.
Reply

Logout Mark Read Team Forum Stats Members Help
howto? use base64 encoded string as image0