Um einen Netzwerk Audio Stream per Shell aufzurufen, kann das Tool "mpv" verwendet werden.
Nachfolgend ein Beispiel des Befehls mit Wahl des Audio Ausgabe Devices und Lautstärke Regelung:
$ mpv --audio-device='alsa/dmix:CARD=Audio,DEV=0' https://dispatcher.rndfnk.com/hr/hr3/live/mp3/high --volume=60
Die Verfügbaren Audio Devices können mit folgendem Befehl aufgelistet werden:
$ mpv --audio-device=help
Die Ausgabe in etwa so aus:
List of detected audio devices:
'auto' (Autoselect device)
'pulse/auto_null' (Dummy-Ausgabe)
'alsa' (Default (alsa))
'alsa/lavrate' (Rate Converter Plugin Using Libav/FFmpeg Library)
'alsa/samplerate' (Rate Converter Plugin Using Samplerate Library)
'alsa/speexrate' (Rate Converter Plugin Using Speex Resampler)
'alsa/jack' (JACK Audio Connection Kit)
'alsa/oss' (Open Sound System)
'alsa/upmix' (Plugin for channel upmix (4,6,8))
'alsa/vdownmix' (Plugin for channel downmix (stereo) with a simple spacialization)
'alsa/plughw:CARD=Audio,DEV=0' (USB Audio, USB Audio/Hardware device with all software conversions)
'alsa/plughw:CARD=Audio,DEV=1' (USB Audio, USB Audio #1/Hardware device with all software conversions)
'alsa/plughw:CARD=Audio,DEV=2' (USB Audio, USB Audio #2/Hardware device with all software conversions)
'alsa/plughw:CARD=Audio,DEV=3' (USB Audio, USB Audio #3/Hardware device with all software conversions)
'alsa/sysdefault:CARD=Audio' (USB Audio, USB Audio/Default Audio Device)
'alsa/front:CARD=Audio,DEV=0' (USB Audio, USB Audio/Front output / input)
'alsa/surround21:CARD=Audio,DEV=0' (USB Audio, USB Audio/2.1 Surround output to Front and Subwoofer speakers)
'alsa/surround40:CARD=Audio,DEV=0' (USB Audio, USB Audio/4.0 Surround output to Front and Rear speakers)
'alsa/surround41:CARD=Audio,DEV=0' (USB Audio, USB Audio/4.1 Surround output to Front, Rear and Subwoofer speakers)
'alsa/surround50:CARD=Audio,DEV=0' (USB Audio, USB Audio/5.0 Surround output to Front, Center and Rear speakers)
'alsa/surround51:CARD=Audio,DEV=0' (USB Audio, USB Audio/5.1 Surround output to Front, Center, Rear and Subwoofer speakers)
'alsa/surround71:CARD=Audio,DEV=0' (USB Audio, USB Audio/7.1 Surround output to Front, Center, Side, Rear and Woofer speakers)
'alsa/iec958:CARD=Audio,DEV=0' (USB Audio, USB Audio/IEC958 (S/PDIF) Digital Audio Output)
'alsa/iec958:CARD=Audio,DEV=1' (USB Audio, USB Audio #1/IEC958 (S/PDIF) Digital Audio Output)
'alsa/dmix:CARD=Audio,DEV=0' (USB Audio, USB Audio/Direct sample mixing device)
'alsa/dmix:CARD=Audio,DEV=1' (USB Audio, USB Audio #1/Direct sample mixing device)
'alsa/dmix:CARD=Audio,DEV=2' (USB Audio, USB Audio #2/Direct sample mixing device)
'alsa/dmix:CARD=Audio,DEV=3' (USB Audio, USB Audio #3/Direct sample mixing device)
'alsa/usbstream:CARD=Audio' (USB Audio/USB Stream Output)
'jack' (Default (jack))
'sdl' (Default (sdl))