Skip to content

Adding Stremio

AutoMiner supports Stremio in two parts:

  • Tracking: AutoMiner reads your Stremio library and records each film or episode you finish. This needs only your Stremio account key.
  • Fetching: AutoMiner downloads the video of what you watched by torrent, so it can read the subtitles, cut clips and make cards. This needs services you run yourself: a search (Prowlarr or a Stremio addon), Deluge, and a VPN.

Tracking works alone. Without fetching, your Stremio watches still appear in AutoMiner, but nothing is mined from them.

A few terms used below:

  • A platform is a place sources come from (YouTube, Stremio, Spotify). You install only the platforms you use.
  • A source is one film or episode you watched.
  • The tracker is the part of the Stremio platform that runs inside AutoMiner and notices what you watch.
  • Mining turns a source’s subtitle lines into candidate cards.
For You need
Tracking The Stremio platform installed in Settings, and your Stremio account key
Fetching A search: Prowlarr, or the manifest.json URL of a Stremio addon that returns torrent streams
Deluge, reachable only through your VPN
An HTTP proxy whose exit is your VPN (Gluetun’s proxy), unless you turn the VPN check off
Deluge seeing AutoMiner’s torrents folder at the same path as AutoMiner does (on Windows, run AutoMiner in WSL)
Japanese subtitles from Jimaku (optional) A Jimaku API key
Subtitle candidates from OpenSubtitles (optional) An OpenSubtitles API key
Episodes with no usable subtitles (optional) A transcription provider (Settings › Subtitles › Subtitle transcription)

AutoMiner ships no indexer, no addon and no tracker list. It has no Sonarr, Radarr or debrid support.

  1. Open Settings › Sources.
  2. On the Platforms card, press Add. The Add a platform dialog opens.
  3. Press the + button beside Stremio (its tooltip is Install).

A Stremio section now appears under the Platforms card. Its header has a menu:

Option What it does
All of it (default) Every Stremio watch is fetched and mined, the whole film or episode.
Don’t mine Watches are still recorded, but nothing is fetched or mined from new ones. Mining you start by hand still runs.

Stremio reports only that you finished something, never where you stopped, so there is no “only what I watched” option for it.

Press Save changes (or Ctrl+S) after changing the menu.

2. Give AutoMiner your Stremio account key

Section titled “2. Give AutoMiner your Stremio account key”

The tracker reads your library through Stremio’s API with your account’s authKey.

With Bitwarden. The repository has a helper that logs in with credentials kept in Bitwarden and stores the key for you. It needs the Bitwarden CLI (bw), an unlocked session in BW_SESSION (exported, or stored with autominer secret set BW_SESSION), and a Bitwarden login item that a search for “stremio” finds (for example one named Stremio), with a username and password. From the AutoMiner checkout, as the user AutoMiner runs as:

Terminal window
python3 scripts/operations/stremio_login.py

It prints Stored STREMIO_AUTH_KEY in … and then checks the key by reading your library (datastoreGet OK: N libraryItem rows). If it warns that STREMIO_AUTH_KEY is also set in the installation .env, delete that line: the .env value wins.

Without Bitwarden. Ask Stremio’s login API yourself, the same call the helper makes. This prints the key (your password is read without echo and is not stored):

Terminal window
python3 -c '
import getpass, json, urllib.request
body = json.dumps({"email": input("Stremio email: "),
"password": getpass.getpass("Stremio password: ")}).encode()
req = urllib.request.Request("https://api.strem.io/api/login", data=body,
headers={"Content-Type": "application/json"})
answer = json.load(urllib.request.urlopen(req, timeout=15))
print((answer.get("result") or {}).get("authKey") or answer.get("error"))
'

Treat the key like a password: it gives access to your Stremio account.

Use any one of these:

  • Settings › Services › API keys, the Stremio row (labelled Stremio watch history). Paste the key and press Save changes. The box then shows Set and the key’s first and last characters.

  • The setup page (http://<server>:8801/setup), card What you watch, field Account key, then Save. It shows ✓ Saved with the masked key.

  • On the server, as the user AutoMiner runs as:

    Terminal window
    autominer secret set STREMIO_AUTH_KEY

    It prompts for the value. autominer secret list shows whether it is set (never the value).

If the box says · the server’s setting wins, a STREMIO_AUTH_KEY environment variable is set for the service, and it is used instead of what you save here.

No restart is needed. Within 30 seconds of the key being saved (and the platform installed), the tracker starts. AutoMiner’s log then shows a line like this (the address is the one AutoMiner listens on):

stremio adapter: polling every 30.0s -> http://127.0.0.1:8801

To check it from the server, run autominer doctor. Its last lines list the trackers running in AutoMiner, for example stremio running. The same list is under trackers in http://<server>:8801/healthz. The states are:

State Meaning
running The tracker is polling.
standby Another AutoMiner using the same data folder is already tracking Stremio.
paused The tracker crashed. It stays paused until AutoMiner restarts. The error follows the state.

Deleting the key does not stop a tracker that is already running: it fails on every poll until AutoMiner restarts. To stop tracking, uninstall the platform (see Uninstalling).

Every 30 seconds the tracker reads your whole Stremio library and compares each item with what it saw last time. A film or episode counts as watched when one of these changes:

  • the item’s watch count goes up;
  • the item is flagged as watched;
  • an episode is added to the series’ watched episodes;
  • for a film, it is marked watched.

When that happens, AutoMiner records a watch. It appears on Today, titled with the show and episode (for example Show Name S2E5) or the film’s name, and a fetch is queued for it (unless the Stremio menu is Don’t mine, or the same film or episode is already mined, from this source or another).

Things to know:

  • No backfill. The first time the tracker sees an item it only notes its state. Items already in your library when tracking starts create no watches; only later changes do.
  • One watch per change. The tracker takes the episode from the item’s current video at the moment it notices the change. If you mark several episodes watched at once, or watch several while AutoMiner is stopped, you get one watch, for that current episode.
  • AutoMiner needs an IMDb id. It finds one in the item’s id, its current video’s id, its poster, background or logo URL, or (for anime) the Anime Kitsu addon’s data. A watch it cannot tie to an IMDb id is held back (see below) and, unless one turns up, never recorded.
  • Nothing is lost while AutoMiner is down. The tracker keeps its state in $AUTOMINER_HOME/state/stremio_adapter_state.json, so changes made while AutoMiner was stopped are picked up at the next poll. A watch that AutoMiner’s own server refused or did not answer is kept and sent again later.

When the tracker cannot work out the episode safely, it does not guess. It holds the watch back: nothing appears on Today and nothing is fetched. It tries again after one minute, then waits twice as long each time, up to 6 hours between tries. After 30 days it gives up on that watch. The log shows IDENTITY PARKED when a watch is held back, WATCH REPLAYED when a later try succeeds, and REPLAY ABANDONED when it gives up.

A watch is held back when, for example, the episode is a special (season 0), the episode number runs past the end of the show’s episode list, or an anime episode number could map to more than one season (see the next section).

Stremio addons number episodes in different ways. Cinemeta (Stremio’s default catalog) uses IMDb’s season and episode, for example tt1234567:2:5. The Anime Kitsu addon counts episodes within one Kitsu entry, for example kitsu:12345:5, and Kitsu often makes each season its own entry. Episode 5 of a “Season 2” entry may be IMDb’s S2E5, or S1E30 for a show IMDb lists as one long season.

AutoMiner needs the IMDb season and episode to find a release, so it translates Kitsu numbers. It tries these in order and uses the first that gives an answer:

  1. An IMDb season and episode in the id itself (tt…:2:5). Used as is. Season 0 (specials) is held back.
  2. The Anime Kitsu addon’s own data for that episode (its IMDb season and episode). Used when the show spans two or more seasons in Cinemeta, or when the library item has no IMDb id of its own.
  3. Kitsu’s links to other databases plus the AniBridge episode mappings, checked against Cinemeta’s episode list. Skipped when Cinemeta lists the show as a single season. If this rule finds the episode unsafe, the watch is held back.
  4. A season number in the Kitsu entry’s name (“Season 2”, “2nd Season”), used only if Cinemeta lists that season and episode.
  5. The episode’s position in Cinemeta’s episode list. This is safe only for a show Cinemeta lists as a single season. If the show has several seasons, Cinemeta has no list for it, or the number runs past the end, the watch is held back.

The Kitsu entry number is kept alongside the IMDb episode. The fetch searches with both, and accepts a file named with either (for example S02E05 or - 05). The subtitle search uses the Kitsu entry’s name too.

Lookups are cached: Cinemeta episode lists for 24 hours, Anime Kitsu addon data for 6 hours, Kitsu answers for 24 hours (a failed one is retried after 10 minutes), and the AniBridge mappings file for 24 hours, in $AUTOMINER_HOME/cache/anibridge_mappings_v3.json.

The log has a TRACE line for every watch. Its rung names the rule that decided the episode (for example tt-short-circuit, kitsu-video-meta, external-crosswalk, season-entry-recovery, cinemeta-flat or movie), and unsafe_reason says why a watch was held back.

To see what would happen to the held-back watches now, run the dry run on a copy of the state file. It looks each one up again and prints the result as JSON, without recording a watch or fetching a video (it may refresh the AniBridge mappings file):

Terminal window
cp "$AUTOMINER_HOME/state/stremio_adapter_state.json" /tmp/stremio-state-copy.json
autominer stremio-replay-dry-run --state /tmp/stremio-state-copy.json

Run the torrent stack first. Self-hosting: Torrents explains the ready-made bundle (Gluetun with its HTTP proxy, Deluge inside the VPN, and Prowlarr) and how to use your own Deluge or Prowlarr instead. The bundle is made by the Download button beside Deluge URL in Settings › Services, or Download Deluge and VPN on the setup page.

Then fill in Settings › Services. The API keys are under API keys, the addresses under Service addresses. Press Save changes after typing.

Row Value
Search URL (Stremio fetching) Prowlarr’s address, for example http://127.0.0.1:9696, or a Stremio addon’s URL ending in /manifest.json
Prowlarr key (Stremio fetching) Prowlarr’s API key, from Prowlarr’s Settings › General. Not needed with an addon URL.
Deluge URL (Stremio fetching) Deluge’s web UI, for example http://127.0.0.1:8112
Deluge password (Stremio fetching) Deluge’s web UI password. The bundle fills it in for you.
VPN proxy URL (Stremio fetching · YouTube) Gluetun’s HTTP proxy, for example http://127.0.0.1:8888. YouTube also uses it when YouTube refuses the server.

Saving an address tests it. Test tests the saved address again (with an unsaved change it says Not saved yet · saving tests this URL). A good result starts with ✓:

  • Search URL: Prowlarr’s version and how many indexers are enabled, or Stremio addon and the addon’s name.
  • Deluge URL: Deluge’s version and Folder OK (hardlinks) or Folder OK (another disk · each video is copied).
  • VPN proxy URL: Through the VPN and the exit address.

Then open Settings › Sources › Stremio. The Fetch card (marked Deluge) says whether a fetch can run:

What the card shows Meaning
Not set · Stremio titles are recorded, their videos are not fetched Neither the search nor Deluge is set. Watches are recorded and their fetches skipped.
Fetching lacks settings (Services): … Some rows are missing. The list names them: Search URL, Prowlarr API key, Deluge URL, Deluge password, VPN proxy URL.
Another message in red A service failed its check (see Troubleshooting).
Nothing Ready. The setup page says ✓ Ready to fetch.
  • Prowlarr searches the indexers you add to it. AutoMiner asks it by IMDb id first (films in the Movies category; episodes by IMDb id, season and episode in TV and Anime), then by name: for anime, the Kitsu entry’s name and the two-digit entry number in Anime; and only if nothing was found yet, Show Name S02E05 in TV or the film’s name in Movies. A name search keeps only results whose title starts with the show’s name. Only torrent results are used.
  • A Stremio addon is asked for streams of the film or episode (and, for anime, of the Kitsu entry and number too). Only streams that carry a torrent info hash are used; an addon that returns only direct or debrid links finds nothing.

When the search is Prowlarr and its key is set, the Fetch card shows Indexers: the sites Prowlarr searches. You can manage them here instead of in Prowlarr:

  • The checkbox turns an indexer ON or OFF. Prowlarr tries the site each time you add one or turn one ON; if it cannot reach it, the reason appears below the list.
  • A tag says whether the site is Public, Semi-private or Private. An indexer Prowlarr disabled after failures shows Stopped until … after repeated failures.
  • Delete removes the indexer from Prowlarr, after Delete … from Prowlarr?.
  • To add one, type its name into Find an indexer to add (e.g. Nyaa) and press Add. A public site is added at once. A site that needs a login opens Add … with its fields; Prowlarr tries the site with them before adding it.

With an addon URL the Indexers list is hidden: indexers live in Prowlarr.

A Stremio fetch runs these steps. The current step shows as the source’s progress message on Today and the Sources page.

  1. Search (Searching for releases). AutoMiner keeps up to five releases. It drops releases with zero seeders and releases whose name clearly names other episodes. It ranks the rest: a name with this exact season and episode first, then season packs and batches that may contain it, then a name with the right episode number under another season. Among equals it prefers more seeders (up to 20), then the smaller release.
  2. VPN check, before each torrent is added (see The VPN gate).
  3. Add to Deluge. The torrent goes into $AUTOMINER_HOME/torrents. AutoMiner uses no labels and changes no global Deluge setting.
  4. Wait for the torrent’s data (Waiting for the torrent’s metadata · N seeds). If it does not arrive within 10 minutes, AutoMiner drops this release and tries the next.
  5. Pick the file. For a film, the largest video file. For an episode, the video file whose name names the episode (S02E05, 2x05, - 05, EP05, 第5話, or the file name the addon gave). A torrent with a single video file uses it unless its name names another episode. Sample files are skipped. Only that file is downloaded. Video files are .mkv, .mp4, .ts, .avi and .mov.
  6. Download (Downloading · N % · N seeds). If the file makes no progress for 30 minutes, AutoMiner drops the release and tries the next.
  7. Check the file. It must be at least 1 MB, at least half the size the torrent lists for it, and have a video stream ffprobe can read. Otherwise the release is dropped.
  8. Keep it. The video is hard-linked into the sources store (copied when it is on another disk), then AutoMiner removes its torrent from Deluge, and Deluge deletes its own copy. AutoMiner does not keep seeding.

If every release on the short list fails, the fetch fails with the reason of the last one. While a fetch waits (for the VPN, the torrent data or the download), it checks again on its own: every 5 minutes for the VPN, every 10 seconds for torrent data, every minute while downloading. If it cannot reach the search or Deluge, it retries after 30 minutes, then less and less often, up to every 6 hours. A fetch that has been waiting or retrying for 3 days fails with its last message.

After the video is in place, AutoMiner reads the languages of the file’s audio tracks to decide the source’s language (see Language profiles), then looks for subtitles.

A torrent shows your IP address to peers and trackers. So by default AutoMiner adds a torrent only after proving the VPN is up: it asks a public address-echo page (Cloudflare’s trace page) once directly and once through the VPN proxy URL. The two answers must differ. A pass is trusted for 60 seconds.

If the check fails, the fetch waits with Waiting for the VPN · … and checks again every 5 minutes. The reason is one of:

  • VPN proxy not set: the VPN proxy URL is empty.
  • Can’t get out through the VPN proxy: the proxy does not answer, or the tunnel behind it is down.
  • The VPN proxy exits from this machine (not through the VPN): the proxy works but does not go through the VPN.

The check proves that Gluetun’s tunnel is up. It does not prove that Deluge is inside it; the bundle’s compose file arranges that (Deluge shares Gluetun’s network). If you run your own Deluge, make sure it can only reach the internet through the VPN.

To turn the gate off, open Settings › Sources › Stremio, Advanced, and clear No VPN, no fetch, then Save changes. With it off, torrents go to Deluge without any check and the VPN proxy URL is not required. Do this only if your VPN covers the whole machine.

AutoMiner prefers subtitles that already exist. For a Stremio source it tries, in order:

  1. Subtitles inside the video file (Checking embedded subtitles): tracks tagged with the source’s language, or untagged, whose text actually reads as that language. AutoMiner turns each track into text with ffmpeg, so image-based tracks (such as Blu-ray PGS) cannot be used.
  2. Jimaku (Searching Jimaku for subtitles), for Japanese only. It needs a Jimaku API key (jimaku.cc › Account). Save it in Settings › Languages, on the Japanese tab, under Japanese options: Jimaku API key. Or run autominer secret set JIMAKU_API_KEY.
  3. Transcription (Transcribing), when a provider is set in Settings › Subtitles › Subtitle transcription. This is paid and follows your limits in Settings › Budget.

If all three give nothing, the fetch fails with No subtitles found, followed by Transcription OFF when transcription is off or by the reason transcription failed. If the file had subtitle tracks that were not in the source’s language, the message instead says that language’s subtitles are missing and lists the tracks it excluded (除外, “excluded”).

More subtitle candidates. When the Subtitle check runs for a source (Settings › Subtitles), AutoMiner also gathers subtitle files from other places (by default up to four from each, and up to 20 from Jimaku), and the check keeps the one whose timing matches the audio (see the subtitle pool):

Place Languages Needs
Jimaku Japanese the Jimaku API key
Animetosho (subtitle tracks from other releases) Japanese nothing
OpenSubtitles any an OpenSubtitles API key (opensubtitles.com › Consumers), in Settings › Services › API keys, the OpenSubtitles row
What Where
Torrents while they download $AUTOMINER_HOME/torrents. Deluge must see this folder at the same path.
Kept videos The sources store: $AUTOMINER_HOME/library/MineSrc/Stremio/<IMDb id>/ for a film, …/Stremio/<IMDb id>/S02E05/ for an episode. AUTOMINER_SOURCES_ROOT moves the store, for example to a NAS (see Configuration).

The hard link needs the torrents folder and the sources store on the same disk; otherwise each video is copied, and for a moment takes twice the space.

Downloaded videos are deleted by the retention sweep, set in Settings › Sources › Media retention. Audio, frames, subtitles and clips stay, so re-cutting clips and the subtitle check still work after the video is gone.

Setting Default What it does
Days kept 10 A mined video older than this many days is deleted. Decimals are allowed (0.5 is 12 hours). A video that was never mined is kept.
Delete once assets are done ON A video is deleted as soon as every candidate of its source has its clip and picture, without waiting for the days kept. OFF: only the days kept count.
Advanced › Override “Days kept” › Stremio only blank (the shared value) Days kept for Stremio videos only.

The sweep skips a video that is playing or still being worked on, and waits until its audio track and frames are saved. Deletion cannot be undone.

The sweep runs only when something starts it. To see what it would delete, and then to run it:

Terminal window
autominer retention-sweep # dry run: lists what would be deleted
autominer retention-sweep --commit # queues the real sweep

The card’s help says the sweep runs nightly at 04:50: that is the schedule of the systemd timer in the repository’s deploy/ folder, which install.sh does not install. To run it nightly yourself, add a line like this to the crontab of the user AutoMiner runs as (cron must see the same AUTOMINER_HOME as the service, if you set one):

50 4 * * * /path/to/autominer retention-sweep --commit

Scheduling the nightly jobs has the full cron and systemd versions.

To fetch a deleted video again and mine from scratch, use the Mine button on the source (Fetch the video again and mine from scratch).

In Settings › Sources › Platforms › Add, press the trash button beside Stremio (Uninstall Stremio) and confirm. This stops tracking and fetching, cancels queued and running Stremio fetches, and deletes the downloaded Stremio videos (a video in use is skipped). Settings, sources, clips and cards stay.

Setting Default What it does
Header menu: All of it / Don’t mine All of it Whether new Stremio watches are fetched and mined.
Fetch card Status of fetching, and the Prowlarr Indexers list. Its help links to Services › Search, Deluge, VPN.
Advanced › No VPN, no fetch ON Check the VPN through the VPN proxy before each torrent. OFF hands torrents to Deluge unchecked.

Many settings elsewhere have a Stremio only field next to the shared value, usually under Advanced in their card: Days kept (Sources › Media retention), Separation mode, Unfinished sentence filter, Lowest score for Gold, Send threshold, Start offset, End offset, Padding, Auto-translate and Send to Anki without review. Blank means the shared value. The subtitle check’s Check mode and Transcription runner have a Stremio tab in Settings › Subtitles › Subtitle check.

Row Stored as Default
API keys › Stremio (Stremio watch history) secret STREMIO_AUTH_KEY not set
API keys › Prowlarr (Stremio fetching) secret INDEXER_API_KEY not set
API keys › Deluge (Stremio fetching) secret DELUGE_PASSWORD not set
API keys › OpenSubtitles (Subtitle download) secret OPENSUBTITLES_API_KEY not set
Service addresses › Search URL setting acquire.indexer_url not set
Service addresses › Deluge URL setting acquire.deluge_url not set
Service addresses › VPN proxy URL setting vpn.proxy_url not set

Keys are kept in one file each under $AUTOMINER_HOME/secrets/, not in the database, and take effect when saved. The trash button beside a key deletes it, after Delete the key? (… will stop working). These environment variables of the service win over what you save on the page: STREMIO_AUTH_KEY, INDEXER_API_KEY, DELUGE_PASSWORD, AUTOMINER_INDEXER_URL (Search URL), AUTOMINER_DELUGE_URL (Deluge URL) and AUTOMINER_VPN_PROXY (VPN proxy URL). The row then says the server’s setting wins.

These are read from the environment autominer serve runs with (see Configuration). Most people never need them.

Variable Default What it does
STREMIO_POLL_S 30 Seconds between library reads.
STREMIO_STATE_FILE $AUTOMINER_HOME/state/stremio_adapter_state.json The tracker’s state.
STREMIO_REPLAY_BACKOFF_MIN_S 60 First wait before a held-back watch is tried again (seconds).
STREMIO_REPLAY_BACKOFF_MAX_S 21600 (6 hours) Longest wait between tries.
STREMIO_REPLAY_BATCH 5 Held-back watches tried again per poll.
STREMIO_PENDING_MAX_AGE_S 2592000 (30 days) Age after which a held-back watch is given up.
STREMIO_PARKED_HISTORY 200 Finished held-back watches kept in the state file.
STREMIO_TRACE_RING 50 TRACE records kept in memory and in the state file.
STREMIO_CINEMETA_TTL_S 86400 Seconds a Cinemeta episode list is trusted.
STREMIO_KITSU_ADDON https://anime-kitsu.strem.fun The Anime Kitsu addon’s address.
STREMIO_KITSU_META_TTL_S 21600 Seconds Anime Kitsu addon data is trusted.
AUTOMINER_KITSU_API https://kitsu.io/api/edge Kitsu’s API.
AUTOMINER_KITSU_TTL_S / AUTOMINER_KITSU_NEGATIVE_TTL_S / AUTOMINER_KITSU_TIMEOUT_S 86400 / 600 / 10 How long a Kitsu answer or failure is trusted; request timeout.
AUTOMINER_ANIBRIDGE_URL the AniBridge v3 release on GitHub Where the episode mappings are downloaded.
AUTOMINER_ANIBRIDGE_CACHE $AUTOMINER_HOME/cache/anibridge_mappings_v3.json Where they are kept.
AUTOMINER_ANIBRIDGE_TTL_S / AUTOMINER_ANIBRIDGE_NEGATIVE_TTL_S / AUTOMINER_ANIBRIDGE_TIMEOUT_S 86400 / 600 / 90 How long the file or a failed download is trusted; download timeout.
AUTOMINER_TRACKING on 0 runs no tracker at all. Use it on a test copy of AutoMiner that holds your real keys.
JIMAKU_API_BASE https://jimaku.cc/api Jimaku’s API.
ANIMETOSHO_FEED_BASE / ANIMETOSHO_SITE_BASE https://feed.animetosho.org / https://animetosho.org Animetosho’s addresses.
ANIMETOSHO_MIN_INTERVAL_MS 1000 Minimum gap between Animetosho requests.
OPENSUBTITLES_API_BASE https://api.opensubtitles.com/api/v1 OpenSubtitles’ API.
OPENSUBTITLES_MIN_INTERVAL_MS 1000 Minimum gap between OpenSubtitles requests.

When a fetch stops, Today and the Sources page show its state (Skipped, Failed) and message under the source. On Today, the row’s status button shows the message; a row with no cards yet is itself a button, Fetch from Stremio and mine, that starts a new fetch. A new fetch always searches again from the start.

  1. Check that the Stremio platform is installed (Settings › Sources shows a Stremio section).
  2. Check that the key is saved (Settings › Services, Stremio row says Set).
  3. Run autominer doctor and look for stremio running at the end. No line at all means the tracker has not started: the platform is not installed, the key is not set, or AUTOMINER_TRACKING=0.
  4. Look at AutoMiner’s log (journalctl -u autominer, or journalctl --user -u autominer for a user service):
    • stremio adapter error: unexpected datastoreGet shape (no result list) on every poll usually means Stremio did not accept the key. Get a new key and save it.
    • IDENTITY PARKED means the watch was held back (see Held-back watches).
  5. Remember there is no backfill: only changes after tracking starts count.

If you have turned on producer admission in enforce mode, approve the tracker with autominer producers approve stremio-adapter (see Producer admission).

“Fetching is not set up (Sources › Stremio fetching)”

Section titled ““Fetching is not set up (Sources › Stremio fetching)””

The fetch was skipped because neither the search nor Deluge is set. The watch is recorded. Set up fetching (step 3), then press the source’s row on Today to fetch it. Watches skipped before are not fetched again by themselves.

“Fetching lacks settings (Services): …”

Section titled ““Fetching lacks settings (Services): …””

The message lists what is missing. Fill those rows in Settings › Services. With No VPN, no fetch on, the VPN proxy URL is required.

Message What to do
Can’t connect (is Prowlarr or the addon running? Check the URL too) Start Prowlarr or check the address. An addon URL must end in /manifest.json.
The API key is not accepted / The search refuses the API key Copy Prowlarr’s key again from Prowlarr’s Settings › General.
No indexer enabled Add or turn on an indexer (Fetch card › Indexers, or in Prowlarr).
This addon gives no streams The addon’s manifest does not offer streams; use another addon.
Wrong password for Deluge’s web UI Save Deluge’s web UI password in the Deluge key row.
Deluge’s web UI is not connected to its daemon AutoMiner connects the web UI to its first daemon by itself, so this means no daemon answered. Check that the Deluge daemon is running.
Deluge can’t see the folder … Mount $AUTOMINER_HOME/torrents into Deluge at the same path (the bundle does this).
AutoMiner can’t read the folder … Give AutoMiner’s user read access to the torrents folder (the bundle runs Deluge as your user).

The VPN is down: “Waiting for the VPN · …”

Section titled “The VPN is down: “Waiting for the VPN · …””

Nothing is downloaded while this shows. Press Test beside VPN proxy URL in Settings › Services. Fix Gluetun or the VPN until it says Through the VPN; the waiting fetch continues on its own within 5 minutes. A fetch that waits for 3 days fails; start it again from Today.

No release survived the search. Possible reasons:

  • Your indexers do not have it, or do not support search by IMDb id and the name search found nothing. Search Prowlarr yourself with the show’s name, and add an indexer that has it (for anime, an anime indexer).
  • Every result had no seeders, or named other episodes.
  • The addon returned only links without a torrent info hash.

After fixing it, press the source’s row on Today to search again.

The source’s message gives the reason of the last release tried:

Message Meaning
The torrent’s metadata never came No peer sent the torrent’s data within 10 minutes.
The download stopped moving No progress for 30 minutes.
No file for this episode No video file in the torrent names the episode.
The file is not a usable video Too small, much smaller than advertised, or unreadable by ffprobe.
The same torrent is in another Deluge folder You (or Sonarr) already have this torrent in Deluge outside AutoMiner’s folder. AutoMiner leaves it alone and skips the release.
Deluge did not accept the torrent / Could not get a torrent from the release’s link Deluge refused it, or the release’s link did not give a torrent.

AutoMiner tries the next release on its short list after each of these. The fetch fails only when all of them have failed.

There are two different cases.

The watch has the wrong episode (Today shows S1E30 where you watched the second season’s fifth episode). This comes from the episode matching above, usually for anime. Find the watch’s TRACE line in the log: its rung shows which rule chose the episode. The data comes from Cinemeta, Kitsu and AniBridge; AutoMiner has no setting to override it for one show. To get rid of the wrong source, delete it from the Sources page with Delete everything: that removes its candidates, clips, subtitles and video. Cards already sent stay in Anki.

The watch is right but the video is another episode. The release was mislabelled or packed differently. Delete the video (Delete video on the source), then fetch again with the source’s Mine button. The search starts over and may choose the same release; turning off the indexer that served it (Fetch card › Indexers) may make it choose another.

If you mark episodes watched by hand without playing them, the tracker records the item’s current episode, which may not be the one you marked (see How watches are recorded).

The file had no text subtitles in the source’s language, Jimaku had none (or no Jimaku key is set, or the language is not Japanese), and transcription is off or failed. Set a Jimaku key for Japanese, or a provider in Settings › Subtitles › Subtitle transcription, then fetch again.

The torrent bundle refuses to build on native Windows: Not available on this PC (Windows) · Deluge opens the same folder as AutoMiner, so run AutoMiner in WSL or on Linux. Deluge and AutoMiner must see the torrents folder at the same path, so run AutoMiner under WSL (or on Linux) to fetch Stremio videos. Tracking works on any system.