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.
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.