PosterX - POSTER SUPPORT FOR SKINS
new version poster support...
better performance as files are downloaded in the background...
download a lot of posters...
The poster is downloaded only when the channel is zapped with the infobar...
Of course, if it's already downloaded, it won't be downloaded...
channel list, second infobar, epg, event support...
various options support...
# for infobar,
<widget source="session.Event_Now" render="PosterX" position="0.125" size="185,278" path="/media/hdd/poster/" nexts="10" language="en" zPosition="9" />
or,
<widget source="session.Event_Now" render="PosterX" position="0.125" size="185,278" zPosition="9" />
# for ch,
<widget source="ServiceEvent" render="PosterX" position="820,100" size="100,150" path="/media/hdd/poster/" zPosition="9" />
#for secondInfobar,
<widget source="session.Event_Now" render="PosterX" position="20,155" size="100,150" path="/media/hdd/poster/" zPosition="9" />
<widget source="session.Event_Next" render="PosterX" position="1080,155" size="100,150" path="/media/hdd/poster/" zPosition="9" />
# for epg, event
<widget source="Event" render="PosterX" position="931,184" size="185,278" path="/media/hdd/poster/" zPosition="9" />
OPTIONS,
for infobar...
just add "path" to others...
PATH:
path="/media/hdd/poster/"
the possibility of downloading to the location you specify...
If the folders do not exist, they are created automatically...
example,
path="/x/y/z/"
x, y, z folders are created and downloaded to the z folder...
path must start with / and end with /...
default location if not included in the code; /tmp/poster/
If the infobar is not added to the code, you don't need to add it to other codes...
NEXT:
next="5"
download as many posters as you want...
the value here is the number of events...
not the number of posters...
If each event is different, the poster will go down as much as the value you write.
I tested with 50...
the default value is 1 if not added to the code...
1 poster is downloaded...
LANGUAGE:
language="ru"
You can add it to the code to download posters in your language...
If there is no poster in your language or if you don't include it in the code, it will download in the default language (tmdb)
SIZE:
size="185,278"
The poster will be downloaded in the dimensions you specify...
you need to adjust the position accordingly...
Auto scale is available for ch,si,epg,event...
tmdb poster values,
"poster_sizes": [
"w92",
"w154",
"w185",
"w342",
"w500",
"w780",
"original"
ratio = 1:1.5
should be...
example, size="342,513"
note: You can download it as size="300, 450"... but it will render it so theoretically it may cause lag...
no discernible lag in testing...
russian and py3 support by sunriser, thanks...
e8eca203fd009117f2c07d0.jpg04d858f8240f29.jpg431fa0911e166854cccf268c4.jpgd0c472f2eb4b652e3544dd6.jpg8510d47ae.jpgb3d97b68511f91.jpg
go to,
/usr/lib/enigma2/python/Components/Renderer/
update 09.2021