diff --git a/ARD/__init__.py b/ARD/__init__.py index f6b1f1b..bf975b8 100644 --- a/ARD/__init__.py +++ b/ARD/__init__.py @@ -145,12 +145,12 @@ class ARD(Service): "data": widget, "service": self.__class__, "language": "de", - "year": widget["broadcastedOn"][0:4], } if widget["show"]["coreAssetType"] == "SINGLE" or not widget["show"].get("availableSeasons"): return Movies([Movie( name=widget["title"], + year=widget["broadcastedOn"][0:4], **common_data )]) else: diff --git a/ZDF/__init__.py b/ZDF/__init__.py index 68fbd5e..f5736e0 100644 --- a/ZDF/__init__.py +++ b/ZDF/__init__.py @@ -151,7 +151,6 @@ class ZDF(Service): common_data = { "id_": video["id"], "service": self.__class__, - "year": video["editorialDate"][0:4], "data": video["currentMedia"], } @@ -159,6 +158,7 @@ class ZDF(Service): if "publicationFormInfo" in meta and meta["publicationFormInfo"]["original"] == "Film": return Movies([Movie( name=video["title"], + year=video["editorialDate"][0:4], **common_data )]) else: