Lock screen player always on [#11033]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Lock screen player always on [#11033]

Re: Lock screen player always on [#11033]

by mcow » Thu Oct 17, 2013 10:10 pm

My recollection is that MMA is still running: I've just parked the car and I wake it up prior to shutting off the car stereo.
If I catch it in this again, I'll try to remember to send a log.

Re: Lock screen player always on [#11033]

by rusty » Thu Oct 17, 2013 3:17 pm

"I sometimes wake it up and don't even see that widget..."
Which makes sense if MMA was no longer running. I assume that's the case?

-Rusty

Re: Lock screen player always on [#11033]

by mcow » Wed Oct 16, 2013 11:02 pm

rusty wrote:For Android 4.2+:
Hide the default Android lock screen player [ ]
Hides the default lock screen player in case the user prefers to add the MM Player widget to the lockscreen (by clicking the '+' button on the lockscreen to add a widget).

One other point: the default widget usually only appears if a player is running, and controls the last player that was playing content.
OK.
rusty wrote:So Mcow, you wrote that "I sometimes unlock and don't even see that widget. Even when I do, its buttons don't work: can't pause, can't advance. This is on the Galaxy Tab with JB 4.2.2. ". I'm not sure what this means because the Widget should appear _before_ you unlock (not after). So the reason it might not appear is because MMA wasn't running (you can change how long it runs after exiting the app). Re. the failure to function when it does appear on the lock screen, could it be that it isn't working because MMA wasn't the last player to play content?

-Rusty
Ow, my bad. I meant, "I sometimes wake it up and don't even see that widget..."

Re: Lock screen player always on [#11033]

by rusty » Wed Oct 16, 2013 4:31 pm

Let me try to clarify the way it's supposed to work (there are differences in behavior because of api differences in different versions of Android):
For Android < 4.0.3:
Show MediaMonkey when screen is locked [ ]
Enables the MediaMonkey player if the screen is locked. This is the lock screen that looks exactly like MediaMonkey.

For Android 4.0.3- 4.1.x: Implement the following:
Hide the default Android lock screen player [ ]
Disables the default Android controls if the screen is locked (for users who prefer to use the MediaMonkey lock screen player)

Show MediaMonkey when screen is locked [ ]
Enable MediaMonkey player controls if the screen is locked.

Note: the wording was changed to 'hide' since some devices don't offer support for the Android player controls in which case it's misleading for MMA to offer to enable the player.

For Android 4.2+:
Hide the default Android lock screen player [ ]
Hides the default lock screen player in case the user prefers to add the MM Player widget to the lockscreen (by clicking the '+' button on the lockscreen to add a widget).

One other point: the default widget usually only appears if a player is running, and controls the last player that was playing content.

So Mcow, you wrote that "I sometimes unlock and don't even see that widget. Even when I do, its buttons don't work: can't pause, can't advance. This is on the Galaxy Tab with JB 4.2.2. ". I'm not sure what this means because the Widget should appear _before_ you unlock (not after). So the reason it might not appear is because MMA wasn't running (you can change how long it runs after exiting the app). Re. the failure to function when it does appear on the lock screen, could it be that it isn't working because MMA wasn't the last player to play content?

-Rusty

Re: Lock screen player always on [#11033]

by mcow » Sat Oct 12, 2013 1:43 pm

I'm seeing the opposite problem here: the only lockscreen widget I see is the square one (maybe 4×4) that Android puts up by default, and that is not consistent; with MMA playing, I sometimes unlock and don't even see that widget. Even when I do, its buttons don't work: can't pause, can't advance. This is on the Galaxy Tab with JB 4.2.2.

With earlier releases (under JB 4.1.1), the behavior was also inconsistent, but most of the time I saw the full-screen player, and it worked. Sometimes, tho, I saw the widget instead, and it did not work.

I've done a fair amount of investigation and I'm pretty sure there is no way for this stock Tab/4.2.2 configuration to place widgets on the lock screen. I think Samsung just didn't enable the feature for the Tab firmware build.

Re: Lock screen player always on [#11033]

by Absoluteg0 » Sun Oct 06, 2013 5:08 am

I just downloaded the widgetlocker app which allows me to add the mediamonkey widget directly to the lock screen. Best solution I can think of.

Re: Lock screen player always on

by rusty » Sat Oct 05, 2013 8:26 pm

My GS3 has Android 4.1.1 installed and it comes with a MediaPlayer widget on the lock screen. Perhaps it's a customization of the service provider from which it was purchased.

As far as adding widgets to the lock screen, afaik you can do so only with Android 4.2+

-Rusty

Re: Lock screen player always on

by Absoluteg0 » Fri Oct 04, 2013 9:30 pm

Thanks for the reply. Yes, it fails to show if pressing "back" to exit MMA, but not if pressing "home" or opening another app. The lock player also sometimes takes a second or two to appear (just fyi).

"The GS3 has a player widget on the lock screen that works fine with MMA. Out of curiosity, why not just use that?"

I'm not 100% sure what that means... there's a way to add widgets to the lock screen?

Re: Lock screen player always on

by rusty » Fri Oct 04, 2013 11:36 am

iirc, the planned implementation was for the lock screen player to show up only if playback is in progress or recently paused (based on the settings in the notification timer). Looking into this possible regression at http://www.ventismedia.com/mantis/view.php?id=11033

btw, in testing this, I also found that the lock screen player fails to activate if MMA isn't in focus ( http://www.ventismedia.com/mantis/view.php?id=11342 ). Does that occur for you as well ?

p.s. The GS3 has a player widget on the lock screen that works fine with MMA. Out of curiosity, why not just use that?

Thanks.

-Rusty

Re: Lock screen player always on

by Absoluteg0 » Thu Sep 26, 2013 2:04 pm

I'd rather not have the lockscreen player show up every time I unlock my phone, unless music is actually playing. I'd love an option to turn it off when the app is not in use.

Re: Lock screen player always on

by Lowlander » Thu Sep 26, 2013 1:03 pm

I'd expect it to be there as long as MMA is running (even when nothing is playing).

Lock screen player always on [#11033]

by Absoluteg0 » Thu Sep 26, 2013 12:58 pm

First of all I'd like to say that MMA has become by far my favorite android app since the sync issues have been worked out. There is one remaining functionality issue though- the lock screen player.

I'm using MMA .0167 on a Galaxy s3

The lock screen player comes up every time I open the phone, even if no music has been playing for hours. The only way to get it to stop is going into options and turning it off, or forcing the app to close.

Another request I have regarding the lock screen, although a minor one- can there be an option to turn on swipe unlock, bypassing the need to click and then swipe? Like I said, minor, but one I (and probably others?) would love. Thanks!

Top