• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.
Resource icon

TS3 Youtube Search 1.3.4

No permission to download
I've been using this script for a long time now. 10/10 recommended
only link detection works not search...
I get this: Search failed (Nothing found) doesn't play anything
It works well once you get it working but it's not very straight forward.

What you will need is the "youtube-dl.exe" just searching that and downloading the .exe will be okay. Then you will need to make an unrestriced API key for youtube. This can be done by navigating to the Google developer console (just google it) and creating a new project followed by credentials for the Youtube Data API (MAKE SURE ON YOUR SETTINGS FOR THE API THAT IT IS UNRESTRICTED) following this copy the API key.

Now navigate to your Bots addon folder and download "Youtube Search" go into the scripts folder and tick "Youtube search" now click the drop down arrow and paste your API key in the field. Im sure that the settings below that don't matter as much but mine are.

Action with YoutubeDL = Download
Playback action = Queue
Catch Youtube Links = No
Max youtube videos = defualt
Max youtube video duration = defualt
play random video = defualt
command trigger = yt
message format = [B]You[/B][COLOR=#ff0000]Tube[/COLOR] - Title: {title} - Link: [url={yt_link}]{yt_link}[/url] - By: {upload_by}

everything else default then scroll right to the bottom of the page and ensure you save your changes.

Following this turn your bot off and exit it in the system tray (bottom left)

Now navigate to where you installed sinus bot and copy the youtube-dl.exe into this directory. Now open the config.ini and find the line saying "falseYoutubeDL" change that to "trueYoutubeDL" and in the inverted commas next to that paste the directory to the .exe and ensure you have two backslashes instead of just one separating the files. Mine looks like this:

trueYoutubeDLPath = "C:\\SinusBot\\youtube-dl.exe"

After all that down. Start your bot make it join your server then simply type !yt song name into the chat with the bot and it should find, download then play the song you wanted. If it gives a search failed prompt then your API key is set up wrong. Like I said make sure it is unrestricted and that it is for the Youtube Data api. the api can also take up to 5 minutes or more to become active. But I set the bot up the exact way I described above and after trying 4 different API keys it finally worked.
Der Bot spielt keine Links ab, Search failed (Nothing found)
Hi,
i got this error

"Could not play video with filters set"

its all fine - script is runnig, api key ist working..

any solutions?

Thanks
Fails to queue a song, despite download seeming successful.
My sound doesnt actually play its been fully updated as I am on windows and not windows :/
It works like a Charm :-)
does not work
Work Perfect!

But can you add commands like "!youtubeQueue" to queue a song or "!youtubeDownload" to download a song with command?
Really good work, hightly configurable
Very Nice Script
Excellent script, works fine. Anyone is able to play music through the bot, I am really in need of a way to blacklist specific users from doing so.
NT5
NT5
You can do it already, Go in web panel and find section named "Banned users"
Regards!
great
it is good but it has bugs in it bug one I can't say the command I set like if I say !youtube (i set it to that) it does nothing but if I post a youtube link in chat it finds it and works with it so yea great plugin for the most part.
Working great!
For everybody who is writing like "bad requests"... You have to activate the API Key for YouTube APIData v3
Here: https://console.developers.google.com/apis/api/youtube.googleapis.com/overview
Works great
I can't play youtube songs it keeps saying " bad request"
Download failed for https/www.youtube.com/watch?v=5hEh9LiSzow&list=PLEwruG0caURTQAuXKMtrgDnU2Yb5xIP-p&index=4; youtube-dl is missing lol i understand for this please CZ or ENG everyone guy write me and help me
Top