Summary: | should treat \r in lyrics as new line | ||
---|---|---|---|
Product: | [Applications] Elisa | Reporter: | ratijas <me> |
Component: | general | Assignee: | Nate Graham <nate> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | gagorial, nate |
Priority: | NOR | ||
Version First Reported In: | 20.08.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kfilemetadata/commit/915860e939fae264578ba8f67e66a210d676a18e | Version Fixed In: | 5.74 |
Sentry Crash Report: | |||
Attachments: | track with \r in lyrics tag |
Description
ratijas
2020-08-19 19:02:36 UTC
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 |