Skip to content

Commit b8fca5c

Browse files
refactor
1 parent ded372e commit b8fca5c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/api/endpoints/manifest.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ def get_base_manifest(user_settings: UserSettings | None = None):
4040
get_catalogs_from_config(user_settings, "watchly.creators", "From your favourite Creators", False, False)
4141
)
4242
else:
43-
# Default: include watchly.rec
44-
catalogs.append({"type": "movie", "id": "watchly.rec", "name": "Top Picks for You", "extra": []})
45-
catalogs.append({"type": "series", "id": "watchly.rec", "name": "Top Picks for You", "extra": []})
43+
# Default: empty catalogs
44+
catalogs = []
4645

4746
return {
4847
"id": settings.ADDON_ID,
@@ -76,7 +75,6 @@ async def build_dynamic_catalogs(bundle: StremioBundle, auth_key: str, user_sett
7675

7776
async def _manifest_handler(response: Response, token: str):
7877
# response.headers["Cache-Control"] = "public, max-age=300" # 5 minutes
79-
8078
if not token:
8179
raise HTTPException(status_code=401, detail="Missing token. Please reconfigure the addon.")
8280

0 commit comments

Comments
 (0)