Jump to content

Recommended Posts

Posted

Hi I'm auto-login using nodm with orange pi. I run my udp.py file by creating a file named udp.desktop under the .etc/xdg/autostart folder at startup. but I need to play the wav file using pygame in the .py file, but I get a warning that the audio device could not be initialized. If I trigger my .py file manually, I can play the wav file without any problems. probably unable to load sound drivers during autostart. Can you help with this.

Posted

Providing logs with 

armbianmonitor -u

 helps with troubleshooting.

 

Just a thought. during our auto start, what if you introduce a delay before attempting to play your wav file. The delay is to give time for things to initialise first.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines