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

Please re-add the 'play when headset is plugged' feature #52

Closed
ghost opened this issue Sep 2, 2013 · 2 comments
Closed

Please re-add the 'play when headset is plugged' feature #52

ghost opened this issue Sep 2, 2013 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 2, 2013

I really liked this feature in the previous versions. I set the notification to always show which kept the service running almost always, so whenever I wanted Vanilla Player to play I just plugged my headphones and it played.

@adrian-bl
Copy link
Member

The feature isn't gone: I just replaced it with an external application:
https://play.google.com/store/apps/details?id=ch.blinkenlights.android.vanillaplug

Just install the app and start it once (to activate the service).
The application works as a persistent service and will keep running without any workarounds (like telling vanilla to keep the notification alive in order to prevent getting killed)

@ghost
Copy link
Author

ghost commented Sep 2, 2013

Thanks for the help. I'll wait for this app to hit F-Droid and I'll install it. It'd still have been nicer if this feature would have been a feature of vanilla player (i.e. have a persistent service that starts vanilla on HEADSET_PLUG, and don't start the service unless the 'Play when headset is plugged' checkbox is ticked. This service could also startForeground with a PRIORITY_MIN notification, which is not shown in the status bar on 4.1+.

That being said, consider adding a checkbox that sets the notification's priority to PRIORITY_MIN.

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

1 participant