• bookworm multimedia scripts silent in console but play in mate-terminal

    From Jude DaShiell@21:1/5 to All on Thu Apr 13 22:50:02 2023
    Here's one script that works that way. Standard package install choices
    were done desktop environment, mate, and standard utilities.
    An install with only standard utilities and no desktop environment and no
    mate prevents this script from playing at all.
    Mpv is already installed on this machine too.
    #!/usr/bin/env bash
    # file: wdvr.sh - shell script tune into wdvr
    station="https://wdvrfm.org/live"
    mpv --really-quiet $station

    --
    Jude <jdashiel at panix dot com>
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo.
    Please use in that order."
    Ed Howdershelt 1940.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Ritter@21:1/5 to Jude DaShiell on Thu Apr 13 23:10:01 2023
    Jude DaShiell wrote:
    Here's one script that works that way. Standard package install choices
    were done desktop environment, mate, and standard utilities.
    An install with only standard utilities and no desktop environment and no mate prevents this script from playing at all.

    #!/usr/bin/env bash
    # file: wdvr.sh - shell script tune into wdvr station="https://wdvrfm.org/live"
    mpv --really-quiet $station

    My initial guess is that mpv is trying to play through
    PulseAudio, or via ALSA in a way which requires mpv to have sole
    control of ALSA (and that control is not available).

    --audio-device=help (and then setting an appropriate driver)
    might help.

    -dsr-

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jude DaShiell@21:1/5 to Dan Ritter on Fri Apr 14 00:30:01 2023
    Pipewire is now on this machine since this didn't work with pulseaudio
    either.


    -- Jude <jdashiel at panix dot com> "There are four boxes to be used in
    defense of liberty: soap, ballot, jury, and ammo. Please use in that
    order." Ed Howdershelt 1940.

    On Thu, 13 Apr 2023, Dan Ritter wrote:

    Jude DaShiell wrote:
    Here's one script that works that way. Standard package install choices were done desktop environment, mate, and standard utilities.
    An install with only standard utilities and no desktop environment and no mate prevents this script from playing at all.

    #!/usr/bin/env bash
    # file: wdvr.sh - shell script tune into wdvr station="https://wdvrfm.org/live"
    mpv --really-quiet $station

    My initial guess is that mpv is trying to play through
    PulseAudio, or via ALSA in a way which requires mpv to have sole
    control of ALSA (and that control is not available).

    --audio-device=help (and then setting an appropriate driver)
    might help.

    -dsr-


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)