Re: Problem pulseaudio

2017-08-02 Thread Juan R. de Silva
On Wed, 02 Aug 2017 08:34:52 +0200, MENGUAL Jean-Philippe wrote: > Hi, > > > I confirm, it works perfectly. Mqny thanks Juan Glad to it helped.

Re: Problem pulseaudio

2017-08-01 Thread MENGUAL Jean-Philippe
Hi, I confirm, it works perfectly. Mqny thanks Juan Regards Le 01/08/2017 à 20:47, Nicolas George a écrit : > Le quartidi 14 thermidor, an CCXXV, Juan R. de Silva a écrit : >>> If I run mplayer in CLI, everything is good. If cron does it, no sound. >> I had a similar problem when wanted to ru

Re: Problem pulseaudio

2017-08-01 Thread MENGUAL Jean-Philippe
Hi, You probably are right, Nicolas, that is what I thought at first reading. However I tried. And it seems to work. I will try in more various situations and let you informed of the success of the thing. Many thanks Juan. Best regards, Le 01/08/2017 à 20:47, Nicolas George a écrit : > Le quart

Re: Problem pulseaudio

2017-08-01 Thread Nicolas George
Le quartidi 14 thermidor, an CCXXV, Juan R. de Silva a écrit : > > If I run mplayer in CLI, everything is good. If cron does it, no sound. > I had a similar problem when wanted to run vlc in a crontab. The solution > was to execute in crontab the following command: > > env DISPLAY=:0 /home/your_u

Re: Problem pulseaudio

2017-08-01 Thread Juan R. de Silva
On Tue, 01 Aug 2017 08:30:57 +0200, MENGUAL Jean-Philippe wrote: > Hi, > > > My purpose is to run mplayer in a crontab. My line: > > 00 00 * * * mplayer file > > > If I run mplayer in CLI, everything is good. If cron does it, no sound. > And log is: Audio becomes stuck! > > > displayed perm

Re: Problem pulseaudio

2017-08-01 Thread Greg Wooledge
On Tue, Aug 01, 2017 at 08:30:57AM +0200, MENGUAL Jean-Philippe wrote: > My purpose is to run mplayer in a crontab. My line: > > 00 00 * * * mplayer file But your *Subject* header says "Problem pulseaudio". I presume this means you are using pulseaudio. When you invoke mplayer from cron, it doe