Spaces:
Paused
Paused
Update info.py
Browse files
info.py
CHANGED
|
@@ -42,6 +42,16 @@ def get_info_tmdb(tmbda,ismovie,type):
|
|
| 42 |
return showname
|
| 43 |
elif type == "Cool":
|
| 44 |
return showname
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
elif ismovie == 1:
|
| 47 |
movie = Movie()
|
|
@@ -65,7 +75,16 @@ def get_info_tmdb(tmbda,ismovie,type):
|
|
| 65 |
return showname
|
| 66 |
elif type == "Cool":
|
| 67 |
return showname
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
def get_info_imdb(imdb_id, ismovie, type):
|
| 71 |
|
|
|
|
| 42 |
return showname
|
| 43 |
elif type == "Cool":
|
| 44 |
return showname
|
| 45 |
+
elif type == "LordChannel":
|
| 46 |
+
date = show.first_air_date
|
| 47 |
+
date = date.split("-")[0]
|
| 48 |
+
print("Real date",date)
|
| 49 |
+
return showname,date
|
| 50 |
+
elif type == "StreamingWatch":
|
| 51 |
+
date = show.first_air_date
|
| 52 |
+
date = date.split("-")[0]
|
| 53 |
+
print("Real date",date)
|
| 54 |
+
return showname,date
|
| 55 |
|
| 56 |
elif ismovie == 1:
|
| 57 |
movie = Movie()
|
|
|
|
| 75 |
return showname
|
| 76 |
elif type == "Cool":
|
| 77 |
return showname
|
| 78 |
+
elif type == "LordChannel":
|
| 79 |
+
date = show.release_date
|
| 80 |
+
date = date.split("-")[0]
|
| 81 |
+
print("Real date",date)
|
| 82 |
+
return showname,date
|
| 83 |
+
elif type == "StreamingWatch":
|
| 84 |
+
date = show.release_date
|
| 85 |
+
date = date.split("-")[0]
|
| 86 |
+
print("Real date",date)
|
| 87 |
+
return showname,date
|
| 88 |
|
| 89 |
def get_info_imdb(imdb_id, ismovie, type):
|
| 90 |
|