Bug 503736 - audex escape code doesn't handle slashes that separate titles of songs in tracks with medleys
Summary: audex escape code doesn't handle slashes that separate titles of songs in tra...
Status: RESOLVED FIXED
Alias: None
Product: Audex
Classification: Applications
Component: General (other bugs)
Version First Reported In: 25.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Nelles
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-04 05:39 UTC by James Jones
Modified: 2025-05-09 20:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Jones 2025-05-04 05:39:12 UTC
SUMMARY
CD tracks that are medleys typically separate the names of the songs in the medley with slashes. Whatever code handles escaping characters in the file names for tracks doesn't notice this, so that the medley will appear in a directory named "<track number> - <first song>", with a directory hierarchy for the second to next to last songs, at the bottom of which is a file containing the whole medley named "<last song>.<extension>"

STEPS TO REPRODUCE
1.  Find a CD with a track that features a medley, such as "Common Ground: Voices of Modern Irish Music" (on MusicBrainz at https://musicbrainz.org/release/1ff35d87-32ca-41f3-b336-e6c27b2a0fbd)
2. Rip it.

OBSERVED RESULT
The directory holding the files from the CD will include a directory named "10 - Whistling Low ", within which will be a file named " Errigal.<extension>" that holds the medley "Whistling Low / Errigal", which is track 10 of the album.

EXPECTED RESULT
Among the files from the CD should be one named "10 - Whistling Low / Errigal.<extension>" holding the medley "Whistling Low / Errigal", track 10 from the album.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Comment 1 James Jones 2025-05-05 21:48:09 UTC
This also turns up in albums whose names include a slash, such as Tom Scott's "One Night/One Day" https://musicbrainz.org/release-group/8915951c-eda6-44dd-ae97-bef734937204
Comment 2 Marco Nelles 2025-05-09 20:33:02 UTC
Should be fixed with commit cfdc9b278e4456bde5439bff512c625cbc23ea46.