-
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] Song ending: None #332
Comments
Platform (please complete the following information):
|
ffmpeg version would be useful too |
I'm having the same problem recently on Windows, the first selected song plays normally on the host but when adding new ones while playing the first song, the error is triggered and no other songs enter the sequence. The mobile host displays "nothing is currently playing" and has an empty queue. It is not possible to change the music on the mobile phone because "there is nothing running", in the debug terminal Execution of first song with error (the song continues to play even after the error):
DEBUG activated, attempt to add a new song to the list (While "Tried to skip, but no file is playing" was being displayed, a song was playing):
|
-proxmox vm |
OS: Raspberry Pi OS I carried out the installation and when testing with headless I have had the same problem. [02/Jun/2024:15:14:35] ENGINE Bus STARTING |
It's difficult to tell what's going on specifically for such a wide range of OS combos, but all these sound like issues with ffmpeg version. The versions reported here do not seem like 6.0+, I am not sure how they are being installed but please look at the readme for details on how to install a >6.0 version of ffmpeg https://github.com/vicwomg/pikaraoke?tab=readme-ov-file#installation For Windows, my personal test machine is running 6.1 from https://www.gyan.dev/ffmpeg/builds/ and seems to work. I'd be curious if it does for others. For raspberry pi, bookworm is not recommended. It installs an incompatible version of ffmpeg. Try bullseye per: #323 |
I updated ffmpeg as requested using the link below: Now I'm in this version:
But I still have the same problem when using headless:
In the karake.py file I have this configuration:
|
Apparently, I managed to solve it by making the following changes to the karaoke.py file: ##default_vcodec = "h264_v4l2m2m" if self.platform == "raspberry_pi" else "libx264" Additionally, I made the following changes to the config file: over_voltage=4 |
That's very useful thank you! To be clear, are you overclocking the in order to be able to use libx264? I believe |
@doug14 Also, is this a Pi 5? Which hardware is it? |
@vicwomg Regarding the use of libx264, I got it at #323 . Regarding the vbitrate, I increased it as I tested until I reached a value that would play my videos (I have a base of 140G, 10000 songs). |
Ok, so I have ffmpeg installed via scoop package manager |
Tried installing Raspbian, Debian Server, Ubuntu Server latest iso.
Also manually moving ffmpeg and followed steps,
using ./pikaraoke.sh --headless to run
open ip:5555/splash and can search, download song but getting the "INFO: Song ending: None" error
can anyone share fix?
SETUP:
PROMOX VM
Ubuntu 24.04 Server amd64
Chrome/Vivaldi/Opera
ffmpeg -version
ffmpeg version N-115203-gbaf8651d56-20240513 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 13.2.0 (crosstool-NG 1.26.0.65_ecc5e41)
`
ubuntu@ubuntu:
/pikaraoke$ ./pikaraoke.sh --headless /home/ubuntu/pikaraoke/app.py:617: SyntaxWarning: invalid escape sequence '\S'\pikaraoke\songs")return os.path.join(os.path.dirname(file), ".venv\Scripts\yt-dlp.exe")
/home/ubuntu/pikaraoke/app.py:625: SyntaxWarning: invalid escape sequence '\p'
legacy_directory = os.path.expanduser("
/home/ubuntu/pikaraoke/app.py:629: SyntaxWarning: invalid escape sequence '\p'
return "~\pikaraoke-songs"
[2024-05-13 17:48:58] INFO: Fetching available songs in: /home/ubuntu/pikaraoke-songs/
[13/May/2024:17:48:59] ENGINE Bus STARTING
[2024-05-13 17:48:59] INFO: [13/May/2024:17:48:59] ENGINE Bus STARTING
[13/May/2024:17:48:59] ENGINE Serving on http://0.0.0.0:5555
[2024-05-13 17:48:59] INFO: [13/May/2024:17:48:59] ENGINE Serving on http://0.0.0.0:5555
[13/May/2024:17:48:59] ENGINE Bus STARTED
[2024-05-13 17:48:59] INFO: [13/May/2024:17:48:59] ENGINE Bus STARTED
[2024-05-13 17:48:59] INFO: Starting PiKaraoke!
[2024-05-13 17:48:59] INFO: Connect the player host to: http://192.168.100.15:5555/splash
[2024-05-13 17:49:07] INFO: Song ending: None
[2024-05-13 17:49:16] INFO: 'bb' is adding song to queue: /home/ubuntu/pikaraoke-songs/Song for the Suspect - Franco (Karaoke⧸Instrumental)---GKbmuhYszSM.mp4
[2024-05-13 17:49:19] INFO: Playing file: /home/ubuntu/pikaraoke-songs/Song for the Suspect - Franco (Karaoke⧸Instrumental)---GKbmuhYszSM.mp4 transposed 0 semitones
[2024-05-13 17:49:22] INFO: Song starting: Song for the Suspect - Franco (Karaoke⧸Instrumental)
[2024-05-13 17:49:31] INFO: Song ending: Song for the Suspect - Franco (Karaoke⧸Instrumental)
[2024-05-13 17:49:42] INFO: Song ending: None
[2024-05-13 17:50:24] INFO: Upgrading youtube-dl, current version: 2024.04.09
[2024-05-13 17:50:25] INFO: Latest version: [email protected] from yt-dlp/yt-dlp
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp)
[2024-05-13 17:50:25] INFO: Done. New version: 2024.04.09
[2024-05-13 17:50:41] INFO: Searching YouTube for: queen karaoke
[2024-05-13 17:50:47] INFO: Downloading video: https://www.youtube.com/watch?v=rGTHC4I_JPk
[youtube] Extracting URL: https://www.youtube.com/watch?v=rGTHC4I_JPk
[youtube] rGTHC4I_JPk: Downloading webpage
[youtube] rGTHC4I_JPk: Downloading ios player API JSON
[youtube] rGTHC4I_JPk: Downloading android player API JSON
WARNING: [youtube] Skipping player responses from android clients (got player responses for video "aQvGIIdgFDM" instead of "rGTHC4I_JPk")
[youtube] rGTHC4I_JPk: Downloading m3u8 information
[info] rGTHC4I_JPk: Downloading 1 format(s): 18
[download] Destination: /home/ubuntu/pikaraoke-songs/Queen - Love Of My Life (Karaoke Version)---rGTHC4I_JPk.mp4
[download] 100% of 4.17MiB in 00:00:00 at 10.83MiB/s
[2024-05-13 17:50:50] INFO: Fetching available songs in: /home/ubuntu/pikaraoke-songs/
[2024-05-13 17:50:50] INFO: 'bb' is adding song to queue: /home/ubuntu/pikaraoke-songs/Queen - Love Of My Life (Karaoke Version)---rGTHC4I_JPk.mp4
[2024-05-13 17:50:54] INFO: Playing file: /home/ubuntu/pikaraoke-songs/Queen - Love Of My Life (Karaoke Version)---rGTHC4I_JPk.mp4 transposed 0 semitones
[2024-05-13 17:50:56] INFO: Song starting: Queen - Love Of My Life (Karaoke Version)
[2024-05-13 17:51:05] INFO: Song ending: Queen - Love Of My Life (Karaoke Version)
[2024-05-13 17:51:16] INFO: Song ending: None
`
The text was updated successfully, but these errors were encountered: