Re: How to start mplayer with radio (.pls) url over ssh and have it play?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 7/1/24 12:49, Edward Toroshchyn wrote:
Then try `mplayer -ao alsa:device=hw=2` (again, 2 is the card number).

Hah!,

  That worked:

$ mplayer -ao alsa:device=hw=0 -loop 0 -playlist http://playerservices.streamtheworld.com/pls/KDAQHD2.pls

Though I'm quite curious why since this is card 0, it wasn't selected by default the first time I tried?

This may be the result of me having started fluxbox desktop and X triggering the sound setup. I only have one sound card (and it's Alt on device:2)

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD1984A Analog [AD1984A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: AD1984A Alt Analog [AD1984A Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I'm also not sure just what X starts as far as the sound system goes as I use startx to launch fluxbox, so there isn't any desktop manager launching the desktop. All I do is launch the pulse-audio systray volume app on fluxbox startup, e.g. in ~/.fluxbox/startup:

## pulse-audio volume control
pasystray=$(type -p pasystray)
[ -x "$pasystray" ] && "$pasystray" &

Next reboot I'll try ssh and mplayer start as above and see if it will work without any X desktop having been previously started.

  Thank you for your help!

--
David C. Rankin, J.D.,P.E.




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux