Rework Curator into a Jellyfin-first library manager

This commit is contained in:
2026-08-31 18:34:03 +02:00
parent 1c78ca9013
commit 6a2baf243f
25 changed files with 2420 additions and 1502 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ class TestFileWithIndex:
tm = TagManager()
f = File(movie, tm, index=index)
f.title = "Matrix"
f.csfd_link = "https://csfd.cz/film/1"
f.meta = {"year": "1999", "rating": 87}
f.add_tag("Žánr/Akční")
f.set_date("1999-03-31")
@@ -82,7 +82,7 @@ class TestFileWithIndex:
index2 = PoolIndex(tmp_path)
f2 = File(movie, TagManager(), index=index2)
assert f2.title == "Matrix"
assert f2.csfd_link == "https://csfd.cz/film/1"
assert f2.meta == {"year": "1999", "rating": 87}
assert f2.date == "1999-03-31"
assert "Žánr/Akční" in {t.full_path for t in f2.tags}