Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #184501
| From | "Juan R. de Silva" <juan.r.d.silva@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Problem pulseaudio |
| Date | 2017-08-01 20:50 +0200 |
| Message-ID | <u9KoW-7AC-3@gated-at.bofh.it> (permalink) |
| References | <u9AIW-P3-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 permanently in the MPlayer screen. > > > I use a fresh testing. > > > I have just changed to mpv. Here no such logs after crontab, but still > no sound. > > > How can I get more logs? Should I reportbug to mpv or pulseaudio? Where > could I check? Not a permission problem on Pulseaudio as cron user would > run mpv instead of my regular user? > 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_username/full_path_goes_here/play_something.sh play_something.sh contained actual bash command to run vlc with path to an mp3 file to play. This way vlc get the required environment variable set by desktop session.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Problem pulseaudio MENGUAL Jean-Philippe <mengualjeanphi@free.fr> - 2017-08-01 10:30 +0200
Re: Problem pulseaudio Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-01 14:20 +0200
Re: Problem pulseaudio Nicolas George <george@nsup.org> - 2017-08-01 20:50 +0200
Re: Problem pulseaudio MENGUAL Jean-Philippe <mengualjeanphi@free.fr> - 2017-08-01 22:20 +0200
Re: Problem pulseaudio MENGUAL Jean-Philippe <mengualjeanphi@free.fr> - 2017-08-02 08:40 +0200
Re: Problem pulseaudio "Juan R. de Silva" <juan.r.d.silva@gmail.com> - 2017-08-02 16:50 +0200
Re: Problem pulseaudio "Juan R. de Silva" <juan.r.d.silva@gmail.com> - 2017-08-01 20:50 +0200
csiph-web