mirror of
https://github.com/deunix-educ/mediadeck.git
synced 2026-11-25 04:39:42 +01:00
Merge the Playing and Sound tabs; keep the volume bar always visible
- One "Playing" tab: the MPRIS player, then a volume bar (mute, master volume, button showing the active output). Frees a slot in the tab bar (4 tabs) - The output list opens as a floating window above the bar (button, outside click or Escape closes it), so it never moves or squeezes the player - Layout: the player takes the remaining height and scrolls inside its own area if needed; the bar stays at the bottom whatever the height. The cover is sized from the available height (cqh). Height steps for short screens; the output name is hidden on phones - Fix: the cover's drop shadow greyed the title in portrait - A stored "audio" tab falls back to "player"; WebSocket protocol unchanged Checked in headless Chromium with a mock server (landscape 1280x800 down to 800x412, portrait, phone; with/without player and audio; interactions; no JS errors). Not tried on the real tablet. README fr/en and CLAUDE.md updated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@ Le PC exécute un petit pont Python ; la tablette n'a besoin que d'un navigateur
|
||||
| Onglet | Contenu | Côté PC |
|
||||
|---|---|---|
|
||||
| **Lecture** | Pochette, titre, progression, lecture/pause, suivant/précédent, aléatoire, répétition, volume du lecteur, choix du lecteur | MPRIS (D-Bus de session) : Elisa, VLC, mpv, Firefox, Chromium, Spotify, Kodi… |
|
||||
| **Son** | Volume principal, sourdine, choix de la sortie (HDMI, Bluetooth…) et volume par sortie | `pactl` (PipeWire ou PulseAudio) |
|
||||
| | **Barre de volume** sous le lecteur : volume principal, sourdine ; le bouton de la sortie active ouvre une fenêtre avec le choix de la sortie (HDMI, Bluetooth…) et le volume par sortie ; la barre reste toujours visible | `pactl` (PipeWire ou PulseAudio) |
|
||||
| **Pavé** | Pavé tactile (clic, clic droit, défilement 2 doigts), croix directionnelle, Échap, Espace, F, F11…, saisie de texte avec le clavier de la tablette | `/dev/uinput` : fonctionne sous X11 **et** Wayland |
|
||||
| **Lanceurs** | Boutons configurables : sites web et applications installées (page `/admin`) | navigateur, `gio launch` |
|
||||
| **Système** | Verrouillage, veille, redémarrage, extinction (appui long 1 s) : opérations délicates, séparées des lanceurs | logind, `org.freedesktop.ScreenSaver` |
|
||||
|
||||
Reference in New Issue
Block a user