Hi there,
In my Android car head unit I'm using Tasker for automatic starting poweramp after booting, which works quite good but only for poweramp.
Now I'm using also sometimes other media apps like DAB-Z and I'm searching a solution for identifiying the last playing media app.
If the media app is paused the variable should be kept to the last playing app so at least the stored variable should only change, if another media app is playing.
In my case it's "only" DAB-Z and Poweramp.
Anyone knows a solution for this?
Thanks
Why not just create two profiles, one for each app launched and update the same variable.
ktmom said:
Why not just create two profiles, one for each app launched and update the same variable.
Click to expand...
Click to collapse
That would also be a good option
But how can I set a variable after opening an app?
Create a profile with the app as a context then set a variable in the task.
This is a very basic configuration. If you're still unsure, it will benefit you to review some tutorials targeted to beginners. There are many videos and written tutorials for tasker, both here on xda and on the internet in general.
Related
Can anyone tell me how to disable autostarting of Music app when headphones are pluged in?
Can't find anything about this in settings (both in app and mod settings).
Didn't find anything about this here (or somewhere in the internetz).
Am I the only one annoyed by this "feature"?
Music app starts because of a loose contact in the headphone jack.
Whenever you plug in your headphones the phone thinks you pressed the media button on the headset that shipped with the phone (it has a fourth contact on it's jack).
To disable this I used an App called Autostarts: https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts
In this app you have to look for the event "Media button pressed" and then disable forwarding this event to music app.
Eiertschik said:
Music app starts because of a loose contact in the headphone jack.
Whenever you plug in your headphones the phone thinks you pressed the media button on the headset that shipped with the phone (it has a fourth contact on it's jack).
To disable this I used an App called Autostarts...
In this app you have to look for the event "Media button pressed" and then disable forwarding this event to music app.
Click to expand...
Click to collapse
Thanks for the suggestion!
...But it sounds a bit like cracking nuts with a microscope.
What I can think of is to install an application that "steals" the event from the music app and disable autostarting from within this app. But this solution is far away from elegance also.
There should be a quick and elegant solution.
Maybe a short script that prevents forwarding of this event to music app?!...
...which, unfortunately, is beyond my abilities. :/
I don't think you can "steal" the event from a specific app.
The more media players you install the more receivers of the MediaButtonPressed event are in the list so I guess the event is a broadcast that every app can choose to receive and react to.
Autostarts' description says it can disable app components, but needs root access too - otherwise it will be in read-only mode.
So I guess if you knew exactly what the app does with root rights you should be able to reproduce it without the app.
But it's getting complicated again.
I think the easiest and also most comforable way is to somehow get this app (there's no free version unfortunately) and disable receiving of the broadcast for music apps.
Done.
Eiertschik said:
I don't think you can "steal" the event from a specific app.
The more media players you install the more receivers of the MediaButtonPressed event are in the list so I guess the event is a broadcast that every app can choose to receive and react to.
Autostarts' description says it can disable app components, but needs root access too - otherwise it will be in read-only mode.
So I guess if you knew exactly what the app does with root rights you should be able to reproduce it without the app.
But it's getting complicated again.
I think the easiest and also most comforable way is to somehow get this app (there's no free version unfortunately) and disable receiving of the broadcast for music apps.
Done.
Click to expand...
Click to collapse
You were right.
I installed Winamp first. Plugging the headphones began to start Winamp. When I turned off its option to control the headset, the music app began to start.
Then I decided to freeze the music app via Titanium Backup, and voila. Problem solved. After restarting the phone even music app icon disappeared from the menu.
Not the most elegant solution, but it works.
Thanks for the useful info!
Now I just have to find a lightweight player that doesn't autostart when the headphones are plugged in or that has an option to disable autostarting. Winamp is not so good lately.
I prefer Player Pro - but yet again - this app is not free...
Eiertschik said:
I prefer Player Pro - but yet again - this app is not free...
Click to expand...
Click to collapse
DeaDBeeF Player Pro... This one?
(Too many "Player Pro"s in Play Store.)
Sorry - I mean this one:
https://play.google.com/store/apps/details?id=com.tbig.playerpro
Here's a 7 day trial version:
https://play.google.com/store/apps/details?id=com.tbig.playerprotrial
Has anyone found a better app for remote controlling your music.
the stock one is ok, but it would be nice to see the track listing.
Null
And maybe any good music programs to use with null rom, and non samsung phone?
akira8473 said:
Has anyone found a better app for remote controlling your music.
the stock one is ok, but it would be nice to see the track listing.
Click to expand...
Click to collapse
I personally used M2D's manager app to send tasker intents from my watch to my phone and on the phone I have tasks for each control and use "Media Utilities" in the Play store to actually perform the actions as it has a tasker plugin. I also use it to send the currently playing song to my watch and display it with the Zooper widget. It's tricky and time consuming but there is a tutorial in the M2D thread in these forums.
Hello.
I've been using an app in my androidphone "Metafy" that shows track and artist on my pebble when using spotify. Since the latest update of Spotify this does not work any more. Any one have the same problem?
How-to:
http://selfscreens.com/forums/index.php?threads/how-to-spotify-and-pebble.387/
milky81 said:
Hello.
I've been using an app in my androidphone "Metafy" that shows track and artist on my pebble when using spotify. Since the latest update of Spotify this does not work any more. Any one have the same problem?
How-to:
http://selfscreens.com/forums/index.php?threads/how-to-spotify-and-pebble.387/
Click to expand...
Click to collapse
Found an alternative app for sending Spotify info to the Pebble music controller that seems to work.
(BTW I'm using galaxy s3 and liquid smooth ROM 4.4.2).
why don't you share what you found as an alternative?
Alternative app
I use Media Utilities. It works with Spotify and Podcast (and possibly more).
The disadvantage is, that it needs notification access to read out the current track/podcast. Additionally the user interface is a little odd and buggy.
But it works and nothing bad has happened yet.
...yay, can't post links as a newbie, but I bet you can find it yourself in the Play store ( com.batescorp.notificationmediacontrols.alpha )
paviol said:
why don't you share what you found as an alternative?
Click to expand...
Click to collapse
Sorry I forgot to put that in there. It was not a good solution anyways it was a strange app that constantly increased the volume.
Tried Media Utilities as posted above and it works!
It does not show Album though.
In the app I added spotify, and then in settings under Application Integration i checked the marker next to Pebble Watch.
Use Music Boss to fix this, and you'll also gain the best watch app for Pebble as a bonus n
This post written in Tapatalk on my HTC DNA
Hi guys.
As I have mentioned it before I have started working on a YouTube Player for Android Auto, but since I'm not a big youtuber myself I will like to get some input from you guys on how this should app work.
My thought till now are:
1) When you are outside Android Auto, you will need to open the app, give permission to access your content and sync your playlists to the app.
2) When in Android Auto, the media player will contain entries for each PlayList and all the items of a playlist will be listed as subitems. This part will work as any other media app.
3) Video playback, this will be on the fifth tab, same menu structure, but it will also display video, of course only when the car is stopped, other than that video playback will be disabled.
4) Provide search for individual songs.
- Is there any other way you usually use Youtube beside created playlists, if yes please tell me so I can understand what should I build.
Sync before use - Why is it needed?
- To be able to use the YouTube API which gives me access to your playlist and content I need to create a developer API. The API is limited to 1.000.000 trade units per day, every query has it's own unit value (not necessarily 1) so if I don't sync the playlist and use a fetch as needed approach, I will risk to run out of trade units when the user base grows bigger.
Any comments suggestions are welcomed.
Hello, I am very interested in this application.
It would be very useful if you could choose the quality of the video.
I want buy it
Hi,
Why a YouTube player, and not any other type of player? Several opensource players with local support exists. Why not use some of these as a base?
manos78 said:
Hi,
Why a YouTube player, and not any other type of player? Several opensource players with local support exists. Why not use some of these as a base?
Click to expand...
Click to collapse
Local players do exist for audio, and it's easy to create an app for AA for them, but YouTube is more problematic, and yeah it's a bit against youtube policy because you shouldn't have sound without video, so officially that app will never be created (maybe with youtube red).
However this project did not receive too much attention so it's on a backburner at the moment, probably till end of November.
Emil Borconi said:
Local players do exist for audio, and it's easy to create an app for AA for them, but YouTube is more problematic, and yeah it's a bit against youtube policy because you shouldn't have sound without video, so officially that app will never be created (maybe with youtube red).
However this project did not receive too much attention so it's on a backburner at the moment, probably till end of November.
Click to expand...
Click to collapse
Ahh, Ok! You think in audio only YouTube player.
I hope someone will start to develop a Xposed module that "rewrites" the MainActivity of any selected App and add AA support on-the-fly! This will be more similar to MirrorLink (not supported in a lot of devices).
Regards.
manos78 said:
Ahh, Ok! You think in audio only YouTube player.
I hope someone will start to develop a Xposed module that "rewrites" the MainActivity of any selected App and add AA support on-the-fly! This will be more similar to MirrorLink (not supported in a lot of devices).
Regards.
Click to expand...
Click to collapse
Audio only + video when the car is parked/not moving.
Video Player app for Android Auto, maybe based to VLC that is open source would be very useful and i'll buy it surely
Emil Borconi said:
Local players do exist for audio, and it's easy to create an app for AA for them, but YouTube is more problematic, and yeah it's a bit against youtube policy because you shouldn't have sound without video, so officially that app will never be created (maybe with youtube red).
However this project did not receive too much attention so it's on a backburner at the moment, probably till end of November.
Click to expand...
Click to collapse
Why isn't there any more attention for this?
Listen to Youtube playlists and watching video while parking would be a killer feature for AA.
Excellent App idea ?
Would love this app
Great !
We wait youtube app to android auto ! Please <3<3<3
uzakask said:
We wait youtube app to android auto ! Please <3<3<3
Click to expand...
Click to collapse
Here's my attempt to make YouTube work on Android auto.
www.thekirankumar.com/blog/2017/12/29/play-youtube-video-android-auto-app
It's an apk you download and install on phone and it allowd use of YouTube mobile site on Android auto. Enjoy !
Hi all here,
I am the author of what's called an unofficial Android Auto SDK, a piece of software
which allows creating custom Android Auto apps.
Because the poster of the previous message used this SDK, I believe it's
important that I quote my statement about video-in-motion AA apps from
the thread linked above also here. Please read below.
Regards,
martoreto
martoreto said:
Dear all,
it is a good moment to say my final word specifically about the kind of apps
which allow playing videos on the head unit.
I think these don't need much comment:
It's ok to have a movie together on a great trip in middle of nowhere, when stopped.
It's not ok to watch a movie while driving. It doesn't need any comment.
It's totally ok for the passenger to watch a movie on his/her own device.
It's not ok for a passenger to watch a movie on a display in front of the driver.
It's ok to show off how a wonderful head unit I have which can play YT, but not while driving.
It's not ok to watch a movie while driving just to do a forbidden thing.
There's no "it's ok" scenario here for playing movies while in motion. Please share if you
know some. I'm pretty sure these are very uncommon or borderline ok.
Those "it's not ok" may be tempting. Because the driver may be bored, pissed off,
deny the danger of driving distracted, willing to show off, overestimate his/her skills,
name your reason.
Words displayed in the dash or written on a website or anywhere else would rarely
prevent it.
It's not that if movies are not possible in these cases, the driver will definitely do
something else stupid, like playing the video on the phone itself or become even more
angry and aggressive on road.
I want to say that clearly: I believe no apps should allow playing videos on the
car display while the car is in motion. Period.
I ask all here to not write such apps and not promote and talk about them here.
Instead of supporting those who create these apps just to satisfy popular demand of
doing a forbidden thing, please support those who actually care about creatively
and carefully designing the apps to be useful and which assertively, yet nicely
prevent being used in a stupid way.
Regards,
martoreto
Click to expand...
Click to collapse
Post deleted.
Youtube auto Android auto
I have 1,000 CDs that I've ripped to my PC as WAV. They are basically all of the rock genre (Classic, hard rock, heavy metal, nu metal, 90s grunge, etc.), and because of that, I prefer lossless. I've tagged all of them to the Discogs database, using Foobar2000.
I use this same collection on my PC and also copied to the MicroSD of my Note 9, which I connect to my Kenwood DMX907S head unit through Wireless Android Auto.
The objective is to create several playlists based on tags. Also, I want to be able to normalize the sound, so that regardless of the quality of the recording, all tracks are equally as loud at their highest points within the tracks. For playing on PC, this can be easily done, using Foobar2000. From what I understand, there is an Android App for Foobar2000, but it was not nearly as developed as the PC version and therefore cannot create playlists based on the type of tags I'm looking to utilize.
Tags include:
Genre
Artist
Album
Date Added to Library
Possibly other custom tags (for instance, Live or Studio / Original or Cover)
Are there any Android Auto compatible music apps out there that can create these types of playlists using local files, such that they're compatible with Android Auto? ...AND can manage the sound levels as needed?
I use Bubble upnp as I also use it to cast. Give it a look to see if it does everything you are interested in.
Note10.1Dude said:
I use Bubble upnp as I also use it to cast. Give it a look to see if it does everything you are interested in.
Click to expand...
Click to collapse
I added that app and am currently trying it. I'm noticing that all artists are listed as <Unknown>. Is this because when tagging, I used the %artist% tag instead of %album artist% ? Is there a way to adjust this in the app?
I had some rips that didn't read correctly and ended up using MP3TAG on my PC to fix their metadata. I rip all my CDs to FLAC with EAC, and generally it just works, so I can't be of much help.
Although BubbleUPNP is an excellent DLNA media player, it doesn't support Android Auto and there are no plans to include it anytime soon (I requested the dev for this feature to be added and was told it was basically impossible unless the whole app was rewritten from scratch. That was a couple of years ago now, and unfortunately nothing's changed since).
For local music playback, I'm using 'Oto Music' from the Play Store. It's a very well designed music player with Replay Gain and full AA support, although I'm not too sure if regarding your playlists it could be what you're looking for... In any event, it's a free app and constantly gets upgrades and new features.
Now you got me wondering. I use BubbleUPNP in the car all the time, but possibly only from my tablet via bluetooth. I thought it also worked from my phone via AA... I'll have to re-check that.
Note10.1Dude said:
Now you got me wondering. I use BubbleUPNP in the car all the time, but possibly only from my tablet via bluetooth. I thought it also worked from my phone via AA... I'll have to re-check that.
Click to expand...
Click to collapse
Use anyaudio app to get any music app in AA. And you need root and AA AIO TWEAKER to enable it.
[App][5.1+][Alpha] AnyAutoAudio - Use any audio app in Auto
AnyAutoAudio So I was tired of not being able to use the audio apps I normally use in Auto and decided to try and do something about it. This app is the result :fingers-crossed: How does it work? By using the notification listener permission...
forum.xda-developers.com
[ROOT ONLY] AA AIO TWEAKER - The ultimate Android Auto Utility
Meet AA AIO TWEAKER, the new Swiss Army Knife for a less restrictive and more feature-ful Android Auto! How do I use it? Allow root access, choose what you want, reboot, and then forget about it :) How does it work? This app uses SQLite...
forum.xda-developers.com