v0.76.0: Convert to MP3 for songs already in the library, and for Cassette arrivals

- right-click › Convert to MP3…: lossless songs become MP3s at a chosen
  bitrate; same tracks (plays, ratings, playlists kept), originals to the
  trash, one undo step brings them back; Cancel changes nothing
- Preferences › Importing › Convert songs from Cassette friends too
- the bitrate list is just the numbers
- conversions stage in ~/.cache, not /tmp
This commit is contained in:
2026-10-23 01:21:52 -07:00
parent 3a3d518092
commit e368b8eb6e
14 changed files with 639 additions and 138 deletions
+6
View File
@@ -16,6 +16,12 @@ from lintunes.preferences import Preferences
from tests.conftest import _generate_audio
@pytest.fixture(autouse=True)
def _staging_in_tmp(tmp_path, monkeypatch):
"""Conversions stage under $XDG_CACHE_HOME — never the real one."""
monkeypatch.setenv("XDG_CACHE_HOME", str(tmp_path / "cache"))
@pytest.fixture
def isolated_config(tmp_path, monkeypatch):
monkeypatch.setenv("XDG_CONFIG_HOME", str(tmp_path / "config"))