-
Notifications
You must be signed in to change notification settings - Fork 118
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
Firing Error
in a Docker container
#245
Comments
I've just tried this with a |
I have also tried to run it on another PC and there is a new line in the logs:
just above the |
That error message implies that songbird/symphonia has no idea how to parse whatever you were served from the URL you supplied -- either you're missing a codec, or the link was not actually valid. What website were you querying, and what codecs do you have enabled? |
I'm playing a YouTube video through a regular link, e.g. https://www.youtube.com/watch?v=7T_YtklLyyo. You were right – a codec was probably missing – enabling all of them in Symphonia with [dependencies.symphonia]
version = "0.5.4"
features = ["all"] solves the new error line that appeared on the second PC:
And on the second PC everything is now working. Running it on the VPS results in the same log as before, though:
|
Songbird version: 0.4.3
Rust version (
rustc -V
): 1.80.1Serenity/Twilight version: Serenity 0.12.2
Output of
ffmpeg -version
,yt-dlp --version
(if relevant): yt-dlp 2024.08.06Description:
I'm running
Call::play_only_input()
with aYoutubeDl
source inside a Docker container. In case of interest, the code is here.This is my Dockerfile (tranzistorak is the bot):
When I build the image and run a container locally (Arch Linux), it works as expected with no problems:
When I do the same (build and run a container) in a different environment (a VPS with Debian), there is an error:
I even tried not building the image on the VPS and rather copying the local one – no difference. For me, this is really unexpected, weird and maybe more of a Docker issue.
Still, please, is there a way to enable more logging? How to find out what is going on? My guess is some dependencies could be missing. Or is it possible that it is caused by the performance difference between my PC and the VPS?
Steps to reproduce:
Run
Call::play_only_input()
with aYoutubeDl
in a container built from the mentioned Dockerfile.The text was updated successfully, but these errors were encountered: