ympd icon indicating copy to clipboard operation
ympd copied to clipboard

Now playing info doesn't update on web stream

Open rhodcodes opened this issue 8 years ago • 3 comments

When using a web stream, the track info updates but the large now playing text (next to the play glyph) doesn't update. I can prepare screen shots/screen recording if required.

This is on the Raspberry Pi build.

rhodcodes avatar Nov 17 '15 11:11 rhodcodes

Same problem here. Has anyone fixed it yet?

pilovis avatar Feb 09 '17 09:02 pilovis

I solved this by forcing the main page to auto-refresh every 10 seconds.

  • Edit html file: nano ~/ympd/htdocs/index.html add this line in between the HEAD tags: <META HTTP-EQUIV="refresh" CONTENT="10">

  • then rebuild ympd: cd ~/ympd/build make clean make make install

  • then reboot to apply changes.

pilovis avatar Feb 09 '17 10:02 pilovis

I fixed it in my bootstrap4 branche. You must change line 372 in mpd_client.c

  • if(s->song_id != mpd.song_id)
  • if(s->song_id != mpd.song_id || s->queue_version != mpd.queue_version)

jcorporation avatar May 23 '18 23:05 jcorporation