Update info.py

This commit is contained in:
Urlo30
2024-08-18 19:29:11 +02:00
committed by GitHub
Unverified
parent 1aae8b1c5c
commit b941e02a21
+10 -1
View File
@@ -42,6 +42,11 @@ def get_info_tmdb(tmbda,ismovie,type):
return showname return showname
elif type == "Cool": elif type == "Cool":
return showname return showname
elif type == "LordChannel":
date = show.first_air_date
date = date.split("-")[0]
print("Real date",date)
return showname,date
elif ismovie == 1: elif ismovie == 1:
movie = Movie() movie = Movie()
@@ -65,7 +70,11 @@ def get_info_tmdb(tmbda,ismovie,type):
return showname return showname
elif type == "Cool": elif type == "Cool":
return showname return showname
elif type == "LordChannel":
date = show.release_date
date = date.split("-")[0]
print("Real date",date)
return showname,date
def get_info_imdb(imdb_id, ismovie, type): def get_info_imdb(imdb_id, ismovie, type):