Skip to content

Commit

Permalink
Einzelupdate ardundzdf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rols1 committed Feb 15, 2025
1 parent 9b0fce7 commit 514ecfe
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ardundzdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
# +++++ ARDundZDF - Addon Kodi-Version, migriert von der Plexmediaserver-Version +++++

# VERSION -> addon.xml aktualisieren
# <nr>230</nr> # Numerierung für Einzelupdate
# <nr>231</nr> # Numerierung für Einzelupdate
VERSION = '5.1.8'
VDATE = '15.02.2025'

Expand Down Expand Up @@ -11455,13 +11455,14 @@ def ZDF_BilderCollect(content, title_org, mode):

if mode == "caption": # neues ZDF-Format Promi-News in Bildern
for item in content:
item = (item.replace('\\', ""). replace ('\\\\', "*"))
item = (item.replace('\\"', '"'). replace ('\\\\"', '*'))
PLog(item[:80])
if "Shirin" in item:
PLog("Text: " + item)
title = stringextract('"title":"', '"', item)
alt = stringextract('"altText":"', '"', item)
alt = stringextract('"altText":"', '"', item)
cr = stringextract('"source":"', '"', item)
caption = stringextract('"source":"', '"copyrightNotice', item)
cr = stringextract('"source":"', '"', item)
caption= stringextract('"caption":"', '"', item)
summ = unescape(caption)

tag = "%s | Quelle: %s" % (alt, cr)
Expand Down

0 comments on commit 514ecfe

Please sign in to comment.