SUMMARY Not exactly sure about standardization of this feature, but I recall my iPod used to render all my media library's lyrics correctly, even so many of them apparently have always been containing \r instead of proper \n line breaks. I could submit my copy of Red Hot Chili Peppers - Dani California to the attachment as an evidence, but I'm not sure about legal aspect of such action. STEPS TO REPRODUCE 1. Get an audio file with \r line breaks in lyrics; 2. Enjoy huge one-liner. OBSERVED RESULT All lyrics text squashed in one logical line, split into multiple physical only at 'word' boundaries as usual. EXPECTED RESULT Normal verses, just as if using \n for line breaks. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Not relevant (available in About System) KDE Plasma Version: Not relevant KDE Frameworks Version: Not relevant Qt Version: 5.15.0-4 ADDITIONAL INFORMATION I took the audio file of '1-01 Dani California.m4a' with python's mutagen library, and found there a '©lyr' tag containing lyrics with '\r' characters — just as i suspected.
Created attachment 131020 [details] track with \r in lyrics tag
I probably some of these myself, having used iTunes in macOS 9 to add lyrics to some of my songs when I was a kid.
*** Bug 418072 has been marked as a duplicate of this bug. ***
In fact I do! MR incoming.
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/148
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kfilemetadata/-/merge_requests/5
Git commit 915860e939fae264578ba8f67e66a210d676a18e by Nate Graham. Committed on 20/08/2020 at 16:04. Pushed by ngraham into branch 'master'. Convert old Mac line endings in lyrics tags Qt automatically converts Windows-style line endings (`\r\n`) but not old Mac line endings (`\r`), probably because it is a platform that has been dead for over 20 years. However some people have songs with embedded lyrics tags that were encoded on that platform, and as a result, these lyrics do not show up properly in various places where lyrics can be viewed, such as Elisa's context view and dolphin's Information Panel. This commit replaces old Mac line endings with conventional UNIX-style line endings. Windows line endings are not affected because `QLatin1Char('\r')` does not match the windows style line ending as it is only a single character. FIXED-IN: 5.74 M +1 -1 src/extractors/taglibextractor.cpp https://invent.kde.org/frameworks/kfilemetadata/commit/915860e939fae264578ba8f67e66a210d676a18e
Can confirm. My 'Dani California' is all fixed by this commit. Good job, everyone!
Hooray!
Lots of thanks! :-D