[script.module.libard] 6.0.3 - #2886
Conversation
|
| Filename | Overview |
|---|---|
| script.module.libard/lib/libardnewjsonparser.py | Migrates video and subtitle parsing to ARD's current API structure, but labels WebVTT entries with an unsupported subtitle type. |
| script.module.libard/addon.xml | Updates the add-on version from 6.0.2 to 6.0.3. |
Sequence Diagram
sequenceDiagram
participant Addon as ARD add-on
participant Parser as libard parseVideo
participant API as ARD page-gateway
participant Player as libmediathek4.play
Addon->>Parser: parseVideo(clipId)
Parser->>API: "GET /pages/ard/item/{id}?mcV6=true"
API-->>Parser: streams and WebVTT sources
Parser-->>Addon: "media + subtitle(type=vtt)"
Addon->>Player: play(parsed data)
Player-->>Player: Reject unsupported vtt type
Note over Player: Subtitle is omitted
Reviews (1): Last reviewed commit: "[script.module.libard] 6.0.3" | Re-trigger Greptile
| if source.get('kind') == 'webvtt': | ||
| subtitles.append({ | ||
| 'url': source['url'], | ||
| 'type': 'vtt', |
There was a problem hiding this comment.
There was a problem hiding this comment.
Thanks, good catch. Changed the subtitle type to webvtt and verified it locally with an ARD item containing WebVTT subtitles. Playback and subtitles are working.
Description
Fix ARD Mediathek and Sportschau playback after changes to the ARD API.
The old
/page-gateway/mediacollection/{id}endpoint now returns HTTP 404.This update:
/page-gateway/pages/ard/item/{id}endpoint with mediaCollection v6streams/mediastructureTested playback with:
Checklist: