-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lyrics line formatting #780
Comments
Sorry, it should be "Lyrics line formatting" in the headline. |
Thanks for the report. Could you share one such file with me? You can find my email address from my profile. Which browser are you using? |
I verified the issue with Safari, Firefox (OS X) and Edge (OS X, Beta) in their newest version. |
Your file seems to use "CR only" style for line breaks. This is kind of weird, because no modern systems should use this style. It used to be used on the classic Mac OS, but after OSX, also Mac should be using "LF only" style like the other Unix-based systems. The web standards do not support this kind of line breaks, so this is why it gets rendered incorrectly. I shall see, if I could convert such lyrics automatically to more compliant format. |
The "CR only" new line style shouldn't be used on any modern systems, but apparently, files got from iTunes may use this style for the embedded lyrics. Meanwhile, the web standards do not support this style. Hence, lyrics with "CR only" new lines were rendered on web browsers as if they had no line breaks at all. Now all the new lines of the track details are normalized to the "LF only" style already on the back-end. This is applied also to the lyrics provided via the Subsonic API, as it was tested that at least Subsonic Music Streamer and DSub can't handle the "CR only" style, either. refs #780
The Music v0.16.0 was just released, including also a fix for this issue. |
I have imported a mp3 file with included lyrics, which has been added in iTunes. Alle the line ends seem to be gone. This may Be an html formatting issue, when rendering lyrics out off the mp3 file itself.
The text was updated successfully, but these errors were encountered: