- pygame
- SDL-1.2
- SDL_image
- SDL_ttf
some screenshots from a display with 320x240
The layout for the screens/modes can be defined in the file layout.xml in the addon profile directory. LibreELEC: /storage/.kodi/userdata/addon_data/script.kodisplay/layout.xml
0 | 1 | 2 |
---|---|---|
renderBackground | 'visible' | color |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|
renderText | 'visible' or $Condition | text or $Infolabel | scrollmode | fontname | fontsize | color | x position | center x | y position | center y |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|
renderImage | 'visible' or $Condition | imagepath or $Infolabel | border | bordercolor | x position | center x | y position | center y | resolution x | resolution y |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|
renderProgressbar | 'visible' | dummy | width | height | color of the background | color of the progress | border in pixel | color of the border | x position | center y |
0 - data was not queried 1 - data was queried
0 | 1 | 2 |
---|---|---|
0 or 1 | 'visible' or 'hide' | color |
0 | 1 | 2 |
---|---|---|
0 or 1 | 'visible' or 'hide' | text |
0 | 1 | 2 | 3 |
---|---|---|---|
0 or 1 | 'visible' or 'hide' | imagepath | 'local', 'url' or 'noimage' |
0 | 1 | 2 | 3 |
---|---|---|---|
0 or 1 | 'visible' or 'hide' | playtime | duration |
0 - no surface available 1 - surface is available
0 | 1 | 2 | 3 |
---|---|---|---|
0 or 1 | surface | rect | color |
0 | 1 | 2 | 3 | 4 |
---|---|---|---|---|
0 or 1 | scrolling surface if needed | rect | text | surface |
0 | 1 | 2 | 3 |
---|---|---|---|
0 or 1 | surface | rect | imagepath |
0 | 1 | 2 | 3 |
---|---|---|---|
0 or 1 | surface | rect | playtime |
0 | 1 |
---|---|
scroll direction | scroll position |