notandy / ympd

Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS
http://www.ympd.org
GNU General Public License v2.0
515 stars 143 forks source link

Reversal of Play and Pause icons when playing music #198

Open AutomatedPumpkin opened 1 year ago

AutomatedPumpkin commented 1 year ago

In the Queue function, when playing music, the icons really should switched for Pause and Play. It's currently set up to show what the song is doing at that time, however in my opinion, it really should be what you'd like to do next (ie a command to the system). The current setup is currently the opposite of how spotify, youtube etc work.

Ie if the music is playing, the icon should be Pause, to indicate if you'd like to pause the music then press that button. Conversely, if the music is paused and you want to play the music, the icon should be Play.

This can be done by reversing the values for .glyphicon-play and .glyphicon-pause in bootstrap.css in htdocs/css from the main level.

Ie the new setup would be: .glyphicon-play:before { content: "\e073"; } .glyphicon-pause:before { content: "\e072"; }

This has helped me to calm my son who said this setup would "stop the world from destroying itself". :-)