adafruit / pi_video_looper

Application to turn your Raspberry Pi into a dedicated looping video playback device, good for art installations, information displays, or just playing cat videos all day.
GNU General Public License v2.0
443 stars 240 forks source link

Audio won't work without monitor #187

Closed jegskjonnerikke closed 9 months ago

jegskjonnerikke commented 1 year ago

I am having trouble with using the looper just for audio. It won't play without a monitor connected to the hdmi-port. I am currently using it with a DAC (IQaudIO Pi-DAC Pro). Is there any way of solving this issue, so it can loop audio only?

tofuSCHNITZEL commented 1 year ago

Hi, I have a suspicion what the problem could, be that it does not run without a HDMI connected... could you provide the log files? (see https://github.com/adafruit/pi_video_looper#troubleshooting) and can you confirm is also does not output anything on the 3.5mm jack? cheers

tofuSCHNITZEL commented 9 months ago

could you maybe change your code like this and see if it plays audio then: https://github.com/adafruit/pi_video_looper/commit/8a5f43952a6d4ded215e03d8873bed2a704e26ad this should enable the whole thing to run even if no monitor is connected