-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Headless doesn’t work on Ubuntu/Lubuntu #338
Comments
Thank you. Close this I guess. That explains it. I didn’t know that those browsers are not supported. |
another thought though… |
Yeah, agree this is not very clear at all. I'll try to add some browser detection. Ideally I can get this fixed the right way though... at least in Safari because I'd like to see iOS support eventually. |
Finally made it work on Ubuntu/Lubuntu 24.04 and it works as intended when launched manually.
Does not work headless though. Consistently, replicates every single time.
Start headlessly (./pikaraoke.sh --headless)
It starts and the terminal window shows log and progress
Various browsers connect to the web interface just fine, on the local computer and on remote computers.
Tried with /splash and without.
Without /splash it “plays” (only visually, without sound) for approx 5 seconds then stops. The log in the terminal window says:
===
INFO: Playing file: /home/user/pikaraoke-songs/[song name].mp4 transposed 0 semitone
ERROR: Stream was not playable! Run with debug logging to see output. Skipping track
INFO: Song ending: [song name]
===
The lack of sound is expected without the splash but terminating after 5 seconds is not.
When trying with /splash it does exactly the same with the same messages in the log in the terminal screen with the exception that there is actually sound for those first 5 seconds of the song.
I tried exact same songs that are already downloaded and which play well when manually started in a headed way: ./pikaraoke.sh so I know for sure that the same software can play those songs just fine, when it’s not in the headless mode.
Hardware: a laptop with older Intel processor.
OS: Lubuntu 24.04 and 22.04
Browsers: all those that I tried, including Google chrome remotely on iPhone and Firefox on local laptop.
The text was updated successfully, but these errors were encountered: