pidora icon indicating copy to clipboard operation
pidora copied to clipboard

No audio with OMXplayer

Open stonewalljones opened this issue 10 years ago • 1 comments

Same issue as #27

I have removed midori from the auto start because I am using the videoloop.sh to open omxplayer to play a video on a loop @ startup.

Autostart

@lxpanel --profile LXDE @pcmanfm --desktop --profile LXDE @xscreensaver -no-splash rm /home/pi/pidora/curSong.json @python /home/pi/pidora/hello.py

@midori -a "http://localhost:8080/" -e Fullscreen

@sh /home/pi/videoloop.sh

stonewalljones avatar Dec 13 '13 01:12 stonewalljones

While I'm not sure what was actually happening in #27 since I didn't have any additional feedback, I think your issue may be different.

The way pianobar uses the audio service can lock it up at times. As in it doesn't play until whatever is coming through the speakers already is finished. And then sometimes it won't let any other audio to play until the audio stream it's playing is complete or until pianobar was killed.

Because Midori is just there to open a webpage; there's no audio coming from it.

I would suggest running your autostart without omxplayer running and see if you have audio then. If you do, it's an issue with pianobar/omxplayer and not something I can debug.

jacroe avatar Feb 21 '14 13:02 jacroe