Closed tubbadu closed 2 weeks ago
I'm trying to self-host both stremio-web and stremio-docker (server) on my Debian 12 server. I cloned stremio-web and wrote this docker compose file:
services: stremio-server: image: stremio/server:latest restart: unless-stopped environment: NO_CORS: 1 ports: - "11470:11470" # Just one of the two should be enough - "12470:12470" stremio-web: build: context: ./stremio-web dockerfile: ./Dockerfile ports: - 8091:8080
Then I wrote another docker compose file for MammaMia:
services: mammamia: build: context: . dockerfile: ./Dockerfile # Specify the path to your Dockerfile if it's not in the same directory # image: mammamia:latest # Optional: specify the image name and tag ports: - "8092:8080"
I then
docker compose up
both containers, generated the install url in mammamia UI, installed it in stremio UI, and until here everything is fine. I then tried to search for a movie in stremio (e.g.: game of thrones), and when I click on it it says "no streams were found, install addons", and mammamia throws this error:[+] Running 1/0 ✔ Container mammamia-mammamia-1 Created 0.0s Attaching to mammamia-1 mammamia-1 | INFO: Started server process [1] mammamia-1 | INFO: Waiting for application startup. mammamia-1 | INFO: Application startup complete. mammamia-1 | INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) mammamia-1 | Handling movie or series: tt0944947:8:2 mammamia-1 | 1 mammamia-1 | INFO: 192.168.1.69:36528 - "GET /%7CSC%7CLC%7CSW%7CTF%7CFT%7CAW%7C/meta/series/tt0944947.json HTTP/1.1" 404 Not Found mammamia-1 | MammaMia: StreamingCommunity failed 'movie_results' mammamia-1 | MammaMia: Lordchannel Failed 'movie_results' mammamia-1 | INFO: 192.168.1.69:36544 - "GET /%7CSC%7CLC%7CSW%7CTF%7CFT%7CAW%7C/stream/series/tt0944947%3A8%3A2.json HTTP/1.1" 500 Internal Server Error mammamia-1 | ERROR: Exception in ASGI application mammamia-1 | + Exception Group Traceback (most recent call last): mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 76, in collapse_excgroups mammamia-1 | | yield mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 186, in __call__ mammamia-1 | | async with anyio.create_task_group() as task_group: mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__ mammamia-1 | | raise BaseExceptionGroup( mammamia-1 | | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) mammamia-1 | +-+---------------- 1 ---------------- mammamia-1 | | Traceback (most recent call last): mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi mammamia-1 | | result = await app( # type: ignore[func-returns-value] mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__ mammamia-1 | | return await self.app(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ mammamia-1 | | await super().__call__(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__ mammamia-1 | | await self.middleware_stack(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__ mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__ mammamia-1 | | await self.app(scope, receive, _send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in __call__ mammamia-1 | | with collapse_excgroups(): mammamia-1 | | File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__ mammamia-1 | | self.gen.throw(typ, value, traceback) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 187, in __call__ mammamia-1 | | response = await self.dispatch_func(request, call_next) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/slowapi/middleware.py", line 128, in dispatch mammamia-1 | | return await call_next(request) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 163, in call_next mammamia-1 | | raise app_exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 149, in coro mammamia-1 | | await self.app(scope, receive_or_disconnect, send_no_error) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ mammamia-1 | | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | | await app(scope, receive, sender) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 715, in __call__ mammamia-1 | | await self.middleware_stack(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 735, in app mammamia-1 | | await route.handle(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle mammamia-1 | | await self.app(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 76, in app mammamia-1 | | await wrap_app_handling_exceptions(app, request)(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | | await app(scope, receive, sender) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 73, in app mammamia-1 | | response = await f(request) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app mammamia-1 | | raw_response = await run_endpoint_function( mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function mammamia-1 | | return await dependant.call(**values) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/slowapi/extension.py", line 734, in async_wrapper mammamia-1 | | response = await func(*args, **kwargs) # type: ignore mammamia-1 | | File "/app/run.py", line 260, in addon_stream mammamia-1 | | url_filmpertutti = await filmpertutti(id,client) mammamia-1 | | File "/app/Src/API/filmpertutti.py", line 115, in filmpertutti mammamia-1 | | showname,date = await get_info_imdb(imdb_id,ismovie,type,client) mammamia-1 | | File "/app/Src/Utilities/info.py", line 110, in get_info_imdb mammamia-1 | | showname = data['tv_results'][0]['name'] mammamia-1 | | KeyError: 'tv_results' mammamia-1 | +------------------------------------ mammamia-1 | mammamia-1 | During handling of the above exception, another exception occurred: mammamia-1 | mammamia-1 | Traceback (most recent call last): mammamia-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi mammamia-1 | result = await app( # type: ignore[func-returns-value] mammamia-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__ mammamia-1 | return await self.app(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ mammamia-1 | await super().__call__(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__ mammamia-1 | await self.middleware_stack(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__ mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__ mammamia-1 | await self.app(scope, receive, _send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in __call__ mammamia-1 | with collapse_excgroups(): mammamia-1 | File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__ mammamia-1 | self.gen.throw(typ, value, traceback) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 187, in __call__ mammamia-1 | response = await self.dispatch_func(request, call_next) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/slowapi/middleware.py", line 128, in dispatch mammamia-1 | return await call_next(request) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 163, in call_next mammamia-1 | raise app_exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 149, in coro mammamia-1 | await self.app(scope, receive_or_disconnect, send_no_error) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ mammamia-1 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | await app(scope, receive, sender) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 715, in __call__ mammamia-1 | await self.middleware_stack(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 735, in app mammamia-1 | await route.handle(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle mammamia-1 | await self.app(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 76, in app mammamia-1 | await wrap_app_handling_exceptions(app, request)(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | await app(scope, receive, sender) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 73, in app mammamia-1 | response = await f(request) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app mammamia-1 | raw_response = await run_endpoint_function( mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function mammamia-1 | return await dependant.call(**values) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/slowapi/extension.py", line 734, in async_wrapper mammamia-1 | response = await func(*args, **kwargs) # type: ignore mammamia-1 | File "/app/run.py", line 260, in addon_stream mammamia-1 | url_filmpertutti = await filmpertutti(id,client) mammamia-1 | File "/app/Src/API/filmpertutti.py", line 115, in filmpertutti mammamia-1 | showname,date = await get_info_imdb(imdb_id,ismovie,type,client) mammamia-1 | File "/app/Src/Utilities/info.py", line 110, in get_info_imdb mammamia-1 | showname = data['tv_results'][0]['name'] mammamia-1 | KeyError: 'tv_results' ^CGracefully stopping... (press Ctrl+C again to force) [+] Stopping 1/1 ✔ Container mammamia-mammamia-1 Stopped 0.5s canceled
I'm not (yet) using a reverse proxy, everything is running at http://myserverhostname:port
Is it a problem of my stremio install or a problem of MammaMia?
I am facing exactly the same problem. I have tried running it in a docker container and as a python program. Issue is the same, with or without nginx as reverse proxy + ssl.
Thanks
I'm trying to self-host both stremio-web and stremio-docker (server) on my Debian 12 server. I cloned stremio-web and wrote this docker compose file:
services: stremio-server: image: stremio/server:latest restart: unless-stopped environment: NO_CORS: 1 ports: - "11470:11470" # Just one of the two should be enough - "12470:12470" stremio-web: build: context: ./stremio-web dockerfile: ./Dockerfile ports: - 8091:8080
Then I wrote another docker compose file for MammaMia:
services: mammamia: build: context: . dockerfile: ./Dockerfile # Specify the path to your Dockerfile if it's not in the same directory # image: mammamia:latest # Optional: specify the image name and tag ports: - "8092:8080"
I then
docker compose up
both containers, generated the install url in mammamia UI, installed it in stremio UI, and until here everything is fine. I then tried to search for a movie in stremio (e.g.: game of thrones), and when I click on it it says "no streams were found, install addons", and mammamia throws this error:[+] Running 1/0 ✔ Container mammamia-mammamia-1 Created 0.0s Attaching to mammamia-1 mammamia-1 | INFO: Started server process [1] mammamia-1 | INFO: Waiting for application startup. mammamia-1 | INFO: Application startup complete. mammamia-1 | INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) mammamia-1 | Handling movie or series: tt0944947:8:2 mammamia-1 | 1 mammamia-1 | INFO: 192.168.1.69:36528 - "GET /%7CSC%7CLC%7CSW%7CTF%7CFT%7CAW%7C/meta/series/tt0944947.json HTTP/1.1" 404 Not Found mammamia-1 | MammaMia: StreamingCommunity failed 'movie_results' mammamia-1 | MammaMia: Lordchannel Failed 'movie_results' mammamia-1 | INFO: 192.168.1.69:36544 - "GET /%7CSC%7CLC%7CSW%7CTF%7CFT%7CAW%7C/stream/series/tt0944947%3A8%3A2.json HTTP/1.1" 500 Internal Server Error mammamia-1 | ERROR: Exception in ASGI application mammamia-1 | + Exception Group Traceback (most recent call last): mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 76, in collapse_excgroups mammamia-1 | | yield mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 186, in __call__ mammamia-1 | | async with anyio.create_task_group() as task_group: mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__ mammamia-1 | | raise BaseExceptionGroup( mammamia-1 | | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) mammamia-1 | +-+---------------- 1 ---------------- mammamia-1 | | Traceback (most recent call last): mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi mammamia-1 | | result = await app( # type: ignore[func-returns-value] mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__ mammamia-1 | | return await self.app(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ mammamia-1 | | await super().__call__(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__ mammamia-1 | | await self.middleware_stack(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__ mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__ mammamia-1 | | await self.app(scope, receive, _send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in __call__ mammamia-1 | | with collapse_excgroups(): mammamia-1 | | File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__ mammamia-1 | | self.gen.throw(typ, value, traceback) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 187, in __call__ mammamia-1 | | response = await self.dispatch_func(request, call_next) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/slowapi/middleware.py", line 128, in dispatch mammamia-1 | | return await call_next(request) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 163, in call_next mammamia-1 | | raise app_exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 149, in coro mammamia-1 | | await self.app(scope, receive_or_disconnect, send_no_error) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ mammamia-1 | | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | | await app(scope, receive, sender) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 715, in __call__ mammamia-1 | | await self.middleware_stack(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 735, in app mammamia-1 | | await route.handle(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle mammamia-1 | | await self.app(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 76, in app mammamia-1 | | await wrap_app_handling_exceptions(app, request)(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | | await app(scope, receive, sender) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 73, in app mammamia-1 | | response = await f(request) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app mammamia-1 | | raw_response = await run_endpoint_function( mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function mammamia-1 | | return await dependant.call(**values) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/slowapi/extension.py", line 734, in async_wrapper mammamia-1 | | response = await func(*args, **kwargs) # type: ignore mammamia-1 | | File "/app/run.py", line 260, in addon_stream mammamia-1 | | url_filmpertutti = await filmpertutti(id,client) mammamia-1 | | File "/app/Src/API/filmpertutti.py", line 115, in filmpertutti mammamia-1 | | showname,date = await get_info_imdb(imdb_id,ismovie,type,client) mammamia-1 | | File "/app/Src/Utilities/info.py", line 110, in get_info_imdb mammamia-1 | | showname = data['tv_results'][0]['name'] mammamia-1 | | KeyError: 'tv_results' mammamia-1 | +------------------------------------ mammamia-1 | mammamia-1 | During handling of the above exception, another exception occurred: mammamia-1 | mammamia-1 | Traceback (most recent call last): mammamia-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi mammamia-1 | result = await app( # type: ignore[func-returns-value] mammamia-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__ mammamia-1 | return await self.app(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ mammamia-1 | await super().__call__(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__ mammamia-1 | await self.middleware_stack(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__ mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__ mammamia-1 | await self.app(scope, receive, _send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in __call__ mammamia-1 | with collapse_excgroups(): mammamia-1 | File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__ mammamia-1 | self.gen.throw(typ, value, traceback) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 187, in __call__ mammamia-1 | response = await self.dispatch_func(request, call_next) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/slowapi/middleware.py", line 128, in dispatch mammamia-1 | return await call_next(request) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 163, in call_next mammamia-1 | raise app_exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 149, in coro mammamia-1 | await self.app(scope, receive_or_disconnect, send_no_error) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ mammamia-1 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | await app(scope, receive, sender) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 715, in __call__ mammamia-1 | await self.middleware_stack(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 735, in app mammamia-1 | await route.handle(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle mammamia-1 | await self.app(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 76, in app mammamia-1 | await wrap_app_handling_exceptions(app, request)(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | await app(scope, receive, sender) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 73, in app mammamia-1 | response = await f(request) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app mammamia-1 | raw_response = await run_endpoint_function( mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function mammamia-1 | return await dependant.call(**values) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/slowapi/extension.py", line 734, in async_wrapper mammamia-1 | response = await func(*args, **kwargs) # type: ignore mammamia-1 | File "/app/run.py", line 260, in addon_stream mammamia-1 | url_filmpertutti = await filmpertutti(id,client) mammamia-1 | File "/app/Src/API/filmpertutti.py", line 115, in filmpertutti mammamia-1 | showname,date = await get_info_imdb(imdb_id,ismovie,type,client) mammamia-1 | File "/app/Src/Utilities/info.py", line 110, in get_info_imdb mammamia-1 | showname = data['tv_results'][0]['name'] mammamia-1 | KeyError: 'tv_results' ^CGracefully stopping... (press Ctrl+C again to force) [+] Stopping 1/1 ✔ Container mammamia-mammamia-1 Stopped 0.5s canceled
I'm not (yet) using a reverse proxy, everything is running at http://myserverhostname:port
Is it a problem of my stremio install or a problem of MammaMia?
Have you inserted the TMDB key? Seems like this is what is giving error. Make sure to insert the correct one between the two available on the site. If so is load env set to 1 in the config?
Hello, thank you, I have hardcoded my TMDB key in MammaMia/Src/Utilities/loadenv.py. Now it seemED to be working, but it is not. I have to check what is the provider that is giving the issue.
Thank you
Il giorno mer 13 nov 2024 alle ore 17:16 Urlo30 @.***> ha scritto:
I'm trying to self-host both stremio-web and stremio-docker (server) on my Debian 12 server. I cloned stremio-web and wrote this docker compose file:
services: stremio-server: image: stremio/server:latest restart: unless-stopped environment: NO_CORS: 1 ports:
- "11470:11470" # Just one of the two should be enough
- "12470:12470" stremio-web: build: context: ./stremio-web dockerfile: ./Dockerfile ports:
- 8091:8080
Then I wrote another docker compose file for MammaMia:
services: mammamia: build: context: . dockerfile: ./Dockerfile # Specify the path to your Dockerfile if it's not in the same directory
image: mammamia:latest # Optional: specify the image name and tag
ports: - "8092:8080"
I then docker compose up both containers, generated the install url in mammamia UI, installed it in stremio UI, and until here everything is fine. I then tried to search for a movie in stremio (e.g.: game of thrones), and when I click on it it says "no streams were found, install addons", and mammamia throws this error:
[+] Running 1/0 ✔ Container mammamia-mammamia-1 Created 0.0s Attaching to mammamia-1 mammamia-1 | INFO: Started server process [1] mammamia-1 | INFO: Waiting for application startup. mammamia-1 | INFO: Application startup complete. mammamia-1 | INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) mammamia-1 | Handling movie or series: tt0944947:8:2 mammamia-1 | 1 mammamia-1 | INFO: 192.168.1.69:36528 - "GET /%7CSC%7CLC%7CSW%7CTF%7CFT%7CAW%7C/meta/series/tt0944947.json HTTP/1.1" 404 Not Found mammamia-1 | MammaMia: StreamingCommunity failed 'movie_results' mammamia-1 | MammaMia: Lordchannel Failed 'movie_results' mammamia-1 | INFO: 192.168.1.69:36544 - "GET /%7CSC%7CLC%7CSW%7CTF%7CFT%7CAW%7C/stream/series/tt0944947%3A8%3A2.json HTTP/1.1" 500 Internal Server Error mammamia-1 | ERROR: Exception in ASGI application mammamia-1 | + Exception Group Traceback (most recent call last): mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 76, in collapse_excgroups mammamia-1 | | yield mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 186, in call mammamia-1 | | async with anyio.create_task_group() as task_group: mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 763, in aexit mammamia-1 | | raise BaseExceptionGroup( mammamia-1 | | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) mammamia-1 | +-+---------------- 1 ---------------- mammamia-1 | | Traceback (most recent call last): mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi mammamia-1 | | result = await app( # type: ignore[func-returns-value] mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call mammamia-1 | | return await self.app(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in call mammamia-1 | | await super().call(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in call mammamia-1 | | await self.middleware_stack(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in call mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in call mammamia-1 | | await self.app(scope, receive, _send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in call mammamia-1 | | with collapse_excgroups(): mammamia-1 | | File "/usr/local/lib/python3.10/contextlib.py", line 153, in exit mammamia-1 | | self.gen.throw(typ, value, traceback) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 187, in call mammamia-1 | | response = await self.dispatch_func(request, call_next) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/slowapi/middleware.py", line 128, in dispatch mammamia-1 | | return await call_next(request) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 163, in call_next mammamia-1 | | raise app_exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 149, in coro mammamia-1 | | await self.app(scope, receive_or_disconnect, send_no_error) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call mammamia-1 | | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | | await app(scope, receive, sender) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 715, in call mammamia-1 | | await self.middleware_stack(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 735, in app mammamia-1 | | await route.handle(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle mammamia-1 | | await self.app(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 76, in app mammamia-1 | | await wrap_app_handling_exceptions(app, request)(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | | await app(scope, receive, sender) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 73, in app mammamia-1 | | response = await f(request) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app mammamia-1 | | raw_response = await run_endpoint_function( mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function mammamia-1 | | return await dependant.call(values) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/slowapi/extension.py", line 734, in async_wrapper mammamia-1 | | response = await func(args, kwargs) # type: ignore mammamia-1 | | File "/app/run.py", line 260, in addon_stream mammamia-1 | | url_filmpertutti = await filmpertutti(id,client) mammamia-1 | | File "/app/Src/API/filmpertutti.py", line 115, in filmpertutti mammamia-1 | | showname,date = await get_info_imdb(imdb_id,ismovie,type,client) mammamia-1 | | File "/app/Src/Utilities/info.py", line 110, in get_info_imdb mammamia-1 | | showname = data['tv_results'][0]['name'] mammamia-1 | | KeyError: 'tv_results' mammamia-1 | +------------------------------------ mammamia-1 | mammamia-1 | During handling of the above exception, another exception occurred: mammamia-1 | mammamia-1 | Traceback (most recent call last): mammamia-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi mammamia-1 | result = await app( # type: ignore[func-returns-value] mammamia-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call mammamia-1 | return await self.app(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in call mammamia-1 | await super().call(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in call mammamia-1 | await self.middleware_stack(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in call mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in call mammamia-1 | await self.app(scope, receive, _send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in call mammamia-1 | with collapse_excgroups(): mammamia-1 | File "/usr/local/lib/python3.10/contextlib.py", line 153, in exit mammamia-1 | self.gen.throw(typ, value, traceback) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 187, in call mammamia-1 | response = await self.dispatch_func(request, call_next) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/slowapi/middleware.py", line 128, in dispatch mammamia-1 | return await call_next(request) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 163, in call_next mammamia-1 | raise app_exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 149, in coro mammamia-1 | await self.app(scope, receive_or_disconnect, send_no_error) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call mammamia-1 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | await app(scope, receive, sender) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 715, in call mammamia-1 | await self.middleware_stack(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 735, in app mammamia-1 | await route.handle(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle mammamia-1 | await self.app(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 76, in app mammamia-1 | await wrap_app_handling_exceptions(app, request)(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | await app(scope, receive, sender) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 73, in app mammamia-1 | response = await f(request) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app mammamia-1 | raw_response = await run_endpoint_function( mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function mammamia-1 | return await dependant.call(values) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/slowapi/extension.py", line 734, in async_wrapper mammamia-1 | response = await func(args, kwargs) # type: ignore mammamia-1 | File "/app/run.py", line 260, in addon_stream mammamia-1 | url_filmpertutti = await filmpertutti(id,client) mammamia-1 | File "/app/Src/API/filmpertutti.py", line 115, in filmpertutti mammamia-1 | showname,date = await get_info_imdb(imdb_id,ismovie,type,client) mammamia-1 | File "/app/Src/Utilities/info.py", line 110, in get_info_imdb mammamia-1 | showname = data['tv_results'][0]['name'] mammamia-1 | KeyError: 'tv_results' ^CGracefully stopping... (press Ctrl+C again to force) [+] Stopping 1/1 ✔ Container mammamia-mammamia-1 Stopped 0.5s canceled
I'm not (yet) using a reverse proxy, everything is running at http://myserverhostname:port
Is it a problem of my stremio install or a problem of MammaMia?
Have you inserted the TMDB key? Seems like this is what is giving error. Make sure to insert the correct one between the two available on the site
— Reply to this email directly, view it on GitHub https://github.com/UrloMythus/MammaMia/issues/6#issuecomment-2474082675, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2VWODEX4KUJ4YJ6LIAKIL2AN3NTAVCNFSM6AAAAABRRXE6E6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZUGA4DENRXGU . You are receiving this because you commented.Message ID: @.***>
Have you inserted the TMDB key? Seems like this is what is giving error. Make sure to insert the correct one between the two available on the site. If so is load env set to 1 in the config?
Thanks for the answer! You are indeed correct, it wasn't set (I thought it wasn't compulsory to make the addon work). I added it in the docker compose file:
services:
mammamia:
environment:
TMDB_KEY: "qwertyuiopasdfghjklzxcvbnm"
build:
context: .
dockerfile: ./Dockerfile
ports:
- "8092:8080"
it now works correctly (not with streaming community, but with the other services it does work. I guess it's a different problem now, so I'll try to solve it and if I fail I'll open a new issue). Thank you very much for your help!
Hello, thank you, I have hardcoded my TMDB key in MammaMia/Src/Utilities/loadenv.py. Now it seemED to be working, but it is not. I have to check what is the provider that is giving the issue. Thank you Il giorno mer 13 nov 2024 alle ore 17:16 Urlo30 @.*> ha scritto: … I'm trying to self-host both stremio-web and stremio-docker (server) on my Debian 12 server. I cloned stremio-web and wrote this docker compose file: services: stremio-server: image: stremio/server:latest restart: unless-stopped environment: NO_CORS: 1 ports: - "11470:11470" # Just one of the two should be enough - "12470:12470" stremio-web: build: context: ./stremio-web dockerfile: ./Dockerfile ports: - 8091:8080 Then I wrote another docker compose file for MammaMia: services: mammamia: build: context: . dockerfile: ./Dockerfile # Specify the path to your Dockerfile if it's not in the same directory # image: mammamia:latest # Optional: specify the image name and tag ports: - "8092:8080" I then docker compose up both containers, generated the install url in mammamia UI, installed it in stremio UI, and until here everything is fine. I then tried to search for a movie in stremio (e.g.: game of thrones), and when I click on it it says "no streams were found, install addons", and mammamia throws this error: [+] Running 1/0 ✔ Container mammamia-mammamia-1 Created 0.0s Attaching to mammamia-1 mammamia-1 | INFO: Started server process [1] mammamia-1 | INFO: Waiting for application startup. mammamia-1 | INFO: Application startup complete. mammamia-1 | INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) mammamia-1 | Handling movie or series: tt0944947:8:2 mammamia-1 | 1 mammamia-1 | INFO: 192.168.1.69:36528 - "GET /%7CSC%7CLC%7CSW%7CTF%7CFT%7CAW%7C/meta/series/tt0944947.json HTTP/1.1" 404 Not Found mammamia-1 | MammaMia: StreamingCommunity failed 'movie_results' mammamia-1 | MammaMia: Lordchannel Failed 'movie_results' mammamia-1 | INFO: 192.168.1.69:36544 - "GET /%7CSC%7CLC%7CSW%7CTF%7CFT%7CAW%7C/stream/series/tt0944947%3A8%3A2.json HTTP/1.1" 500 Internal Server Error mammamia-1 | ERROR: Exception in ASGI application mammamia-1 | + Exception Group Traceback (most recent call last): mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 76, in collapse_excgroups mammamia-1 | | yield mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 186, in call mammamia-1 | | async with anyio.create_task_group() as task_group: mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 763, in aexit mammamia-1 | | raise BaseExceptionGroup( mammamia-1 | | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) mammamia-1 | +-+---------------- 1 ---------------- mammamia-1 | | Traceback (most recent call last): mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi mammamia-1 | | result = await app( # type: ignore[func-returns-value] mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call mammamia-1 | | return await self.app(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in call mammamia-1 | | await super().call(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in call mammamia-1 | | await self.middleware_stack(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in call mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in call mammamia-1 | | await self.app(scope, receive, _send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in call mammamia-1 | | with collapse_excgroups(): mammamia-1 | | File "/usr/local/lib/python3.10/contextlib.py", line 153, in exit mammamia-1 | | self.gen.throw(typ, value, traceback) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 187, in call mammamia-1 | | response = await self.dispatch_func(request, call_next) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/slowapi/middleware.py", line 128, in dispatch mammamia-1 | | return await call_next(request) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 163, in call_next mammamia-1 | | raise app_exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 149, in coro mammamia-1 | | await self.app(scope, receive_or_disconnect, send_no_error) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call mammamia-1 | | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | | await app(scope, receive, sender) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 715, in call mammamia-1 | | await self.middleware_stack(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 735, in app mammamia-1 | | await route.handle(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle mammamia-1 | | await self.app(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 76, in app mammamia-1 | | await wrap_app_handling_exceptions(app, request)(scope, receive, send) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | | raise exc mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | | await app(scope, receive, sender) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 73, in app mammamia-1 | | response = await f(request) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app mammamia-1 | | raw_response = await run_endpoint_function( mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function mammamia-1 | | return await dependant.call(*values) mammamia-1 | | File "/usr/local/lib/python3.10/site-packages/slowapi/extension.py", line 734, in async_wrapper mammamia-1 | | response = await func(args, kwargs) # type: ignore mammamia-1 | | File "/app/run.py", line 260, in addon_stream mammamia-1 | | url_filmpertutti = await filmpertutti(id,client) mammamia-1 | | File "/app/Src/API/filmpertutti.py", line 115, in filmpertutti mammamia-1 | | showname,date = await get_info_imdb(imdb_id,ismovie,type,client) mammamia-1 | | File "/app/Src/Utilities/info.py", line 110, in get_info_imdb mammamia-1 | | showname = data['tv_results'][0]['name'] mammamia-1 | | KeyError: 'tv_results' mammamia-1 | +------------------------------------ mammamia-1 | mammamia-1 | During handling of the above exception, another exception occurred: mammamia-1 | mammamia-1 | Traceback (most recent call last): mammamia-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi mammamia-1 | result = await app( # type: ignore[func-returns-value] mammamia-1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call mammamia-1 | return await self.app(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in call mammamia-1 | await super().call(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in call mammamia-1 | await self.middleware_stack(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in call mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in call mammamia-1 | await self.app(scope, receive, _send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in call mammamia-1 | with collapse_excgroups(): mammamia-1 | File "/usr/local/lib/python3.10/contextlib.py", line 153, in exit mammamia-1 | self.gen.throw(typ, value, traceback) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 187, in call mammamia-1 | response = await self.dispatch_func(request, call_next) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/slowapi/middleware.py", line 128, in dispatch mammamia-1 | return await call_next(request) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 163, in call_next mammamia-1 | raise app_exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 149, in coro mammamia-1 | await self.app(scope, receive_or_disconnect, send_no_error) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call mammamia-1 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | await app(scope, receive, sender) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 715, in call mammamia-1 | await self.middleware_stack(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 735, in app mammamia-1 | await route.handle(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle mammamia-1 | await self.app(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 76, in app mammamia-1 | await wrap_app_handling_exceptions(app, request)(scope, receive, send) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app mammamia-1 | raise exc mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app mammamia-1 | await app(scope, receive, sender) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 73, in app mammamia-1 | response = await f(request) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app mammamia-1 | raw_response = await run_endpoint_function( mammamia-1 | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function mammamia-1 | return await dependant.call(values) mammamia-1 | File "/usr/local/lib/python3.10/site-packages/slowapi/extension.py", line 734, in async_wrapper mammamia-1 | response = await func(*args, *kwargs) # type: ignore mammamia-1 | File "/app/run.py", line 260, in addon_stream mammamia-1 | url_filmpertutti = await filmpertutti(id,client) mammamia-1 | File "/app/Src/API/filmpertutti.py", line 115, in filmpertutti mammamia-1 | showname,date = await get_info_imdb(imdb_id,ismovie,type,client) mammamia-1 | File "/app/Src/Utilities/info.py", line 110, in get_info_imdb mammamia-1 | showname = data['tv_results'][0]['name'] mammamia-1 | KeyError: 'tv_results' ^CGracefully stopping... (press Ctrl+C again to force) [+] Stopping 1/1 ✔ Container mammamia-mammamia-1 Stopped 0.5s canceled I'm not (yet) using a reverse proxy, everything is running at http://myserverhostname:port Is it a problem of my stremio install or a problem of MammaMia? Have you inserted the TMDB key? Seems like this is what is giving error. Make sure to insert the correct one between the two available on the site — Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2VWODEX4KUJ4YJ6LIAKIL2AN3NTAVCNFSM6AAAAABRRXE6E6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZUGA4DENRXGU . You are receiving this because you commented.Message ID: @.>
Weird, are you sure the load env is set to 0 (like should be on Docker) and the enviroment variable is passed ? Anyways if so seems like the issue is not of Docker so I am closing this
I'm trying to self-host both stremio-web and stremio-docker (server) on my Debian 12 server. I cloned stremio-web and wrote this docker compose file:
Then I wrote another docker compose file for MammaMia:
I then
docker compose up
both containers, generated the install url in mammamia UI, installed it in stremio UI, and until here everything is fine. I then tried to search for a movie in stremio (e.g.: game of thrones), and when I click on it it says "no streams were found, install addons", and mammamia throws this error:I'm not (yet) using a reverse proxy, everything is running at http://myserverhostname:port
Is it a problem of my stremio install or a problem of MammaMia?