It's so great to see active player-firmware development!

Some time ago, I wanted to learn lua and squeezeos, so I came up with
two little UX-improvement tasks to do as an introduction to the language
and the codebase.  It's been years, though, and I haven't done them. 
Sigh.  But now that you folks are working on Radio issues, maybe you'd
also like to make my changes while you're in there?

The first one is a minor bug:


In Settings:Advanced:Beta Features:Shortcuts, each shortcut has
a default setting that should be identified with the string "(default)",
and initially also with a checkmark.  But although the "Right Button
Touch" shortcut does have a default -- "Now Playing" -- it isn't
identified.  Furthermore, if the Right Button Touch shortcut is manually
set to its "Now Playing" default, the shortcut will be inaccurately
displayed in the Shortcuts list as having a "custom" setting. 

Fix the bug with this one-line change:


Code:
--------------------
    --- 
./original/squeezeplay-public-7.8/src/squeezeplay/share/applets/Shortcuts/ShortcutsMeta.lua
  2012-07-17 01:54:56.000000000 -0700
  +++ 
./new/squeezeplay-public-7.8/src/squeezeplay/share/applets/Shortcuts/ShortcutsMeta.lua
   2020-06-21 09:03:00.441079139 -0700
  @@ -34,7 +34,7 @@
  actionActionMappings = {
  ["title_left_press"]  = "back",
  ["title_left_hold"]  = "go_home",
  -                       ["title_right_press"]  = "go_now_playing",
  +                       ["title_right_press"]  = "go_now_playing_or_playlist",
  ["title_right_hold"]  = "go_playlist",
  ["home_title_left_press"]  = "power",
  ["home_title_left_hold"]  = "power",
--------------------


The next one is a feature request.  It's a little thing, but I think it
will make the UX slightly more pleasant for people who use a Controller,
Touch, or Radio to control multiple players:


In Settings:Advanced:Beta Features:Shortcuts, I'd like "Choose
Player" to be added to the list of action choices for at least the "Home
Left Button Touch" and "Right Swipe" shortcuts (i.e., for the
"home_title_left_press" and "GESTURE_L_R" mappings).  I think the
appropriate function for that action is in
SelectPlayerApplet.lua.


------------------------------------------------------------------------
fastfwd's Profile: http://forums.slimdevices.com/member.php?userid=62073
View this thread: http://forums.slimdevices.com/showthread.php?t=111663

_______________________________________________
Radio mailing list
Radio@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to