• 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.

Solved Long wait before link launch (!yt)

Status
Not open for further replies.

sniperyx

Member
Operating System: Linux Debian 8.0 x86_x64
SinusBot Version: 0.9.x
TS3 Version: 3.x.x

Hello all :)

Problem Description
When I type "!yt http://youtube-link...com" (for example), I must waitting for 15/20 seconds before I can hear the music in my bot.

At the begin when I created my bot, (since 3 months) I haven't this problem, the bot put my link in the 2/3 seconds.

Here's my config.ini:
Code:
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/ts3soundboard/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YouTubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "DEx4pEFtsK2yO6wkqL6zoa6GmZs2GTFAnyZKP4xGSWk="
IsProxied = false
DenyStreamURLs = []
Pragma = 0

[YoutubeDL]
  BufferSize = 524288
  MaxDownloadSize = 419430400
  MaxDownloadRate = 104857600
  CacheStreamed = false

[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0
  AllowGIF = false

[StreamRewrites]

[Scripts]
  AllowReload = false
  EnableTimer = false

[Themes]
  Default = ""

[SpeechRecognition]
  Enable = false

[FFmpeg]
  UserAgent = "SinusBot (0.9.16-10f0fad)"

[DAV]
  Enable = false

[XServer]
  Delay = 0
  Debug = false

Anyone has an idea ?

Thank you a lot :)
 

xdmartinhi

Donor
is awesome!
When i understanding that right:

You say the bot he Should Play MUSIC X and after ca. 15 or 20seconds the Bot Plays it. Right?

And when this the Problem is i think maybe the speed from you server have Problems but im not sure im not the Sinusbot good.

But @flyth , @Raphraph, @Xuxe or @maxibanki knows more
 

mxschmitt

Moderator
Staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
I think the problem why you have such a big wait time is you internet connection. Try this to check your internet speed:
Code:
apt-get install speedtest-cli
speedtest-cli
 

sniperyx

Member
root@vps26463:~# speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from OVH (5.135.175.154)...
Selecting best server based on latency...
Hosted by Orange (Paris) [1.88 km]: 7.566 ms
Testing download speed........................................
Download: 560.69 Mbits/s
Testing upload speed..................................................
Upload: 58.53 Mbits/s
 
Status
Not open for further replies.
Top