-
Notifications
You must be signed in to change notification settings - Fork 237
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
Add lyrics player to the webinterface #1679
Conversation
@ejurgensen Any update on this? This should have fixed your remarks. |
I haven't gotten around to it yet. @hacketiwack also needs to look at it. Could you (again) share a test file with lyrics? |
Sure: https://file.io/fSboMYVyo4bu |
Update icons.js Add icons in alphabetical order. Change comment to remove reference to external website Remove extra line feeds Co-Authored-by: Alain Nussbaumer <[email protected]>
I've reverted the changes to the bottom navbar and moved the lyrics button to the volume pane on this PR so there shouldn't be any show stopper now. This should fit all your requirements. In the other PR, I'm discussing about the bottom navbar issue (that's linked with the volume slider discussion somehow). Please continue the navbar improvement on the other thread. I'll probably make some new PR with navbar rework (including my proposed change so we can iterate to improve on the design). |
Great idea about where to place the button @hacketiwack, I agree it's much more at home there. @X-Ryl669 the download link seems to be no longer working. Can you send it to me at [email protected]? |
Thanks for the file, I've tested it now, and it looks good. Two things though:
|
Thanks for all the modifications. I'm just have a comment/question regarding the colour of the highlighted lyrics. |
A few more comments:
And overall, it is a cool feature. Thanks! |
Bulma color, no problem but which one? |
I think I would use the |
Thanks a lot for the proposals. 👍🏻 |
I'd also vote for the last option. @ejurgensen What do you think? |
Nice work @X-Ryl669, I think this looks much better. The gradient fill of the text is cool. I agree with @hacketiwack about which proposals look best. There is still something that irks me about this top part: The text appears to use the background album art box as horizontal margin, but not vertical. That seems inconsistent, and gives the text above and below the box the appearance of "sticking out" - at least to me. I would say it's a small thing. @hacketiwack if you are ok with the current solution you are welcome to merge it. |
@ejurgensen, I will merge the PR once the last comment is clarified. |
Yes, I understand that is the implementation, but my comment was just about how it looks. I think that to an average user it will appear as if the text is fitted inside the artwork box horizontally, but not vertically, which might seem peculiar? I didn't notice that long sentences would be also be outside, probably because most of the lyric sentences weren't very long. |
Ok, I'll fix it. |
Instead of having the shadow coming from the top navigation bar, can we imagine to have the text to fade out on the top and fade in at the bottom? Something like this. The example shows only the fade in from the bottom though. But the idea would be to have it for the top as well. What do you think? |
I'll have a look to try to reproduce. I think I need to rework the layout as I've written initially, instead of having a div in the flex's container, I'll move it out of the container in a |
2e714fb
to
4522fd8
Compare
That was fast |
Good for me regarding the layout. That's great. Regarding the text remaining when the queue is finished, it happens on Safari. |
…lyric playing model against the text wrap bug on smaller screen.
OK. I tested again with the latest version and everything works fine. |
Argg... I've made some changes at the same moment you've merged it. Ok, I'm ready for a new PR then. Désolé, mauvaise manie de pousser en force... |
No worries. I was a bit too fast. 😁 |
Wow, fantastic work on this, and the fading top and bottom is a great solution. I just tried it now with the Linkin Park track, and sorry to be difficult, but I think there is still a small issue when the track starts (both in Firefox and Safari):
|
@ejurgensen yes, you're right it would be great if the first line could start from the middle and the last line stop in the middle. |
For point #2, it's solved in #1683. I need to think a bit more about a workaround, maybe adding a fake huge "blank" line for the first and last line that's half the container size. Ideally, I don't want to add many useless/cosmetic DOM element and it makes the logic more complex for scrolling. If I can come up with a solution, I'll open a new PR. |
Point 2 is also present after #1683. To reproduce, start Linkin Park, enable the lyrics pane, and click rewind so the track starts over. |
To fix #1655 last remarks.
This runs linting without issue.
I've implemented scenario 3, which is: the lyric button (in the bottom bar) isn't visible until one song with lyrics is found. Then it appears and can be clicked to display the lyrics pane. It won't go away from then.