Bluetooth issues [#11416, #11417]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Bluetooth issues [#11416, #11417]

Re: Bluetooth issues [#11416, #11417]

by mcow » Tue Jul 22, 2014 8:29 pm

With build 291, MMA's BT performance has been pretty solid. Starts playing every time I turn the head-unit on, no sudden silence. Today I happened to turn the car off and then on again, and the BT connection reestablished right away. I don't know if anything's been changed to lead to this, but I hope the behavior keeps up.

Re: Bluetooth issues [#11416, #11417]

by mcow » Tue Jul 01, 2014 10:57 pm

I've seen a problem, repeated in the past few days, where MMA never advances the song beyond two or three seconds. The Bluetooth connection is active: I can use the head unit's Next/Prev tracks and MMA updates accordingly, but with a long pause between BT button press and updated screen. Pressing the Play/Pause button on the screen also sometimes is laggy.

What's unusual about this is that it also doesn't play to my desktop bluetooth speaker; I haven't seen that behavior before.

I captured a log: JV22AUSCR0
I am still running build 259, I wanted to wait to see if people had problems with the new database format. But I haven't seen any reports of improvements in bluetooth, either.

Re: Bluetooth issues [#11416, #11417]

by mcow » Thu May 08, 2014 11:56 pm

I got a new Bluetooth audio device, an active speaker in my house. So far, this behaves a lot better than the car does.

In particular: on the tablet, if I turn BT off and then turn it back on, I get a window showing the paired devices. With the speaker, the BT entry shortly changes to "Connected." The car never does this.

And altho I haven't used MMA to play into this speaker very much, yet, I have had no problems at all when I have.

Re: Bluetooth issues [#11416, #11417]

by mcow » Fri Apr 25, 2014 12:57 am

I read something tonight informing me that as of Android 4.2, Google included a "BlueDroid" Bluetooth stack in the software. I have not determined for sure if Samsung included the stack in the Galaxy Tab 2 update to 4.2.2 but I assume they did. Here's a bug issue where people are complaining about 4.2 Bluetooth audio, but I am not experiencing the problem described there (staticy noise, especially in the high end). I know there are Android features that did not make it into the Tab's 4.2.2 firmware image (e.g. lockscreen widgets), but I don't know enough about Android distributions to know exactly which Bluetooth stack is in my tablet.


Today, playing back thru PowerAmp, sound suddenly stopped in the second song of the drive. I was in traffic, so I didn't do anything about it, just let it go on. After a few minutes, the next track started up, audible in the car speakers, as if the track had kept progressing silently and then something was reset at the switch to the next track. The head display had gone to blinking "PAUSE" when the track went silent, but did not change back to "BTA" when the next track started playing.

This problem of tracks suddenly going quiet started maybe two weeks ago, when I was still using MMA as my in-car player. It's happened maybe eight times in that time period, with both MMA and PowerAmp. There is an intersection I pass thru where this problem happened twice, making me wonder if radio interference could be affecting the car's Bluetooth.

Re: Bluetooth issues [#11416, #11417]

by mcow » Sat Apr 19, 2014 12:38 am

martin.bohac wrote:To get more chance to take control by MMA, use option called "Always respond to remote buttons" or kill SMP(or maybe SMP has also option for this).
I do have that option set. The Samsung player (or maybe it's the default Android player) has no such setting; it has an explicit "Via Bluetooth" menu selection which starts a scan.


For the past week, I've been using PowerAmp as my Android player instead of MMA. In that period, there have been at least fifteen different sessions of bluetooth playback in the car -- typical usage for a week.
I have seen a couple of the Bluetooth playback symptoms that have been plaguing my usage of MMA, but far less frequently, and recovering has been far more reliable than with MMA. With PowerAmp, I have not once had to simply shut off the tablet and switch to a CD, which I've had to do at least two or three times a week with MMA over the previous weeks.

The symptoms I've seen with PowerAmp: music playing normally, then suddenly in mid-song stopping. This happened twice in a very short period of time, in the same song in fact. I shut off the stereo entirely for about five minutes, then turned it back on and restarted the song: it played all the way thru and continued on thru the queue like it's supposed to.

The other symptom occurred when I turned the car on and the car stereo had been left on before shutting off. In that case, the stereo tried to start playback before the BT connection had been made (which is also a problem with MMA) and the progress bar started moving with no audible sound. Unlike with MMA, however, simply turning off the car stereo, making sure PowerAmp was not actively playing, and turning the car stereo back on was enough to start the music.

So, I can say that the problems with BT playback (with my Samsung tablet and its bluetooth implementation and Android 4.2.2, and with my car's bluetooth implementation) are not entirely MMA's fault; but given the relative lack of problems with PowerAmp's playback, I think there is definitely room for improvement in MMA.

Re: Bluetooth issues [#11416, #11417]

by martin.bohac » Thu Apr 17, 2014 3:23 am

Yes, some media players(like PowerAmp) take control although aren't in foreground. They are listening connection event and register their listeners on this event. The media player, which register its listener as last, wins. To get more chance to take control by MMA, use option called "Always respond to remote buttons" or kill SMP(or maybe SMP has also option for this).

Re: Bluetooth issues [#11416, #11417]

by mcow » Thu Apr 03, 2014 9:15 pm

So I think I've determined a pattern for MMA failing to play back over BT. I often use the Samsung Music Player, which has a single track in its library (the sound of crashing waves) that I play in my bedroom overnight and also thru headphones when my office gets loud. I've noticed that if SMP was the last active player at the time the BT connection is made, then MMA can't seem to get access to it.

Try these steps:
1) Play something thru the Samsung player (maybe any other player), using the device's speakers or jack; pause it.
2) Connect device to BT (head unit off)
3a) Bring up MMA
3b) Turn on head unit after BT connection established
3c) Try to play something thru the BT connection.

One thing I've noticed: after step 3a, before the head unit has come on, I've several times seen MMA go into play mode on its own; the track progresses for a few seconds, then it pauses; then the scrubber bar returns to 0:00, and then it starts to play again. I don't know if this play, pause, reset, play cycle ever stops; I've seen it go on four times in a row before I tried something else. It may do the same thing once the head unit is on. But I don't get music thru the BT.

Sometimes, if I turn off the head unit, stop MMA from the notification bar, and restart, it will play. Also, sometimes, switching the head unit to a CD, letting it play for a period of time, and then switching back, I can get music.

Contrary to the above, if MMA was active prior to connecting to BT, it seems to play; at least, it seems to play more often.

Re: Bluetooth issues [#11416, #11417]

by rusty » Wed Mar 05, 2014 10:54 pm

mcow,
Sounds like the same problem as described here:
http://www.mediamonkey.com/forum/viewto ... 21&t=75505

Let us know if build 230 solves it (please reply in the other thread).

Thanks.

-Rusty

Re: Bluetooth issues [#11416, #11417]

by mcow » Sat Mar 01, 2014 2:50 pm

Peke wrote:can you elaborate bit more not sure that I follow correctly? Also looks like random issues rather than constant/replicable one.
So far, that was the only instance of that behavior. The basic problem was: I thought I'd stopped playback by turning off the car stereo, but when I returned twenty minutes later, the tablet was still playing, thru its own speakers.

Re: Bluetooth issues [#11416, #11417]

by Peke » Fri Feb 21, 2014 6:43 pm

can you elaborate bit more not sure that I follow correctly? Also looks like random issues rather than constant/replicable one.

Re: Bluetooth issues [#11416, #11417]

by mcow » Fri Feb 21, 2014 6:27 pm

mcow wrote:I'm now updated to 228, so I'll see if behavior improves.
Hm. I had no problem with build 228 failing to output to the BT audio. I did encounter a new problematic symptom.

Got to my destination, waited until the end of a track, turned off the car stereo and then the car, tossed the tablet in the glove compartment, went out on my errand. When I got back to the car, I could hear music playing: MM had continued playing the album, for five more tracks, and switched to the tablet's speakers. It might have done that right away and I didn't notice because the next song started quietly. I was able to quickly reconnect to BT and restart from the point of interruption.

When I got home, I again turned off the car stereo but didn't turn off the car for fifteen or twenty seconds. MM definitely stopped at this point.

Re: Bluetooth issues [#11416, #11417]

by mcow » Thu Feb 20, 2014 2:31 pm

Starting with 226, I've been having more difficulty getting BT audio working.

During the day at work, I screen out office chatter with a recording of crashing waves; I play this thru the Samsung player (and keep that track out of my MediaMonkey library). Yesterday (w/ 226 installed) I got in the car, waited a minute, then turned on the car stereo -- I heard the crashing waves. In the tablet, I paused the Samsung player, opened MMA, pressed play. I got no sound; the scrubber bar was not progressing like it has in other problems described upthread. I tried numerous tricks to get MMA to play: stopped the player from the Ongoing control and then restarted, switched the car unit between CD and BT: this got nowhere. I submitted a log, altho I'm not sure if it got transmitted because I had no wifi at the time: 7BUL1F4MT0

I'm now updated to 228, so I'll see if behavior improves.

Re: Bluetooth issues [#11416, #11417]

by gekoenig » Mon Jan 27, 2014 12:14 pm

I have noticed this as well with my cars, seems intermmittent but mostly when the BT initially connects. The phone and car will connect and the music will start playing on the phone rather than through the car stereo. I have found that hitting the play/pause button on the car stereo somehow wakes it up and the audio comes on.

Re: Bluetooth issues [#11416, #11417]

by mcow » Sun Jan 26, 2014 7:02 pm

rivorson, you may be right. I was recently playing a CD in the car, and it seemed to me the MM inaudible-playing problem was worse during that time.

Last night, using MMA build 222, I switched the car stereo from CD to tablet and couldn't get the tablet to play at all, despite turning the stereo on and off, switching between CD and BT, and stopping MM, all several times.

At one point, I noticed that I pressed the MMA Stop button in the notification area, the notification disappeared, but then popped back up again. I couldn't make it exit; I couldn't turn it off in the Application Settings. I just turned the CD back on and listened to it almost twice thru before I got home.

In this case, unlike my earlier report, Google Play could not play audibly to BT either.

Re: Bluetooth issues [#11416, #11417]

by rivorson » Mon Jan 20, 2014 12:37 pm

I've found that the no-sound issue was a problem with the car in my case. When it happens to me I can fix it by switching to playing from CD then back to bluetooth without having to disconnect the phone.

mcow, perhaps the same is true when this happens to you. Can you switch to a CD or radio and then back to bluetooth next time it happens?

Top