Add ČSFD Anubis bypass, drop legacy preset tags, rename Země → Země původu
This commit is contained in:
+14
-4
@@ -67,7 +67,7 @@ movie table, and one-click Filmotéka generation.
|
||||
and files are never moved manually, so it is not exposed to path drift.
|
||||
- **Import dialog:** collects only **Title** + **ČSFD link**. The file is renamed
|
||||
to `Title.ext`. When a ČSFD link is given, Curator fetches the movie and assigns
|
||||
Žánr / Rok / Země tags automatically; further tags can be added via the UI.
|
||||
Žánr / Rok / Země původu tags automatically; further tags can be added via the UI.
|
||||
- **Genres:** a movie can have **multiple genres**, so it appears under each of
|
||||
its genre branches in the Filmotéka (multiple hardlinks).
|
||||
- **Pool layout:** two top-level folders — **Filmy** and **Seriály**. Movies are
|
||||
@@ -84,7 +84,7 @@ movie table, and one-click Filmotéka generation.
|
||||
the source is left in place.
|
||||
- **Filmotéka tree:** **one level per category** — `output/Category/Tag/film`
|
||||
(hardlink), same shape as the current hardlink manager. For now the tree is
|
||||
built from these categories: **Rok**, **Žánr**, **Hodnocení**.
|
||||
built from these categories: **Rok**, **Žánr**, **Země původu**, **Hodnocení**.
|
||||
|
||||
## Tasks
|
||||
|
||||
@@ -96,7 +96,8 @@ movie table, and one-click Filmotéka generation.
|
||||
- Filmy / Seriály top-level folder handling in the pool
|
||||
- "Import movie" dialog (Title + ČSFD link), copy into pool/Filmy as Title.ext
|
||||
- Remove-from-pool (delete file + its metadata)
|
||||
- Generate the Filmotéka hardlink tree from the pool (Rok / Žánr / Hodnocení)
|
||||
- Generate the Filmotéka hardlink tree from the pool (Rok / Žánr / Země původu /
|
||||
Hodnocení)
|
||||
- Filmotéka fully regenerable from the pool alone (delete output = no loss)
|
||||
- GUI reframed around the Filmotéka and rewritten in PySide6
|
||||
- Seriály "copy-as-is" mirror: pool/Seriály cloned 1:1 into the output as
|
||||
@@ -108,10 +109,19 @@ movie table, and one-click Filmotéka generation.
|
||||
from the GUI); each is mirrored 1:1 during Filmotéka generation (Seriály default)
|
||||
- README.md written (overview, concepts, workflow, run/build instructions)
|
||||
- ČSFD scraping (`csfd.py`, ported from Tagger devel): `File.apply_csfd_tags`
|
||||
fetches a movie and assigns Žánr / Rok / Země tags (cached in metadata); wired
|
||||
fetches a movie and assigns Žánr / Rok / Země původu tags (cached in metadata); wired
|
||||
into the GUI (auto-fetch on import with a ČSFD link, plus "Načíst tagy z ČSFD").
|
||||
Parsing updated for current ČSFD HTML and verified live against Matrix
|
||||
(film/9499); HTTPS uses the OS cert store via `truststore` (corporate SSL)
|
||||
- ČSFD Anubis anti-bot wall handled: `csfd.py` detects the proof-of-work
|
||||
challenge page, solves it (SHA-256 PoW matching the bundled worker JS) and
|
||||
replays via a shared `requests.Session`, so Žánr / Rok / Země původu tags load again
|
||||
(the "nalezeno 1 film, načteno 0 tagů" symptom). Verified live (Matrix 1999)
|
||||
- Removed the inherited Tagger predefined tags: `DEFAULT_TAGS` is now empty
|
||||
(no Hodnocení ⭐ / Barva categories) and new files no longer get an automatic
|
||||
`Stav/Nové` tag. Tags now come from ČSFD (Žánr / Rok / Země původu) and manual edits.
|
||||
Note: `Hodnocení` is still listed in `FILMOTEKA_CATEGORIES`, so that branch is
|
||||
simply empty until something assigns a Hodnocení tag again
|
||||
- Fixed template cruft: `src/constants.py` made consistent (Curator values,
|
||||
`get_version`/`get_debug_mode` API) and `test_constants.py` aligned; removed
|
||||
the imported `tagger/` devel dump
|
||||
|
||||
Reference in New Issue
Block a user