ES
apps/winzik / forms / CastForm.form.yaml · commit 6576d6f
# Caster sur la TV (App\Cast\Cast): the screens of the network, streaming or the WinZik TV screen, its address + QR code.form:  title: 'Caster sur la TV'  dialog: true  width: 620  theme: dark  accent: '#ffd84a'  gap: 8  children:    - type: row      gap: 8      children:        - {type: label, text: 'Caster la musique et les paroles sur la TV', bold: true, color: '#ffd84a', wrap: false}        - {type: spacer}        - {type: label, id: state, text: '', style: small, wrap: false}    - {type: label, id: now, text: '', bold: true}    - {type: listbox, id: devices, height: 130}    - type: row      gap: 8      children:        - {type: button, id: search, text: 'Rechercher les TV', events: {click: onSearchClick}}        - {type: label, id: found, text: '', style: small, grow: 1}    - {type: radio, id: modeStream, text: 'Streaming : la TV joue la musique, les paroles restent ici (Cast, DLNA)', group: mode, checked: true}    - {type: radio, id: modeInterface, text: "Interface : l'écran WinZik sur la TV (pochette, paroles karaoké), télécommandé d'ici", group: mode}    - type: row      gap: 8      children:        - {type: button, id: connect, text: 'Caster', style: primary, default: true, events: {click: onConnectClick}}        - {type: button, id: browser, text: 'Écran WinZik dans le navigateur de la TV', events: {click: onBrowserClick}}        - {type: spacer}        - {type: button, id: disconnect, text: 'Arrêter', events: {click: onDisconnectClick}}    - type: row      gap: 8      children:        - {type: button, id: vlc, text: 'Flux pour VLC', events: {click: onVlcClick}}        - {type: checkbox, id: vlcVideo, text: 'En vidéo, avec la pochette et les paroles karaoké (ffmpeg du PC)'}    - type: row      gap: 8      children:        - {type: label, text: 'Karaoké sur la TV :', wrap: false}        - {type: combobox, id: karaokeStyle, width: 150, events: {change: onKaraokeStyleChange}}        - {type: label, text: 'Qualité vidéo :', wrap: false}        - {type: combobox, id: quality, width: 150, events: {change: onQualityChange}}    - {type: checkbox, id: mediaServer, text: "Visible dans VLC et les TV du réseau (serveur multimédia « WinZik (PC) »)", events: {change: onMediaServerChange}}    - type: row      id: tvPanel      gap: 12      visible: false      children:        - {type: image, id: qr, width: 150, height: 150}        - type: column          grow: 1          gap: 6          children:            - {type: label, id: tvHint, text: 'Sur la TV (ou une console, une tablette), ouvrez le navigateur et tapez :', style: small}            - {type: textbox, id: tvUrl, readonly: true}            - {type: label, id: tvHint2, text: "Ou visez ce QR code avec l'appareil photo d'une tablette. Télécommande de la TV : OK lecture / pause, flèches gauche / droite : morceau, haut / bas : ±10 s.", style: small}    - type: row      gap: 8      children:        - {type: label, text: 'App ID Google Cast :', width: 150, wrap: false}        - {type: textbox, id: appId, width: 120, maxLength: 8, placeholder: 'facultatif', events: {submit: onAppIdSubmit}}        - {type: button, id: saveAppId, text: 'Enregistrer', events: {click: onAppIdClick}}    - {type: label, text: "Sans App ID, une TV Google Cast reçoit la musique (lecteur de Google) avec les paroles en sous-titres. Avec l'App ID de votre récepteur WinZik (console Google Cast SDK, 5 $ une fois), elle affiche l'écran WinZik complet. Une TV DLNA : streaming seulement.", style: small}    - type: row      children:        - {type: label, id: status, text: '', style: small, grow: 1}        - {type: button, id: quit, text: Fermer, cancel: true, events: {click: onQuitClick}}