Tasker in the car, stop and start "music" from different "music" apps
I know the topic might be strange, but I didn't know what to name this thread.
I got a car with bluetooth, and when my phone is connected I want a lot of stuff to happen.
First, I want it to start playing on Spotify (and maybe start some "car app/launcher"). I've been experimenting a lot, and basically have task that Launches Spotify, light the screen up (otherwise I'm having problem with Spotify not starts on play command), and with Media Control Simulates Play. I also have some well timed wait's.
I also have another task that runs when I got a message, that will read the message for me. Since Spotify not will let the TTS spoken message to be heard for some reason, when using the same "media channel" to play the TTS, I also here got some well timed wait's and lowering in volume, and later a pause of the music, before a temp max rise of the media volume and the message being read. After the TTS voice is finished reading the message on the highest volume the volume is set as I want and a Play with "Media Control Simulates Play" runs.
NOW for my questions.
Sometimes I stops my Spotify for listen to a audio book or some podcasts or something else. I would like my task that stops Spotify (or at least let me here the message) and read the message also to work if I at that moment listens to a podcast.
The stop function isn't a problem for me on some apps (they that silens by default when the TTS voice starts), but for apps that needs the sound to first be stopped are problem for me.
I would like some help to have Tasker stop and start the stream for that app that was playing when the message arrived.
If I'm listen to Spotify my task works, but if I listen to podcast, it stops when the TTS speaks, but after, it will start Spotify since my task runs "Media Control Simulates Play" for Spotify.
I would like that Media Control Play (and stop) to be for that app that at the moment was using the media stream channel on the phone.
Is that something that is possible?
/Söder
Related
I am currently running stock FRF91 and am experiencing a very frustrating issue after upgrading to Froyo.
Prior to the upgrade when using a bluetooth headset, the foreground audio app claimed control of AVRCP and kept control, even when running in the background, until a different app was brought to the foreground. For example, if I wanted to listen to an audio book using the Ambling Audiobook player, I'd launch the player hit play on my headset and it would play. I could pause it with the headset and resume while the app was in the background or the device locked. If I wanted to listen to music, I'd be able to launch Mixzing or any other program and while it was in the foreground, hit play on the headset and the new app would have control of the headset and behave in the same manner as Ambling. This is how things are supposed to work.
Since upgrading to Froyo, the default media player grabs a hold of AVRCP and and will not release control. It doesn't matter what app is in the foreground. When I hit play on my headset, the default player launches. However, once it launched Google Listen and on another occasion Mixzing. I have not be able to replicate that behavior however. It does consistently launch the default player, except for the those two exceptions.
I am using a Jabra BT3030.
Any thoughts? This is really starting to annoy me.
confirmed with my phone too.
Of course what makes the behavior really weird are the two times where the default player did not retain control. However, as I said I've not been able to duplicate that.
I was surprised that rather than attenuating music playback the One pauses music when Waze or Google Navy is announcing an upcoming turn.
59er9er said:
I was surprised that rather than attenuating music playback the One pauses music when Waze or Google Navy is announcing an upcoming turn.
Click to expand...
Click to collapse
Not sure on that one, it might be app specific. For instance, last time I was listening to Pandora and navigating, the phone simply turned down the volume on the music while the navigator was talking. In the HTC Music app, it muted the music but it kept playing(annoying, since I was listening to an audio book...) and in Google Play Music, it would pause it.
unremarked is correct. I use PowerAmp and theres an option to pause the music or play the notification along with the music and thats what i use. I prefer the way iOS handles it though. The music goes lower while the notification sound plays. But i haven't found a way to make it work that way.
Peterboi said:
unremarked is correct. I use PowerAmp and theres an option to pause the music or play the notification along with the music and thats what i use. I prefer the way iOS handles it though. The music goes lower while the notification sound plays. But i haven't found a way to make it work that way.
Click to expand...
Click to collapse
So this morning I got into the car and continued to stream music to my device via Google Music. I needed to make an unplanned detour so I fired up Waze to calculate a quick route avoiding traffic. Much to my delight the music I was streaming attenuated when Waze spoke, just like it used to do on my iPhone. I was so jazzed and my kids were probably wondering why. So at the next light I switched to the HTC player and no dice. Same behavior as before, muting/pausing music whenever Waze spoke directions. Finally I decided to try Pandora (which I haven't been able to stream to my car in the week I've had the One) and not only did Pandora play through the car speakers, it too attenuated when Waze spoke. I haven't tried this with Google Nav.
So what's changed since yesterday? Well I booted into Safe Mode (per HTC rep's suggestion) to troubleshoot a bluetooth volume issue and that didn't do anything other than remove some of my folders on one of my home panels. That bluetooth volume issue is a separate issue and it was not resolved through Safe Booting the device. Also, it appears there was an update to Google Music so that may have resolved the music pausing issue. Either way, I'm not sure what I did or what happened to the device to fix this behavior but I'm very happy to experience this expected behavior between music (except for the HTC native player) and nav.
I've been having this issue with my Note 5 for the past few days where whatever I'm streaming gets paused when a notification comes in. I'm not talking about an interruption in the stream. It completely pauses and doesn't restart after the notification. I would have to manually restart it.
This happens with Google Play Music, TuneIn Pro, YouTube and even MX Player playing a local audio file. In the case of TuneIn Pro, the incoming notification actually kills the app! I'd have to launch it again.
Not every notification pauses streams though. Hangouts, Skype, Telegram and FB messenger do but some others like Gmail or Yahoo Weather don't. I blocked Telegram's notifications and it still pauses streaming as if not blocked (i.e. pauses streams when it would have thrown a notification).
Lastly, and I'm not sure if this is related, the issue started happening after I used the Samsung headset that came with the device for a call.
Any thoughts?
Hello !
I flashed my head unit with a recent malaysk rom (update_4_4_4_FUSE_1024X600_RK3188_16_MAL_17_03_2016) and I just discovered jetAudio which suits me as player for different reasons (prev/next SWC don't work in that app and the EQ enhances the sound like the standard EQ doesn't).
But it doesn't behave like the standard "Music" app :
- When starting up the car it doesn't resume playing automatically
- When switching to radio it doesn't automatically pause but instead lowers its volume and you can still hear your music in the background of the radio
How do I get jetAudio to behave like the "Music" would if I used it ?
monkoid said:
But it doesn't behave like the standard "Music" app :
- When starting up the car it doesn't resume playing automatically
- When switching to radio it doesn't automatically pause but instead lowers its volume and you can still hear your music in the background of the radio
How do I get jetAudio to behave like the "Music" would if I used it ?
Click to expand...
Click to collapse
I think standard music app is controlled by the MCU (If i remember rightly)
So it knows to stop playing when losing focus.
Most other music apps dont work in the same fashion as generally you want to minimize the app and keep playing.
I use JetAudio and have gotten used to the idea of pausing music before exiting and likewise pressing play on start up.
If someone can get around this with Tasker or something i'd love to know too
pants001 said:
I think standard music app is controlled by the MCU (If i remember rightly)
So it knows to stop playing when losing focus.
Most other music apps dont work in the same fashion as generally you want to minimize the app and keep playing.
I use JetAudio and have gotten used to the idea of pausing music before exiting and likewise pressing play on start up.
If someone can get around this with Tasker or something i'd love to know too
Click to expand...
Click to collapse
Has anybody a solution for this issue? "....When starting up the car it doesn't resume playing automatically"
RocketPlayer seems to do this just fine on my headunit.
Hey guys, want to be able to use "ask autovoice good morning" and have the profile trigger all shutter blinds up which I can already do but also play Spotify, whether it be Playlists or a station.
Had a look around but couldn't find anything