On Friday 24 September 2010 10:00 PM, Yohan Pereira wrote:
On Friday 24 September 2010 7:47:05 pm Rony wrote:
Yes. I think it is the permission thing that Rajeev has mentioned.
Probably .. but why would it continue? woudnt it just quit with an error msg the first time?
The user is part of the audio group and has permission to use sound. However the login is necessary. A simple solution would be to add some lines in the script to login into a shell and then play the music as user.
when i used pulseaudio(ubuntu) it used to do stuff like say your listening to music, and you switch to another user (or a tty logged in as another user for that matter) it would mute the output stream from the music player, and continue when you switch back.
What I noticed was that when I was playing a song on youtube and the cron job coincided with it and I was hearing 2 different songs playing together. My system Ubuntu 10.04.