Mach5 / supersonic

Open-source web-based media streamer and jukebox fork of Subsonic. Supports MP3, OGG, AAC and other streamable audio and video formats. Runs on Windows, GNU/Linux and Mac using Java.
226 stars 61 forks source link

Play/pause not working over bluetooth #12

Closed DBendit closed 12 years ago

DBendit commented 12 years ago

I still haven't figured out if it's my car radio or the app, but my play/pause button doesn't do anything. I'll look into this later.

porkcharsui commented 12 years ago

I noticed while testing the latest code on CM 7.1 on my Evo4g that I could occasionally cause supersonic to loose audio focus. Listen app would start playing an old podcast but I could next track back to supersonic. In addition, Navigation will not return focus after some directions are read. A minute later a new direction came and returned focus so volume levels were restored.

DBendit commented 12 years ago

Would Listen start playing only on hitting some control (play, next, etc.), or just seemingly at random?

As for Navigation, not sure what that's about. I hate to say that it works fine for me, but that's the whole reason I switched it over to using audio focus, and it seems to be working great on my end.

Mind sending me a log of it happening if you see it in the future?

porkcharsui commented 12 years ago

Listen would require a button press to take focus.

The audio focus changes are definitely working better than stock Subsonic. If I encounter anything again like I described I will post logs using LogCat.

-Derek On Feb 19, 2012 5:55 PM, "David Bendit" < reply@reply.github.com> wrote:

Would Listen start playing only on hitting some control (play, next, etc.), or just seemingly at random?

As for Navigation, not sure what that's about. I hate to say that it works fine for me, but that's the whole reason I switched it over to using audio focus, and it seems to be working great on my end.

Mind sending me a log of it happening if you see it in the future?


Reply to this email directly or view it on GitHub: https://github.com/Mach5/supersonic/issues/12#issuecomment-4047302

timoreimann commented 12 years ago

Is this issue possibly fixed by pull request #43?

DBendit commented 12 years ago

I haven't tested it, but I think it will be. I can load it on my phone and test it out tonight.

timoreimann commented 12 years ago

Sounds good. Let me know if it works or close this issue directly in case it does.

Thanks!

DBendit commented 12 years ago

I had to make some other changes that I have yet to test, but the overall issue (play/pause not doing anything) seems to be resolved. Closing the issue.