Skip to content
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

mpd player possibly broken #10

Open
tthef opened this issue May 19, 2015 · 2 comments
Open

mpd player possibly broken #10

tthef opened this issue May 19, 2015 · 2 comments

Comments

@tthef
Copy link

tthef commented May 19, 2015

The mpd player does not seem to work. I initially thought there was something broken in the meta-radiodan setup, but it does not work on the provisioned raspbian either -- from the logs it would seem that the pls play list is getting sent to mpd as if it was an actual mp3 stream. (I can play the playlist through the mpd daemon the server sets up manually using mpc, i.e., 'mpc -p 49156 load http://open.live ... /pls.pls; mpc -p 49156 play'.) In both cases mpd is version 0.19.1 if that makes any difference.

@pixelblend
Copy link
Member

Thanks for highlighting this. We've found lots of intermittent problems with MPD and the BBC Streams recently. Occasionally, the streams will play on the web app and/or using the command line.

I've run some unscientific tests, which involve rebooting a provisioned pi with the magic button app installed. I attempted to load and play the playlist, using the commands you use above.

Test 1

  • Command 1: Played OK
  • Command 2: Locked the player, client timed out

Test 2

  • Command 1: Played OK
  • Command 2: Played OK
  • Command 3: Locked & Timed out

Test 3

  • Command 1: Locked & Timed out

Test 4

  • Command 1: Locked & Timed out

Test 5

  • Command 1: Locked & Timed out

Let me know if your machine behaves differently but for me it's frustratingly inconsistent. For the pi 2, Mopidy works well and doesn't take up much CPU to run. We'll use that as the default player for the magic button app.

@tthef
Copy link
Author

tthef commented May 21, 2015

In my tests it never works via the web app, and it always works from the command line. The logs are similar on both the Yocto and Raspbian setups, except raspbian uses the lame decoder for mp3, which prints an extra message along the lines of 'file does not look like mp3 stream' -- I think that's the pls list being passed directly into the decoder as if it was an mp3 stream.

I have packaged both mpd and modipy for the Yocto set up, so switching over should not be a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants