A Locale plugin that simulates pressing a headphone or headset button. Available buttons are the "hook" ie single headset button, Play/Pause, Play, Pause, Next, Previous, Fast Forward, Rewind, Stop. Also optionally checks whether anything is currently playing.
This is useful because headphone buttons automatically use the current "preferred" media player on your device, which is usually the most recently used one, instead of any one specific player.
I use this to restart whatever was playing last when I plug in my headphones. It's nice that Android automatically pauses when they're unplugged, but it's annoying to have to unlock the screen, navigate through the player app, and press play again. Add a Locale situation with headphones connected as the condition and this plugin with "Play/Pause" as the setting, and voila, your music or podcast automatically restarts when you plug your headphones back in!
Warning: some media player apps don't handle headphone buttons consistently, or even at all, even built-in apps. If this plugin doesn't work with a specific app, check that it supports the headphone button you've selected, and/or try other buttons.
</div> <div jsname="WJz9Hc" style="display:none">Un plugin Locale que simula presionando el botón de auriculares para auriculares o. Botones disponibles son el ejemplo de un solo botón auricular "gancho", Reproducir / Pausa, Reproducir, Pausa, Siguiente, Anterior, Avance rápido, rebobinado, parada. También opcionalmente comprueba si algo se está reproduciendo.
Esto es útil ya que los botones de auriculares utilizan automáticamente la corriente de "preferido" reproductor multimedia en el dispositivo, que suele ser el más utilizado recientemente uno, en lugar de un solo jugador específico.
Lo utilizo para reiniciar lo jugaba última cuando enchufo mis auriculares. Es bueno que Android se detiene automáticamente cuando están desconectados, pero es molesto tener que desbloquear la pantalla, navegar por la aplicación de reproductor y presione jugar de nuevo. Añadir una situación Locale con los auriculares conectados como la condición y este plugin con "Play / Pause" como ajuste, y listo, tu música o un podcast se reinicia automáticamente cuando conecte los auriculares de vuelta en!
Advertencia: algunas aplicaciones de medios jugador no manejan botones auriculares constantemente, o incluso en absoluto, incluso incorporado en aplicaciones. Si este plugin no funciona con una aplicación específica, compruebe que es compatible con el botón de los auriculares que ha seleccionado, y / o que pruebe otros botones.</div> <div class="show-more-end">