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 Aug 16, 2020
1 parent b9f5f14 commit 12d1fe1
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 19 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="3.2.8" provider-name="rols1 (rols1@gmx.de)">
<addon id="plugin.video.ardundzdf" name="ARDundZDF" version="3.2.9" provider-name="rols1 (rols1@gmx.de)">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="script.module.kodi-six" />
Expand Down
8 changes: 4 additions & 4 deletions ardundzdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
# +++++ ARDundZDF - Addon Kodi-Version, migriert von der Plexmediaserver-Version +++++

# VERSION -> addon.xml aktualisieren
VERSION = '3.2.8'
VDATE = '15.08.2020'
VERSION = '3.2.9'
VDATE = '16.08.2020'

#
#
Expand Down Expand Up @@ -1021,7 +1021,7 @@ def AudioStart(title):
title="Podcast-Favoriten";
tagline = u'konfigurierbar mit der Datei podcast-favorits.txt im Addon-Verzeichnis resources'
summ = u'Suchergebnisse der Audiothek lassen sich hinzufügen\n'
summ = "%s\nMehrfach-Downloads (komplette Liste) möglich" % summ
summ = u"%s\nMehrfach-Downloads (komplette Liste) möglich" % summ
fparams="&fparams={'title': '%s'}" % title
addDir(li=li, label=title, action="dirList", dirID="PodFavoritenListe", fanart=R(ICON_MAIN_POD),
thumb=R(ICON_POD_FAVORITEN), tagline=tagline, summary=summ, fparams=fparams)
Expand Down Expand Up @@ -6159,7 +6159,7 @@ def SenderLiveResolution(path, title, thumb, descr, Merk='false', Sender='', sta

page, msg = get_page(path=path) # Verfügbarkeit des Streams testen
if page == '': # Fallback zum Classic-Sendername in Startsender
msg1 = 'SenderLiveResolution: Stream nicht verfügbar'
msg1 = u'SenderLiveResolution: Stream nicht verfügbar'
msg2 = path[:50] + ".."
msg3 = msg
PLog(msg1)
Expand Down
7 changes: 7 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ CHANGE HISTORY
max_col 97
--------------

16.08.2020 3.2.9
get_live_data (phoenix): Verwendung ZDFstreamlinks (util) für master.m3u8
(Link in livesenderTV.xml funktioniert nicht mehr).
AudioStart: ascii-error in summary gefixt.
livesenderTV.xml: Streamlink für SR-Fernsehen aktualisiert (Classic +
TV-Lifestreams)

15.08.2020 3.2.8
AudioContentXML: Ausleitung auf url_html, falls xml-Seite ohne Inhalt;
img leer vorbelegt (reference-error vermeiden).
Expand Down
23 changes: 12 additions & 11 deletions resources/lib/phoenix.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ def Main_phoenix():

# ----------------------------------------------------------------------
# die json-Seite enthält ca. 4 Tage EPG - 1. Beitrag=aktuell
# 15.08.2020 Verwendung ZDFstreamlinks (util) für href (master.m3u8)
#
def get_live_data():
PLog('get_live_data:')
path = "https://www.phoenix.de/response/template/livestream_json"
Expand Down Expand Up @@ -161,18 +163,17 @@ def get_live_data():
vorspann=transl_json(vorspann);
descr=cleanhtml(descr);
descr=unescape(descr);

playlist = RLoad(PLAYLIST) # lokale XML-Datei (Pluginverz./Resources)
liste = blockextract('<channel>', playlist)
zdf_streamlinks = ardundzdf.get_ZDFstreamlinks(skip_log=True)
# Zeile zdf_streamlinks: "webtitle|href|thumb|tagline"
href=''
for element in liste:
name = stringextract('<name>', '</name>', element)
if name == 'phoenix':
href = stringextract('<link>', '</link>', element)
break
if href == '': # Fallback
href = 'https://zdfhls19-i.akamaihd.net/hls/live/744752/de/high/master.m3u8'

for line in zdf_streamlinks:
webtitle, href, thumb, tagline = line.split('|')
# Bsp.: "ZDFneo " in "ZDFneo Livestream":
if up_low('phoenix ') in up_low(webtitle): # Arte mit Blank!
href = href
break

return title,subtitle,vorspann,descr,href
# ----------------------------------------------------------------------
# path via chrome-tools ermittelt. Ergebnisse im json-Format
Expand Down
6 changes: 3 additions & 3 deletions resources/livesenderTV.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<description>Livestreams http://www.ardmediathek.de/tv/live</description>
<thumbnail></thumbnail>
<credits>Grafiken @Arauco (Plex-Forum)</credits>
<date>07.08.2020 rols1</date>
<date>15.08.2020 rols1</date>
<ARDsource></ARDsource>
<ZDFsource>https://www.zdf.de/live-tv</ZDFsource>
<info>Senderübersicht TVToday: https://www.tvtoday.de/programm/standard/sender/ Button:Alle Sender</info>
Expand Down Expand Up @@ -265,11 +265,11 @@
<item>
<title>SR Fernsehen</title>
<hrefsender>SR</hrefsender>
<link>https://srlive24-lh.akamaihd.net/i/sr_universal02@107595/master.m3u8</link>
<link>http://fs.live.sr.de/i/sr_universal02@107595/index_1662_av-b.m3u8</link>
<thumbnail>tv-sr.png</thumbnail>
<imgsource>Arauco</imgsource>
<EPG_ID>SWR</EPG_ID>
<date>21.09.2018</date>
<date>15.08.2020</date>
<epg_schema>ARD</epg_schema>
<info>TVToday: SWR/SR gemeinsam</info>
</item>
Expand Down

0 comments on commit 12d1fe1

Please sign in to comment.