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:
@@ -615,6 +615,18 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
|
||||
batch's playlist inserts use `add_tracks_to_playlist(undoable=False)` —
|
||||
an undo step left behind would put back ids Cancel removed. A lossless
|
||||
file already in the library isn't converted again.
|
||||
**Round 107**: "Convert songs from Cassette friends too"
|
||||
(`import_compress_cassette`, needs the main box; `lossless.cassette_kbps`
|
||||
read by `DeliveryCoordinator` each pass) converts a lossless *library*
|
||||
arrival inside `delivery.run_plans` before staging (followed-playlist
|
||||
cache files are left as sent). Right-click › **Convert to MP3…**
|
||||
(`ConvertLibrary`) does songs already in the library: everything is
|
||||
converted first, *then* each MP3 is moved beside its original and
|
||||
`LibraryManager.replace_track_files` swaps them as ONE undo step (same
|
||||
track id, so plays/ratings/playlists stay; library tags written into the
|
||||
MP3; originals to the trash, undo brings them back) — so its Cancel
|
||||
changes nothing. Conversions stage in `$XDG_CACHE_HOME/lintunes/
|
||||
converting/` (`lossless.staging_root`), never /tmp, which is often RAM.
|
||||
|
||||
- **`lintunes/fingerprint.py`** — "Identify Track…": Chromaprint's `fpcalc`
|
||||
CLI (detected with `shutil.which`, the `ffmpeg_available()` pattern — a
|
||||
|
||||
Reference in New Issue
Block a user