Skip to content
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

~play command is not working, does not find ffmpeg #7

Open
KaratekHD opened this issue May 19, 2022 · 3 comments
Open

~play command is not working, does not find ffmpeg #7

KaratekHD opened this issue May 19, 2022 · 3 comments

Comments

@KaratekHD
Copy link

When using a command like

~play <source to mp3>

The bot replies with "Error sourcing ffmpeg", and the following line is logged:

May 19 19:06:06 theia voice_bridge[898]: Err starting source: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })

However, ffmpeg is avaliable:

$ ffmpeg -version
ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g' --optflags='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --disable-openssl --enable-avresample --enable-gnutls --enable-ladspa --enable-vulkan --enable-libglslang --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librubberband --enable-libsvtav1 --enable-libsoxr --enable-libspeex --enable-libssh --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lto --enable-lv2 --enable-libmfx --enable-vaapi --enable-vdpau --enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid

Any idea what's wrong here?

@0xpr03
Copy link
Owner

0xpr03 commented May 19, 2022

Uh, the play command is a remnant of some tests. It's not an actual supported feature 😅

What exactly did you have in mind for it ? Just play some mp3 file ? It's not something I'd expect from a voice bridge.

@KaratekHD
Copy link
Author

Ok, that makes sense.
My thought was that maybe this could be used to use the voice bridge as a music bot as well, as when a musicbot is used on the Discord side of things it destroys the ears of the TeamSpeak people and if TS3AudioBot is used on the TS Side it is not passed through to Discord at all.

@0xpr03
Copy link
Owner

0xpr03 commented May 20, 2022

Hm so you want it to play music but only for discord ? (Or mute the music if sb is speaking ?)
Generally it'd probably be better to just mute specific clients (music bots) individually from the voice bridge, meaning we'd have to add that feature somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants