Skip to content

v0.0.4

Latest

Choose a tag to compare

@AlyShmahell AlyShmahell released this 31 Aug 12:41

Changelog

Matchora 0.0.4

  • No local LLM, embedder, or llama.cpp. πŸŽ‰
  • Scan grouping and candidate ranking are SequenceMatcher plus YAML.
  • The release tarball is binary, config/, public/, and LICENSE.

Scan grouping

Scan no longer calls an instruct model (prompt.md is gone). Each library child is classified from disk: seasons and extras fold into the walk-root title; named sibling folders become their own titles; leftover loose videos cluster with SequenceMatcher.

Word lists live under group: in config/default.yaml (video_ext, extras, release, kinds, seq_threshold). Years are taken only from a (YYYY) suffix or a trailing year token already on the name.

Ranking

Jobs record ranker: seq. Score is SequenceMatcher on normalized titles only:

  • Exact title match is 1.0.
  • Otherwise title ratio, with a second try against title + year (helps Girls (2012) vs Girls).
  • Matching year still adds 0.15.
  • Synopsis is not used. A one-word query whose word appeared in a synopsis no longer scores 1.0 (Wednesday vs Wednesday Club, Limitless vs Limitless with Chris Hemsworth, and similar).

True same-name collisions with no job year (Dark Matter 2015 vs 2024) stay manual.

Ingest

Unknown CSV headers are mapped with ingest.aliases, then SequenceMatcher against canonical fields when the ratio is at least group.seq_threshold. The instruct ingest.md path is gone.

Config

version: in config/default.yaml is the only version string (0.0.4). There is no root VERSION file and no compile-time version.

Grouping lists and match/http numbers come only from YAML. Missing or invalid required keys fail start. POST /v1/config that would clear a required list is 400 and is not written.

Removed: llama: block, ranker: embed, GGUF URLs, --prepare, and the llama admin form.

Packaging and docs

  • One archive: matchora-<version>-linux-amd64.tar.gz (no -llama tarball, no vendored llama.cpp).
  • Packaging fails if version is missing from the shipped YAML.
  • README is written for the release tarball: unpack, ./matchora, listen on http.addr.

Upgrade notes

  • Delete any leftover vendor/llama.cpp tree; it is unused.
  • Overlay data/config.yaml must not rely on llama: keys.
  • Rematch existing sessions if you want title-only ranking on old jobs.
  • Scan jobs still have empty type. Jikan (types: [anime]) does not run on untyped scan unless the TVMaze pass is empty. English folder titles that TVMaze stores under a Japanese name (e.g. Erased β†’ Boku Dake ga Inai Machi) can sit below other exact-title hits; the admin UI shows the top 5 candidates.