Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 24 made on Wednesday August 5, 2020 at 15:37
mpg7321
Regular Member
Joined:
Posts:
June 2020
109
Sp got every thing working but cover art, I am using the script from developers guide

var cover = info1.split('"thumbnail":"image://').pop().split('/')[0];
// remove the HTTP information from the received data
var imageStartIndex = cover.indexOf("\r\n\r\n");
var bitmapData = cover.substring(imageStartIndex);
// make and display the image
var MyImage = new Image(bitmapData+4);
widget(“MOVIE_COVER”).setImage(MyImage);

The Var Cover = looks like this from the KODI player,

http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2f579HAFLpODEC9Reb64wbCHSUi4O.jpg

the sample script does not work and locks up all the other scripts that pulls data

I am not using the HttpLibrary. I do not understand the sample in the developers guide on how to assign and display that to a panel.


Hosting Services by ipHouse