g0ldyy / comet

Stremio's fastest torrent/debrid search add-on.
MIT License
136 stars 24 forks source link

Setup Questions #94

Closed kennyparsons closed 1 month ago

kennyparsons commented 1 month ago

I have some setup questions that I haven't been able to find much on (or I haven't understood the problem correctly).

  1. I thought this could be used without prowlarr/jacket and instead use torrentio. I enabled it in the settings but am I to just leave the indexers options empty or inspected in the UI?

  2. Does the UI need to be publicly accessible? I have it behind my zero trust network and can easily access it via the browser, but stremio errors out when trying to install, saying it's unreachable.

      - ADDON_ID=comet.stremio.techup.dev
      - ADDON_NAME=Comet
      - FASTAPI_HOST=0.0.0.0
      - FASTAPI_PORT=8000
      - FASTAPI_WORKERS=1
      - DATABASE_PATH=data/comet.db
      - CACHE_TTL=86400
      - DEBRID_PROXY_URL=http://stremio.<tsnetworkdnsname>:1080
      - GET_TORRENT_TIMEOUT=5
      - INDEXER_MANAGER_TYPE=none
      - INDEXER_MANAGER_API_KEY=none
      - ZILEAN_URL=None
      - ZILEAN_TAKE_FIRST=500
      - SCRAPE_TORRENTIO=True
      - CUSTOM_HEADER_HTML=None
      - PROXY_DEBRID_STREAM=True
      - PROXY_DEBRID_STREAM_PASSWORD=redacted
      - TITLE_MATCH_CHECK=True
g0ldyy commented 1 month ago

1) just set jackett and a random password in config

2) yes it needs to be accessible publicly. to check if it's working, try opening it in your browser private window

kennyparsons commented 1 month ago

to check if it's working, try opening it in your browser private window

I can hit the domain on any browser on my computer, private or otherwise. I use tailscale, so the agent allows any browser to access. Which leads me to the followup questions:

Is stremio's server accessing it or the stremio local app? Because if it's the local app, then I'm wondering why it's not reachable.

kennyparsons commented 1 month ago

So I did some digging:

  1. In the web version of stremio, I opened the dev console and saw the install addon failed because the site was http, not https. I configured nginx with valid tailscale public certs, accessible only on the tailscale network. I can now install the addon. But a new problem emerges:
  2. When i start a stream, I get video but no audio. So I investigate further:

I open the dev console and again see an http block message after starting the video: image

Comet is only being served over nginx/https, yet something is calling for http. To be sure, I put in an http-->https redirect for all calls, but the browser is just blocking it, and letting it redirect to https.

Zaarrg commented 1 month ago

So about the audio problem:

Limited Accessibility:

g0ldyy commented 1 month ago

web audio is broken on Stremio for most content, it's not a Comet issue. try with very small content like less than 1gb and you will have audio