Re: Running a music player via cron

2019-10-02 Thread Alexandre Rossi
Hi, > >> Playing: http://direct.franceinfo.fr/live/franceinfo-midfi.mp3 > >>  (+) Audio --aid=1 (mp3 1ch 44100Hz) > >> ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave > >> [ao/alsa] Playback open error: Device or resource busy > >> [ao/oss] Can't open audio device /dev/dsp: Devic

Re: Running a music player via cron

2019-09-30 Thread Greg Wooledge
On Sat, Sep 28, 2019 at 07:13:32AM +0200, Jean-Philippe MENGUAL wrote: > > You might want to check by adding this part to your script (before the > > part "echo CTRL+C to..."): > > > > proc=`fuser /dev/dsp| awk "{print $2}"` > > if [ -n ${proc+x} ]; then > > ps auxww | awk '($2

Re: Running a music player via cron

2019-09-27 Thread Jean-Philippe MENGUAL
Hi, > >> setleds: Error reading current flags setting. Maybe you are not on the >> console?: ioctl KDGKBLED: Ioctl() inapproprié pour un périphérique > > Seems you're not logged in. > The "setleds +num" works only, if you're logged in, e.g. having a > window manager running. hmmm strange, as I

Re: Running a music player via cron

2019-09-26 Thread A . Söldner
To listen music under bash I always use cvlc from program vlc. Maybe a other possibility. Regards Am 25.09.2019 um 17:24 schrieb Jean-Philippe MENGUAL: Hello, Since some Sid update (about 2 weeks), something may have happent in te audio stack or the terminal because what worked no longer work

Re: Running a music player via cron

2019-09-25 Thread Jean-Philippe MENGUAL
>> > > Are you running the command under the 'jp' user? Yes, it is the jp crontab. And it works if I run as jp manually. Best regards > > -- > John Doe >

Re: Running a music player via cron

2019-09-25 Thread john doe
On 9/25/2019 5:24 PM, Jean-Philippe MENGUAL wrote: > Hello, > > Since some Sid update (about 2 weeks), something may have happent in te > audio stack or the terminal because what worked no longer works. > > So I am under Sid, MATE desktop, via lightdm, pulseaudio, > systemd, etc. Ont minor thing is