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 May 12, 2024
1 parent f981c80 commit 835eaae
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 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="5.0.2+nexus" provider-name="rols1 (rols1@gmx.de)">
<addon id="plugin.video.ardundzdf" name="ARDundZDF" version="5.0.3+nexus" provider-name="rols1 (rols1@gmx.de)">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="script.module.kodi-six" />
Expand Down
4 changes: 2 additions & 2 deletions ardundzdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@

# VERSION -> addon.xml aktualisieren
# <nr>195</nr> # Numerierung für Einzelupdate
VERSION = '5.0.2'
VDATE = '11.05.2024'
VERSION = '5.0.3'
VDATE = '12.05.2024'


# (c) 2019 by Roland Scholz, rols1@gmx.de
Expand Down
19 changes: 18 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ CHANGE HISTORY
max_col 97
--------------

12.05.2024 5.0.3
ZDF-Funktion International gelöscht. Api-Aufruf in Main_ZDF->ZDF_RubrikSingle.
ZDF-Startseite: Menüs ergänzt: "Livestreams im Ausland", "Terra X plus Schule"
(vorher skipped in "Alles auf einen Blick"), Anpassungen in ZDF_PageMenu.
get_live_data (arte): Untertitel für Sendungshinweis ergänzt.
ARD-Videos-Untertitel: Hinweis auf ARDundZDF-Addon und S3-S6-Styles in Impf-
datei UT_Styles_ARD ergänzt, PlayVideo (util): Player().showSubtitles ersetzt
durch Player().showSubtitles(sub_list[0]), da bei Sofortstart Kodi manchmal
die UT-Datei des Servers statt der lokalen vtt-Datei verwendet.
Audiothek Livestreams: Download Senderlinks als einzelne Playlist ermöglicht.
ARDVerpasst_get_json: für Sender ARD-Alle sender in path ersetzt durch
channel_id.
Rubriken (my3Sat): "&amp;" aus Titel entfernt (unescape).
Merkliste: Refresh der Liste unabhängig von pref_merkordner - Anpassung in
ShowFavs, zusätzl. Debug-Statements in merkliste.py.

28.04.2024 5.0.2
AudioSearch: Webaufrufe integriert (editorialCollections), Nutzung von
Audio_get_webslice.
Expand Down Expand Up @@ -42,7 +58,8 @@ CHANGE HISTORY
ARDStartSingle: Umstellung Untertitel auf vtt-Format (statt xml), bei Fehlen
von UT Suche in alternativer Web-api-Quelle (frühzeitig verfügbar, relevant
für Nachrichten), neue Funktion ARDStartVideoWebUTget.
sub_path_conv (util): aktuelle ARD-vtt-Datei mit W3-Style-Definitionen ergänzt.
sub_path_conv (util): aktuelle ARD-vtt-Datei mit W3-Style-Definitionen ergänzt
(Injektion UT_Styles_ARD).
build_Streamlists_buttons: repl_json_chars(title_org), um sort_error wegen
#-Zeichen in StreamsShow zu vermeiden.

Expand Down
1 change: 1 addition & 0 deletions resources/lib/my3Sat.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ def Rubriken(name, path, themen=''):
i=0; rubrik=[];
for rec in rubriken: # Rubriken sammeln
title = stringextract('title="', '"', rec)
title = unescape(title)
if 'A-Z' in title:
continue
href = DreiSat_BASE + stringextract('href="', '"', rec)
Expand Down
8 changes: 5 additions & 3 deletions resources/lib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# 17.11.2019 Migration Python3 Modul kodi_six + manuelle Anpassungen
#
# <nr>99</nr> # Numerierung für Einzelupdate
# Stand: 05.05.2024
# Stand: 11.05.2024

# Python3-Kompatibilität:
from __future__ import absolute_import
Expand Down Expand Up @@ -3638,7 +3638,9 @@ def PlayVideo(url, title, thumb, Plot, sub_path=None, playlist='', seekTime=0, M
break
xbmc.sleep(200)

# waitForAbort für Player-Warteschleife statt while(1) - hilft gegen Buffern:
# waitForAbort für Player-Warteschleife statt while(1) - hilft gegen Buffern:
# UT Livestreams: falls sub_path und sub_list leer, bezieht Kodi die UT aus
# der m3u8-Datei
monitor = xbmc.Monitor(); i=0; max_secs=5 # showSubtitles setzen, sobald Player spielt
player_detect=False
PLog("Subtitles: wait_for_Player(%d sec), sub_path: %s" % (max_secs, sub_path))
Expand All @@ -3648,7 +3650,7 @@ def PlayVideo(url, title, thumb, Plot, sub_path=None, playlist='', seekTime=0, M
if player.isPlaying():
PLog("player_isPlaying: %d sec" % i)
if SETTINGS.getSetting('pref_UT_ON') == 'true':
if len(sub_list) > 0:
if len(sub_list) > 0: # für Livestreams
PLog("Player_Subtitles: %s" % sub_list[0])
xbmc.Player().setSubtitles(sub_list[0])
else: # Freeze in Windows bei späterem Einschalten
Expand Down

0 comments on commit 835eaae

Please sign in to comment.