• 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
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.
only link detection works not search...
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
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.
Fails to queue a song, despite download seeming successful.
I could not do.
My address for help:https://www.facebook.com/TribleOnur

<16:55:53> "TRibleOnuR": https://www.youtube.com/watch?v=dwDHY_M_jFc
<16:55:53> "MüzikBotu": Search failed (Bad request)
Der Bot spielt keine Links ab, Search failed (Nothing found)
I get this: Search failed (Nothing found) doesn't play anything
when requesting links it plays different songs
2016-06-18T23:30:40+02:00 TypeError: 'qyt' is not a function at <anonymous>:80:41
2016-06-18T23:30:40+02:00 [youtube] Append to queue: http://www.youtube.com/watch?v=VhGzae-tUFo

??
NT5
NT5
Remember update your bot to latest version
does not work
I've been using this script for a long time now. 10/10 recommended
Very Nice Script
Die Idee ist gut aber leider funkturniert es bei mir nicht...
Amazing <3
great
Top but 2 Hours for play the search.
Ich musste ne zahl ändern nun spielt er auch die suche ab.
Really good work, hightly configurable
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
Works Perfect .
Top