i build a Plugin there get movie Infos on TV Screen.
But i have a trouble with openPLI Images.
The Movie Cover shows only the Area from Top/Left from the Movie jpg....
I have marked the visible Area on openPLI Images in the Attachment.
I this a trouble with the relative coordinates patch?
I dont know?
I use this Code and this code is on original Code Based Images OK and the Moviecovers shows correctly....
def Movieinfos(movlink, cover, title, beschr, imdb, genre):
res = [ (movlink, cover, title, beschr, imdb, genre) ]
vidpic = http://www.movie-infos.net/data/media/' + cover
urllib.urlretrieve(vidpic, "/tmp/%s" %cover)
jpg = "/tmp/%s" %(cover)
res.append(MultiContentEntryText(pos=(0, 0), size=(750, 30), font=2, text=title, flags=RT_HALIGN_CENTER))
res.append(MultiContentEntryText(pos=(130, 25), size=(650, 300), font=0, text=beschr, flags=RT_WRAP))
res.append(MultiContentEntryText(pos=(130, 330), size=(750, 20), font=3, text= 'IMDB Rating: ' + imdb, flags=RT_HALIGN_LEFT))
res.append(MultiContentEntryText(pos=(130, 350), size=(750, 20), font=3, text= 'Genre: ' + genre, flags=RT_HALIGN_LEFT))
if fileExists(jpg):
res.append(MultiContentEntryPixmapAlphaTest(pos=(10, 30), size=(105, 148), png=loadJPG(jpg)))
return res