Skip to content

Commit

Permalink
Änderungen / Korrekturen siehe changelog.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
rols1 committed Jul 23, 2023
1 parent 0420dc0 commit 705035f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.ardundzdf" name="ARDundZDF" version="4.7.8+nexus" provider-name="rols1 (rols1@gmx.de)">
<addon id="plugin.video.ardundzdf" name="ARDundZDF" version="4.7.9+nexus" provider-name="rols1 (rols1@gmx.de)">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="script.module.kodi-six" />
Expand Down
20 changes: 17 additions & 3 deletions ardundzdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

# VERSION -> addon.xml aktualisieren
# <nr>122</nr> # Numerierung für Einzelupdate
VERSION = '4.7.8'
VERSION = '4.7.9'
VDATE = '23.07.2023'


Expand Down Expand Up @@ -2847,6 +2847,14 @@ def ARDSportWDR():
addDir(li=li, label=title, action="dirList", dirID="ARDSportHub", fanart=img, thumb=img,
fparams=fparams, tagline=tag)

title = u"ARD Event Streams (eingeschränkt verfügbar)" # ARD Event Streams im Haupt-PRG
tag = u"Event Streams von BR, MDR, NDR, WDR | eingeschränkt verfügbar"
img = R("tv-livestreams.png")
title=py2_encode(title)
fparams="&fparams={'title': '%s', 'listname': '%s', 'fanart': '%s'}" % (quote(title), quote(title), img)
addDir(li=li, label=title, action="dirList", dirID="SenderLiveListe", fanart=img, thumb=img,
fparams=fparams, tagline=tag)

title = u"ARD Audio Event Streams" # Audio Event Streams im Haupt-PRG
tag = u"Event- und Netcast-Streams, Sport in der Audiothek, Audiostreams auf sportschau.de"
img = R("radio-livestreams.png")
Expand Down Expand Up @@ -7502,8 +7510,8 @@ def ZDF_get_content(obj, maxWidth="", mark="", validchars=True):

if not maxWidth: # Teaserbild, Altern. 1280 für Video
maxWidth=840
multi=True; verf=""; url=""; stream=""; scms_id=""
headline=""
multi=True; verf=""; url=""; stream=""; scms_id=""; now_live=""
headline="";
season=""; episode="" # episodeNumber, seasonNumber

if "url" in obj:
Expand Down Expand Up @@ -7537,6 +7545,10 @@ def ZDF_get_content(obj, maxWidth="", mark="", validchars=True):
PLog("label: " + obj["label"])
if obj["label"] == "Livestream":
typ = "livevideo" # z.B. Events, s.u.
if obj["label"] == "Jetzt live":
typ = "livevideo" # aktuell ausgestrahlt
now_live=True


img="";
if("teaserBild" in obj):
Expand Down Expand Up @@ -7599,6 +7611,8 @@ def ZDF_get_content(obj, maxWidth="", mark="", validchars=True):
t2 = screentxt[0]["title"] # Bsp. Mo., 12:45 - 15:35 Uhr
tag = "[B]%s | %s[/B]" % (t1, t2)
title = "[B]LIVE: [/B] %s" % title
if now_live:
title = "[B]JETZT[/B] %s" % title
except Exception as exception:
PLog("screentxt_error: " + str(exception))
tag=""
Expand Down
13 changes: 13 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ CHANGE HISTORY
max_col 97
--------------

23.07.2023 4.7.9
Sofortstart: vor Sortierung Stream_List in PlayVideo_Direct das Element mit
Auflösung "** auto **" entfernt, um sort_error zu verhindern (falls einzelne
Auflösung im Setting gewählt). Dto. in Parseplaylist bei Audiostreams die
Auflösung 0x0 eingefügt.
ZDF-Livestreams: Erkennung + Kenzeichnung von zeitlich begrenzten Livestreams
(Events) - Anpassung in ZDF_get_content (label=Livestream, tag: Verfügbarkeit),
ZDF_Live (clusterLive_error), ZDF_PageMenu (Abgleich entry["type"] -> Abgleich
typ).
livesenderTV.xml: Zusatz "Olympia" bei den ARD-Eventstreams "WDR Spezial"
entfernt (obsolet).
ARDSportWDR: Button "ARD Event Streams" hinzugefügt (-> SenderLiveListe).

16.07.2023 4.7.8
Parseplaylist: url_check der master-m3u8-Auswertung vorangestellt (rel. für
VideoEvent-Streams).
Expand Down

0 comments on commit 705035f

Please sign in to comment.