Peter Galbavy wrote: 
> I think, technical issues around timing aside as that's beyond me,
> following the media key settings in the app is the best way, so if they
> are "Auto" then follow the current selected player, or a specific one if
> not etc. This also then feeds back to the user if they press "Next" on
> their keyboard the taskbar updates. "The law of least astonishment" and
> all that.
> 
> The truncation of the test is OK with me, it's just a "hint" after all.
> 
> Also worth mentioning in any docs that if the app is running minimised
> then the taskbar goes quiet - I think that's a Windows limitation
> anyway.
> 
> Peter

I have this sorta working.

Yes, following media keys make intuitive sense.  If they are off, then
it would default to the local player if enabled the browser player
otherwise.

I decided to add the player name to the hint/hover popup, and now I'm
wondering if it might make even more sense to just show the player in
the taskbar button rather than the track title.  Still thinking about
that.

Yes, when you close the main window (when Allow Run in Background is
enabled), the taskbar icon no longer exists.  But minimizing to the
taskbar still keeps the taskbar alive.  This is also the case when you
open the minibrowser (since it closes the main window).  So progress
metering does not work for the minibrowser (at least not yet).  

Right now, I don't have a good way to detect when the player is changed
when using Material Skin, so I have to poll and I would rather avoid
that.  With the default skin, I get an event that fires from the browser
when a cookie changes, but Material Skin does not use cookies and now
event fires that tells me the player selection has changed.

I'll keep thinking/working on it.

R Greg Dawson



Squeezelite-X
------------------------------------------------------------------------
rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=108550

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to