Closed gjedeer closed 7 years ago
I just tried this. When you click on a different song while the first one is playing, it updates the notification and the bottom bar with the new song title etc. Or do you mean that theres no loading indicator?
Let me check if this is only happening with my branch... The player didn't update with the new song title.
built from current master: https://fb.gdr.name/funky.mp4
A notification like some spinning icon next to the chosen song would be nice but even what you're saying is not happning.
Right, it has to load the song first. While its loading, it isnt showing any indication.
Agree that there should be a spinner and also a loading indicator in the notification and bottom bar.
Hey @funkyg could you help me out a bit? I have implemented a playing indicator and a progress bar in https://github.com/funkyg/funkytunes/tree/show-loading-notification and it even works but it looks like shit.
What I originally had in mind was adding an icon on the right of the list item. There would be a play icon for active song and a circular progress bar for the queued item.
But I didn't know how so you can see what I ended up doing. If you could take over and implement that or any other kind of layout, we could close this issue and have a nice new feature.
Also I'm aware this is a bad idea:
but I could not find a method for getting a holder for item "i".
i think the easiest option would be like this:
loading
to Songloading
field to show/hide the indicator in the list itemOkay, I did that. One remaining question is:
Is there a reason why you were using a new Song instance? Having two instances for the same song fucked up progress.
It seems to work okay though.
i think the reason was to keep Song immutable, but thats not so important
Yeah hard to keep it immutable with the progress field
When you want to play other song than the first one there's no visible notification after clicking. My "tester" was very confused by this and thought it's impossible to switch songs.