Update info.py
This commit is contained in:
committed by
GitHub
Unverified
parent
1aae8b1c5c
commit
b941e02a21
@@ -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):
|
||||||
|
|
||||||
@@ -118,4 +127,4 @@ def is_movie(imdb_id):
|
|||||||
return ismovie,imdb_id,season,episode
|
return ismovie,imdb_id,season,episode
|
||||||
else:
|
else:
|
||||||
ismovie = 1
|
ismovie = 1
|
||||||
return ismovie,imdb_id
|
return ismovie,imdb_id
|
||||||
|
|||||||
Reference in New Issue
Block a user