pimusicbox / pimusicbox

An image (SD-card) to turn the Raspberry Pi into an easy to use MusicBox with Spotify playback and AirTunes streaming

Home Page:http://www.pimusicbox.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buttons in Browser Incorrect when Casting to MusicBox from WMP

jackho9 opened this issue · comments

Love MusicBox. I noticed two issues with it when casting to MusicBox from Windows Media Player (UpMPD):

  1. The skip song back/forward buttons in the browser cause the warning shown in the attachment ('Problem looking up https:/...') and don't work; while the pause button in fact skips to the next song.

  2. When it switches from one song to the next in the list it generates the Warning with 'Please file a bug', but it still works fine.

Cheers!
Jack
MusicBox Errors

Thanks, it's nice to hear when the project has a (happy) user!

Just so I understand this right, when you use the "Next" and "Previous" buttons in the default webclient, they don't do anything? And if you press the "Pause/Play" button it skips. I think this might be related to the poor handling of wma files in the old version of GStreamer that PiMusicbox uses. Are you able to try some mp3 files?

Ok, I am having difficulty confirming the exact nature of the issue. This is what I can confirm:

  1. When I 'cast to MusicBox' from Windows Media Player it plays mp3s and flacs but not wav/wma (in this last case it says that GStreamer is missing a plugin - that's fine I don't play wavs, I just tried a few now for completeness). When casting to MB, the next/previous and pause buttons in the default webclient have unexpected behavior that I am having difficulty pinning down, because it seems to change (it's as if they do not speak the same language)

  2. When I play things directly from the webclient (radio, mp3/flac files or from Google Music) the buttons behave as expected.

  3. Almost every time I change a track I get the Warning with 'Please file a bug' but it plays it fine.

  4. The start of the session looks as follows (says the version of Python 2.7 installed is deprecated):

MusicBox Errors 2

OK so the issue is that the webclient controls have the incorrect behaviour when you are playing music from a Windows PC via upmpdcli. In the websettings there is an option to enable debug logging. Can you do that and provide the full debug log that shows the buttons doing the wrong thing.

Ok, here is the debug log. I turned on the Zero, selected some flac files in WMP and cast them to MusicBox. When they started playing I played with the next/pause/previous buttons in the 'Playing Now' page of the webclient, bith on my phone and computer. Sometimes they work, sometimes they don't, pausing skips, then it hangs. At that point I killed WMP and started the same album from Google Music, all good there, still playing.

Jack

mopidy-debug.log