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:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user