Spaces:
Paused
Paused
Commit
·
089ef31
1
Parent(s):
1049655
fix debug
Browse files
app.py
CHANGED
@@ -69,9 +69,9 @@ def get_tv_show_api(title, season, episode):
|
|
69 |
if title in tv_store_data and season in tv_store_data[title]:
|
70 |
print(f"found title :{title}")
|
71 |
for ep in tv_store_data[title][season]:
|
72 |
-
print(f"found :{title} {season} {episode}")
|
73 |
if episode in ep:
|
74 |
-
|
|
|
75 |
if os.path.exists(cache_path):
|
76 |
return send_from_directory(os.path.dirname(cache_path), os.path.basename(cache_path))
|
77 |
|
|
|
69 |
if title in tv_store_data and season in tv_store_data[title]:
|
70 |
print(f"found title :{title}")
|
71 |
for ep in tv_store_data[title][season]:
|
|
|
72 |
if episode in ep:
|
73 |
+
print(f"found :{title} {season} {episode}")
|
74 |
+
cache_path = tv_store_data[title][season][ep]
|
75 |
if os.path.exists(cache_path):
|
76 |
return send_from_directory(os.path.dirname(cache_path), os.path.basename(cache_path))
|
77 |
|