Browse Source

Add a playlist screen on the List key

The whole MPD queue, one song per line as "N. artist - title [m:ss]",
with artist and/or title truncated to fit. It opens with the current song
selected and centered; up/down move the selection, OK plays it, and
Menu, Esc, List or 30 s without a key close it. While it is open the
queue is refetched on MPD's playlist idle event.

The selection is a gray bar (level 1 background, level 2 edges) when the
panel has more than 1 bpp, inverted otherwise; the DRM frontend reads the
driver's bpp parameter. The simulator now shows 1 bpp black as black.
k4be 2 tuần trước cách đây
mục cha
commit
fd898b0e4b
1 tập tin đã thay đổi với 7 bổ sung và 0 xóa
  1. 7 0
      README.md

+ 7 - 0
README.md

@@ -61,6 +61,13 @@ or through the DRM driver:
     ./radio-ui i2c --bus N --host radio.lo
     ./radio-ui i2c --bus N --host radio.lo
     ./radio-ui drm --host radio.lo
     ./radio-ui drm --host radio.lo
 
 
+On the main screen the keys are prev/play/pause/stop/next, up/down for the
+volume and Esc to refresh. List opens the playlist: the whole MPD queue, the
+current song centered and selected. Up/down move the selection, OK plays it,
+and Menu, Esc, List or 30 s without a key go back. With more than 1 bpp the
+selection is a gray bar, otherwise inverted. The transport keys keep working
+there.
+
 `--bus` must name a known adapter; motherboard and display buses are always
 `--bus` must name a known adapter; motherboard and display buses are always
 refused. Only use the bus number of the adapter the panel is wired to.
 refused. Only use the bus number of the adapter the panel is wired to.
 `./radio-ui FRONTEND --help` lists all options.
 `./radio-ui FRONTEND --help` lists all options.