From 0dcb01fd5a7d332b268c42283b8d71241495229c Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Mon, 19 Apr 2021 22:34:40 +0200 Subject: [PATCH] svtplay: add titleHeading as episodename when episodeHeading is None --- lib/svtplay_dl/service/svtplay.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index 7956049..ae5b5ef 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -216,6 +216,8 @@ class Svtplay(Service, MetadataThumbMixin): elif name is None: name = other other = None + elif other is None: + other = data["moreDetails"]["titleHeading"] season, episode = self.seasoninfo(data) if "accessibility" in data: