clients:cvlc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| clients:cvlc [2022/05/19 21:25] – Sean Rhone | clients:cvlc [2024/08/13 18:39] (current) – removed Sean Rhone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Information ====== | ||
| - | * Headless VLC setup using cvlc | ||
| - | * Plays internet radio | ||
| - | * [[# | ||
| - | |||
| - | ====== Prerequisites ====== | ||
| - | |||
| - | * [[Distros: | ||
| - | |||
| - | ====== Dependencies ====== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo apt install ' | ||
| - | |||
| - | ====== Volume ====== | ||
| - | |||
| - | **** | ||
| - | |||
| - | alsamixer | ||
| - | |||
| - | ====== Service ====== | ||
| - | |||
| - | * If [[servers: | ||
| - | * See [[information: | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | < | ||
| - | [Unit] | ||
| - | Description=VLC Headless Internet Radio Player | ||
| - | After=network-online.target pihole-FTL.service | ||
| - | Wants=network-online.target | ||
| - | |||
| - | [Service] | ||
| - | Type=simple | ||
| - | User=pi | ||
| - | Group=pi | ||
| - | Restart=always | ||
| - | RestartSec=5 | ||
| - | |||
| - | #~~~~~~~~~~ | ||
| - | # Big B Radio #KPOP | ||
| - | # | ||
| - | #~~~~~~~~~~ | ||
| - | # Blue Heron Radio | ||
| - | # | ||
| - | #~~~~~~~~~~ | ||
| - | # Gensokyo Radio | ||
| - | # | ||
| - | #~~~~~~~~~~ | ||
| - | # TRAP.FM | ||
| - | ExecStart=/ | ||
| - | #~~~~~~~~~~ | ||
| - | # Dubbase.FM | ||
| - | # | ||
| - | #~~~~~~~~~~ | ||
| - | # DrumandBass.FM | ||
| - | # | ||
| - | # | ||
| - | |||
| - | ProtectSystem=true | ||
| - | PrivateTmp=true | ||
| - | ProtectKernelTunables=true | ||
| - | ProtectKernelModules=true | ||
| - | ProtectControlGroups=true | ||
| - | RestrictNamespaces=true | ||
| - | MemoryDenyWriteExecute=true | ||
| - | RestrictRealtime=true | ||
| - | NoNewPrivileges=true | ||
| - | PrivateUsers=true | ||
| - | LockPersonality=true | ||
| - | |||
| - | [Install] | ||
| - | WantedBy=multi-user.target</ | ||
| - | |||
| - | ====== Remote Actions ====== | ||
| - | |||
| - | ===== Station Change ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | ssh ' | ||
| - | |||
| - | ===== Stop ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | ssh ' | ||
| - | |||
| - | ===== Start ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | ssh ' | ||
| - | |||
| - | ====== Chromecast Notes ====== | ||
| - | |||
| - | * :!: Both Windows Firewall and firewalld from openSUSE TW actively block this; TODO: Figure out firewall rules | ||
| - | * Create speaker Group (not pair) and add all speakers to it | ||
| - | * Install PyChromecast | ||
| - | * Use it to scan for the speaker group URL and port | ||
| - | * https:// | ||
| - | |||
| - | pip3 install PyChromecast | ||
| - | |||
| - | python | ||
| - | |||
| - | import pychromecast | ||
| - | |||
| - | chromecasts = pychromecast.get_chromecasts() | ||
| - | |||
| - | chromecasts | ||
| - | |||
| - | vlc.exe " | ||
/usr/local/www/wiki/data/attic/clients/cvlc.1653009946.txt.gz · Last modified: by Sean Rhone
