Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • 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 youtube-dl stops before the song ends

dziudziu

Member
Hello,

If I play music for YouTube 50+ minutes bot stopped after 3-5 minutes ;/
Why? ;/
youtube-dll can play just 3-5 minutes?
Example: !yt https://www.youtube.com/watch?v=-QOSBrNMSec

Look at this:

2018-07-19T20:53:27+02:00 Playing idle tracktrack://0b7fba7c-6f66-47e7-8120-d4ef51648a60
2018-07-19T20:48:45+02:00 PRIVATE-CHAT [★★★★★★★★★★★] Downloading https://www.youtube.com/watch?v=fCbaKnTLqf8&t=1s

Music will by play 50 minutes but after 3-5 minutes stopped o_O

Client: 3.1.9 :> I need this becouse I have Server Version 3.2.0

Tested on 2x different VPS ;/


Regards
Greg
 
Last edited:

Tryagainlater

New Member
The solution is pretty simple:
Funktioniert bei mir nicht. Nach knapp 5 Minuten stoppt sie weiterhin und das Lied wird gewechselt. Würde es helfen die MaxDownloadSize zu erhöhen? Oder irgendwas in der Richtung? Hab wenig Ahnung davon. :rolleyes:
Musikstreams funktionieren ohne Probleme.

Zwischenstand:

[YoutubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
MaxSimultaneousChunkDownloads = 8
CacheStreamed = false
TimeoutSingleDownloader = 0
TimeoutMultiDownloader = 0
ChunkSize = 2000000
 

dziudziu

Member
Funktioniert bei mir nicht. Nach knapp 5 Minuten stoppt sie weiterhin und das Lied wird gewechselt. Würde es helfen die MaxDownloadSize zu erhöhen? Oder irgendwas in der Richtung? Hab wenig Ahnung davon. :rolleyes:
Musikstreams funktionieren ohne Probleme.
U must doing restart :p screen or docker.

Use command !yt link
Do not use this music on CONTROL PANEL ;/
 

Tryagainlater

New Member
U must doing restart :p screen or docker.

Use command !yt link
Do not use this music on CONTROL PANEL ;/
Did a restart, now the longer files in my playlist just got an error. In addition to that, when I am using !playlist [playlistname] and want to skip a song it skips the following song as well :eek: And when I am using !yt [playlisturl] this appears: "Download failed for [Playlisturl] ; no good format found"

Edit: Now the files in my PL are ok again... testing it again rn. See you in 5 minutes or so xD
Edit2: Nope, music still stops and switches to the next song after 4-5 minutes. :c
 
Last edited:

Tryagainlater

New Member
!skip is bad :> I know.
Send Your config.ini
TS3Path = "C:\\SinusBot\\TeamSpeak 3 Client\\ts3client_win64.exe"
ListenHost = "0.0.0.0"
DataDir = "C:\\SinusBot\\data\\"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = ""
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "aECbTu7M3r2ytoc7faGBLdTYnVV4HJig+BbTEBk+TQg="
IsProxied = false
DenyStreamURLs = []
Pragma = 0
UserAgent = ""

[YoutubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
MaxSimultaneousChunkDownloads = 8
CacheStreamed = false
TimeoutSingleDownloader = 0
TimeoutMultiDownloader = 0
ChunkSize = 2000000

[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-f37f203)"

[DAV]
Enable = false

[XServer]
Delay = 0
Debug = false

[SHMem]
Enable = false
Size = 0
Delay = 0
Interval = 0

[RadioStations]
URL = ""
UpdateInterval = 0
 

dziudziu

Member
[FFmpeg]
UserAgent = "SinusBot (0.13.37-9791176)"

change for this and use reboot on vps.
Next time ON bot or bots ;>
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Nope, music still stops and switches to the next song after 4-5 minutes. :c
@Tryagainlater did you restart the bot after changing the config? Otherwise the new settings will not be used...

And when I am using !yt [playlisturl] this appears: "Download failed for [Playlisturl] ; no good format found"
This will be fixed in the next version (I think @flyth already fixed it internally, not sure though).
and want to skip a song it skips the following song as well :eek:
This will also be fixed in the next version, flyth already fixed it internally.
 

Tryagainlater

New Member
@Tryagainlater did you restart the bot after changing the config? Otherwise the new settings will not be used...


This will be fixed in the next version (I think @flyth already fixed it internally, not sure though).

This will also be fixed in the next version, flyth already fixed it internally.

- I did restart the bot 2 or 3 times to make sure everything is correct. I even restarted my PC just to be sure xD
- awesome! That would make things much easier :)
- awesome as well <3

@dziudziu vps will get a restart someday, Im sure xD
 
Top