MammaMia New Version 1.5, fixed sources and Live TV, added support for MFP, added support for quick deployment with vercel and render, added proxy support

This commit is contained in:
UrloMythus
2025-01-01 10:13:57 +01:00 Unverified
parent a3b49bd6f4
commit 0801b3ae93
29 changed files with 1135 additions and 540 deletions
+12 -1
View File
@@ -11,4 +11,15 @@ async def get_TMDb_id_from_IMDb_id(imdb_id,client):
elif tmbda['tv_results']:
return tmbda['tv_results'][0]['id']
else:
return None
return None
async def get_IMDB_id_from_TMDb_id(tmdb_id,client):
url = f"https://api.themoviedb.org/3/movie/{tmdb_id}?api_key={TMDB_KEY}"
response = await client.get(url)
if response.status_code == 200:
data = response.json()
imdb_id = data.get('imdb_id')
if imdb_id:
return imdb_id