Skip to content

Commit

Permalink
Einzelupdate EPG.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rols1 committed Oct 11, 2024
1 parent ff523d0 commit 764838b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions resources/lib/EPG.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Sendezeit: data-start-time="", data-end-time=""
#
# 20.11.2019 Migration Python3 Modul kodi_six + manuelle Anpassungen
# <nr>24</nr> # Numerierung für Einzelupdate
# <nr>25</nr> # Numerierung für Einzelupdate
# Stand: 11.10.2024
#

Expand Down Expand Up @@ -621,15 +621,17 @@ def get_unixtime(day_offset=None, onlynow=False):
ID = stringextract("ID': '", "'", params)
PLog("title: %s, path: %s, ID: %s" % (title, path, ID))

page=""
if ID == "ARD":
page, msg = get_page(path)
if page == "":
msg1 = "Fehler beim Abruf der Videodaten:"
msg2 = msg
MyDialog(msg1, msg2, '')
exit

page_obs = json.loads(page)
if page == "":
msg1 = "Fehler beim Abruf der Videodaten:"
msg2 = msg
MyDialog(msg1, msg2, '')
exit()

if page:
page_obs = json.loads(page)
PLog(str(page)[:80])

s="" # Objekte 1. Ebene
Expand All @@ -646,8 +648,6 @@ def get_unixtime(day_offset=None, onlynow=False):
summ2 = s[1]["teasers"][0]["show"]["synopsis"] # Beschr. Staffel/Reihe (in allen teasers identisch)
except Exception as exception:
PLog("summ_error:" + str(exception))


PLog("summ1: " + summ1); PLog("summ2: " + summ2)

summ = "%s\n\n%s" % (summ1, summ2)
Expand Down

0 comments on commit 764838b

Please sign in to comment.