ChandimaPrabath commited on
Commit
6c36952
·
1 Parent(s): 089ef31

fix episode stream error

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -67,10 +67,8 @@ def get_tv_show_api(title, season, episode):
67
 
68
  # Check if the episode is already cached
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))
 
67
 
68
  # Check if the episode is already cached
69
  if title in tv_store_data and season in tv_store_data[title]:
 
70
  for ep in tv_store_data[title][season]:
71
  if episode in ep:
 
72
  cache_path = tv_store_data[title][season][ep]
73
  if os.path.exists(cache_path):
74
  return send_from_directory(os.path.dirname(cache_path), os.path.basename(cache_path))