[Broken Dev WIP] RealTime Notifications

Take text from JSON API Call 'notitxt' and then write that text onto a pre-defined background image 'sample-in.jpg' and write it out to 'sample-out.jpg'
Copypasta of another def later in the code to display just that sample-out file.
It's a mess, won't work but its a starting point
This commit is contained in:
Oli
2018-01-20 16:07:09 +00:00
parent 8b432bc93d
commit db2cdd6737
7 changed files with 34 additions and 5 deletions

View File

@@ -13,6 +13,8 @@ import xbmcgui
import os.path
from random import randint
from PIL import Image
from PIL import ImageFont
from PIL import ImageDraw
from datetime import datetime as date
from threading import Timer
from xml.dom import minidom