Rename cover files: frontcover.jpg → front.jpg, backcover.jpg → back.jpg
Shorter, cleaner filenames consistent with Jellyfin conventions. Updated all references in source, tests, and documentation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fd8de16bdd
commit
1ca88b0d6d
9 changed files with 145 additions and 68 deletions
|
|
@ -141,12 +141,12 @@ class TestApplyCommand:
|
|||
|
||||
class TestCheckCommand:
|
||||
def test_check_shows_cover_status(self, tmp_path: Path) -> None:
|
||||
(tmp_path / "frontcover.jpg").write_bytes(b"\xff\xd8\xff\xe0") # minimal JPEG magic
|
||||
(tmp_path / "front.jpg").write_bytes(b"\xff\xd8\xff\xe0") # minimal JPEG magic
|
||||
|
||||
result = runner.invoke(app, ["check", str(tmp_path)])
|
||||
|
||||
assert result.exit_code == 0
|
||||
assert "frontcover.jpg" in result.output
|
||||
assert "front.jpg" in result.output
|
||||
|
||||
def test_check_shows_missing_cover(self, tmp_path: Path) -> None:
|
||||
result = runner.invoke(app, ["check", str(tmp_path)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue