From aa9c52c23abe0b14e717691cd3b028483f7d8b36 Mon Sep 17 00:00:00 2001 From: Urlo30 <91965455+UrloMythus@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:35:29 +0200 Subject: [PATCH] Update info.py Added support for streamingwatch --- info.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/info.py b/info.py index 5f899fa..b113747 100644 --- a/info.py +++ b/info.py @@ -47,6 +47,11 @@ def get_info_tmdb(tmbda,ismovie,type): date = date.split("-")[0] print("Real date",date) return showname,date + elif type == "StreamingWatch": + date = show.first_air_date + date = date.split("-")[0] + print("Real date",date) + return showname,date elif ismovie == 1: movie = Movie() @@ -75,6 +80,11 @@ def get_info_tmdb(tmbda,ismovie,type): date = date.split("-")[0] print("Real date",date) return showname,date + elif type == "StreamingWatch": + date = show.release_date + date = date.split("-")[0] + print("Real date",date) + return showname,date def get_info_imdb(imdb_id, ismovie, type):