View Issue Details

IDProjectCategoryView StatusLast Update
0010865MMAPlaybackpublic2018-08-02 17:01
Reporterrusty Assigned To 
PriorityurgentSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product Version1.0.4 
Target Version2.2.0 
Summary0010865: Ability to control player when screen is off
DescriptionIt should be possible to remap various physical buttons / actions (esp. headset buttons) so that the user is able to customize control the player even when the screen is off.

For example,
- Sony Experia Pro phone comes with a headset that has a single button (Play/Pause). It works fine for MMA, but on other players, it's possible to customize the behavior so that e.g. double-click of the button advances a track.
- Samsung phones come with headsets with 3 buttons (+ volume / - volume / Play/Pause). Again, all three functions work fine in MMA, but it should be possible to change the behaviour so that e.g. + advances a track, double-click of plus increases volume, etc...
- Also, if a headset doesn't have buttons, shaking the device can be used to play/pause

Proposed 'hotkeys' that should be mappable:
1) Headset volume up (single/double/triple click, hold)
2) Headset volume down (single/double/triple click, hold)
3) Headset play/pause (single/double/triple click, hold)
4) Shake

Proposed actions that should be available:
a) play/pause
b) Volume Up
c) Volume Down
d) Next
e) Previous
f) Fast forward
g) Rewind
/Down (on headset): mapped to prev/next
Double-click play/pause (on headset): next
etc...

If implemented, we need to be careful about how the buttons behave when MM isn't active (e.g. if a phone call comes in).

As far as a UI goes, we can make it fully customizable OR keep it simple and limit behaviors as follows:

Volume -/+ Buttons: hardcoded to:
Single click: vol down/up
Double click: prev/next
Hold: rewind/forward

Play/Pause button: hardcoded to:
Single click: play/pause
Double click: next
Triple click: back

Shake up: prev
Shake down: next

If we go with this simplified proposal, we could limit the UI to e.g.:

Custom player controls
[x] Customize headset buttons
 . . Double-click to switch tracks. Hold to fast forward/rewind.
[ ] Shake to switch tracks
 . . Shake up/down to go to previous/next track

Until this is implemented, user can utilize apps such as:
https://play.google.com/store/apps/details?id=com.kober.headset
Additional InformationTicket: TQG-149312
http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=70130

http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=78976&p=401321
TagsNo tags attached.
Fixed in build

Relationships

related to 0010193 new Start/Resume playing when you plug in headphones 
has duplicate 0010184 resolvedrusty Ability to customize Gestures on Device hardware keys 
related to 0011921 closedmartin Double-click on Play/Pause headset button should advance to next track 
related to 0012086 closedmarek Summary: Refactor and improvements of playback 

Activities

There are no notes attached to this issue.