v0.79.3: editing the playing song's tags or art no longer glitches playback

This commit is contained in:
2026-10-25 20:09:55 -07:00
parent b8f2325f0b
commit eba27e7b8c
5 changed files with 179 additions and 46 deletions
+8
View File
@@ -26,6 +26,14 @@ def _no_real_device(monkeypatch):
monkeypatch.setattr(device_sync, "find_device", lambda: None)
@pytest.fixture(autouse=True)
def _no_file_in_use(monkeypatch):
"""A MainWindow points tagging at its player (Round 111); one a test left
behind mustn't decide how a later test's tag writes are saved."""
from lintunes import tagging
monkeypatch.setattr(tagging, "in_use", lambda: ())
@pytest.fixture(autouse=True)
def _no_dj_sound(monkeypatch):
"""DJ mode's sink never opens in a test: the mixer would play the decks