Update app.py
Browse files
app.py
CHANGED
|
@@ -114,8 +114,8 @@ async def get_tidal_access_token():
|
|
| 114 |
cached_tidal_token = data.get("access_token")
|
| 115 |
token_expiry_time = time.time() + data.get("expires_in", 3600)
|
| 116 |
return cached_tidal_token
|
| 117 |
-
|
| 118 |
-
|
| 119 |
return None
|
| 120 |
|
| 121 |
def search_youtube_sync(search_query: str, target_title: str, target_artist: str):
|
|
|
|
| 114 |
cached_tidal_token = data.get("access_token")
|
| 115 |
token_expiry_time = time.time() + data.get("expires_in", 3600)
|
| 116 |
return cached_tidal_token
|
| 117 |
+
except Exception as e:
|
| 118 |
+
print(f"Tidal Auth Error: {e}")
|
| 119 |
return None
|
| 120 |
|
| 121 |
def search_youtube_sync(search_query: str, target_title: str, target_artist: str):
|