ChandimaPrabath commited on
Commit
1049655
·
1 Parent(s): 8e6a91a

add dubug logs

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -67,7 +67,9 @@ 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
  for ep in tv_store_data[title][season]:
 
71
  if episode in ep:
72
  cache_path = os.path.join(CACHE_DIR, ep)
73
  if os.path.exists(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
+ 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
  cache_path = os.path.join(CACHE_DIR, ep)
75
  if os.path.exists(cache_path):