-
Notifications
You must be signed in to change notification settings - Fork 136
FAQ & Troubleshooting
Note that much of this info is relevant only to Raspberry Pi devices.
pip install pikaraoke --upgrade
If you initially installed with the --break-system-packages
parameter, you may need to add it to this command.
You should be able to right-click the speaker icon in the upper right of the desktop of the OS to change the audio output device. If that fails, see the official raspberry pi docs on changing audio output
Disable "screen blanking" in raspi-config
. See this article
Make sure youtube-dl is up to date, old versions have higher failure rates due to security changes in Youtube. You can see your current version installed by navigating to Info > System Info > Youtube-dl version
. The version number is usually the date it was released. If this is older than a couple of months, chances are it will need an update.
You can update youtube-dl directly from the web UI. Go to Info > Update Youtube-dl
You can also just restart pikaraoke, it checks for updates on every launch.
youtube-dl is very CPU intensive, especially for single-core devices like the pi models zero and less-than 2. The more simultaneous downloads there are, the longer they will take. Try to limit it to 1-2 at a time. Pi 3 can handle quite a bit more.
I brought my pikaraoke to a friend's house and it can't connect to their network. How do I change wifi connection without ssh? (rpi)
These are my preferred ways to do it, but they might require either a USB keyboard or a computer with an SD Card reader.
- USB Keyboard: plug in a USB keyboard to the pi. After it boots up, log in and run "sudo raspi-config" and configure wifi through the Network Options section. If the desktop UI is installed, you can configure wifi using the GUI wizard (right-click the wifi icon in the top right). You can also manually edit /etc/wpa_supplicant/wpa_supplicant.conf as desribed below.
- SD Card Reader: Remove the pi's SD card and open it on another computer with an SD card reader. It should mount as a disk drive. On the BOOT partition, add a plaintext file named "wpa_supplicant.conf" and put the following in it:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=<Your 2-letter country code, ex. US>
network={
ssid="<the wifi ap ssid name>"
psk="<the wifi password>"
key_mgmt=WPA-PSK
}
Add the SD card back to the pi and start it up. On boot, Raspbian should automatically add the wpa_supplicant.conf file to the correct location and connect to wifi.
Finally, this package can set up your pi as a self-configuring wireless access point, but hasn't been updated in a while https://github.com/jasbur/RaspiWiFi
Yes, but you can only access your existing library and won't be able to download new songs.
If you run your pi as a wifi access point, your browser can connect to that access point, and it should work. See this article.
You can also try RaspiWiFi (used for configuring wifi connections headless). While it's in AP mode, you can connect to the pi as an AP and connect directly to it at http://10.0.0.1:5555
The pi doesn't have a hardware audio input. Technically, you should be able to run a microphone through it with a USB sound card attached to the pi (or USB microphone), but the latency is generally not usable.
Ideally, you'd have a mixer and amplifier that you could run the line out of the pi to, as well as the microphones. I used this affordable wireless microphone set from amazon: https://amzn.to/2OXKXdc (affiliate link) It has a line-in so you can also run PiKaraoke into the mix, and output to an amplifier.
While a song is playing, the home screen of the web interface will show a transpose slider. Slide it up or down based on your preference and press the "ok" button to restart the song in the given key.
You can try the normalize command line option pikaraoke --normalize-audio
.
Note that this is rather CPU intensive and might struggle on slower pi devices.
You'll need to add them manually by copying them to the root of your download folder. Run pikaraoke --help
and look under DOWNLOAD_PATH to find out what the default folder is, or specify your own. Only cdg/mp3 pairs and .zip files are supported.
CDG files must have an mp3 file with a exact matching file name. They can also be bundled together in a single zip file, but the filenames in the zip must still match. They must also be placed in the root of the download directory and not stashed away in sub-directories.
I'm getting this ChromeDriver error on launch: "session not created: DevToolsActivePort file doesn't exist"
Are you trying to launch over SSH? That probably indicates that chromedriver doesn't know which display to launch the browser on. If so, you may need to specify the native display of the remote device using this command: DISPLAY=:0.0 pikaraoke
.
You can alternately run headless if you launch the splash screen manually on a separate machine: pikaraoke --headless
How do I dismiss the Splash confirmation screen on an in-TV browser? (like a Samsung TV with web browsing)
The splash confirmation screen is an unfortunate necessity due to modern browser permissions disabling video autoplay. A single interaction will enable it, and the confirmation screen serves as this interaction. Hopefully your TV has a way to click the button on the screen with the remote or otherwise.
If you want to try without confirmation, you can add a parameter to the end of the splash screen URL "confirm=false". Ex: http://pikaraoke.local:5555/splash?confirm=false
but there's no guarantee that videos will play; it depends on the embedded browser implementation.