Neferites
Member
Hello,
I try to use youtube-dl to stream some music in my ts.
If I stream a 4 min video, everything works great.
But if I want to stream a 1-hour video, I can't.
The download is really slow :

Logs are :
	
	
	
		
I read this post: https://forum.sinusbot.com/threads/not-a-bug-youtube-dl-slow-download-rate.4679/
Not working.
Everything is up-to-date :
	
	
	
		
Sinusbot version :
0.13.37
My config.ini
	
	
	
		
My youtube-dl2
	
	
	
		
If someone can help me, would be awesome.
Best regards
				
			I try to use youtube-dl to stream some music in my ts.
If I stream a 4 min video, everything works great.
But if I want to stream a 1-hour video, I can't.
The download is really slow :

Logs are :
		Bash:
	
	2018/07/06 11:24:10 563e07f6 0456bfcf INFO   CHAT 2 [neferites @ Neferites] < !yt [URL]https://www.youtube.com/watch?v=Lo3rrP8u7Mw[/URL] > / OK
2018/07/06 11:24:10 563e07f6 0456bfcf INFO   PRIVATE-CHAT [SinusBot] Downloading [URL]https://www.youtube.com/watch?v=Lo3rrP8u7Mw[/URL]
2018/07/06 11:24:12 563e07f6          INFO   Downloading (multi) 114.1M with codec opus from youtube
2018/07/06 11:25:12 error: net/http: request canceled (Client.Timeout exceeded while reading body)I read this post: https://forum.sinusbot.com/threads/not-a-bug-youtube-dl-slow-download-rate.4679/
Not working.
Everything is up-to-date :
		Code:
	
	11:29:16 with root in sinusbot/data/logs at teamspeak
➜ youtube-dl --update
youtube-dl is up-to-date (2018.07.04)Sinusbot version :
0.13.37
My config.ini
		Code:
	
	11:32:47 with root in /nefzer/sinusbot at teamspeak took 27s
➜ cat config.ini
TS3Path = "/nefzer/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/nefzer/sinusbot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = "/nefzer/sinusbot/data/logs/sinusbot.log"
LicenseKey = "6hhg0I6LLz3jc0ZGZajyN7Yrb1+zZSxYcQUi7Evf0h0="
IsProxied = false
DenyStreamURLs = []
Pragma = 0
YoutubeDLPath = "/nefzer/sinusbot/youtube-dl2"
[YoutubeDL]
  BufferSize = 524288
  MaxDownloadSize = 419430400
  MaxDownloadRate = 104857600
  MaxSimultaneousChunkDownloads = 1
  CacheStreamed = false
  TimeoutSingleDownloader = 0
  TimeoutMultiDownloader = 0
  ChunkSize = 5242880
[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0
  AllowGIF = false
[StreamRewrites]
[Scripts]
  AllowReload = false
  EnableTimer = false
  DisableLegacyEvents = false
  ScriptTimeout = 5
[Themes]
  Default = ""
[SpeechRecognition]
  Enable = false
[FFmpeg]
  UserAgent = "SinusBot (0.13.37-9791176)"
[DAV]
  Enable = false
[XServer]
  Delay = 0
  Debug = false
[SHMem]
  Enable = false
  Size = 0
  Delay = 0
  Interval = 0
[RadioStations]
  URL = ""
  UpdateInterval = 0My youtube-dl2
		Bash:
	
	11:32:50 with root in /nefzer/sinusbot at teamspeak
➜ cat youtube-dl2
#!/bin/bash
/usr/local/bin/youtube-dl ${@/bestaudio/43}If someone can help me, would be awesome.
Best regards
 
	 
 
		 
 
		