• 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 playlist all tracks a 0:00 (0 min 0 seconds)

Status
Not open for further replies.

Zkitzo

Member
Operating System: Ubuntu Zesty (17.04)
SinusBot Version: 0.9.21-87a90ce
TS3 Version: 3.0.19.3
YouTube-dl version: 2017.08.27.1

Problem Description
Describe your problem in detail. What did you do exactly, what did you expect to happen and what did actually happen?

Sinusbot can't play any track from a YouTube playlist, if you start a track it will skip to the next and next everytime because the track is 0 seconds long. Sometimes it starts but then after it has been played it doesn't go to the next track or the track goes to the next track within a second.

20170831192414289.png


As you can see all tracks are 0 seconds.

Code:
TS3Path = "/home/sinusbot/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/home/sinusbot/ts3soundboard/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
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 = "PbC971Ld2uzK71IHHsydqkINGNuYOuIMPq3QRLTBIFU="
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

Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 17.04
- OS x64 check: OK
- Kernel: Linux 4.10.0-28-generic x86_64
- Load Average: 0.23 0.43 0.72
- Uptime: 21 days, 20 hours, 58 minutes, 24 seconds
- OS Updates: 0 (well done!)
- OS Missing Packages: None (v1)
- OS APT Last Update: 31.08.2017 20:38:14 CEST +02:00:00
- Bot Start Script: found at /etc/systemd/system/sinusbot.service [perms: 644]
- DNS resolution check: sinusbot.com resolved to 104.18.41.220 -> OK
- HTTPS check with IPv4 mode: SUCCESS [Connection was established to sinusbot.com]
- HTTPS check with IPv6 mode: FAILED  [Failed connecting to sinusbot.com]
- CPU:
    Architecture:          x86_64
    CPU(s):                1
    Thread(s) per core:    1
    Core(s) per socket:    1
    Socket(s):             1
    Model name:            Mobile AMD Athlon(tm) 64 Processor 3200+
    CPU MHz:               1600.000
- RAM: 383.42 MB/958.37 MB in use (40%)
- SWAP: 103.85 MB/934.99 MB in use (11%)
- DISK: 5.35 GB/63.28 GB in use (8%)
- Package versions:
   > libglib: 2.52.0-1

BOT INFORMATION
- Status: running (PIDs: 9655 9654, User: sinusbot)
- Webinterface: port locally not reachable (Port: 8087)
- Binary: /home/sinusbot/ts3soundboard/sinusbot (MD5 Hash: f62c677c697c99ee7c4e624ae8822887)
- Version: 0.9.21-87a90ce
- TS3 Plugin: installed (plugin in bot directory not found)
   - Bot Plugin: unknown
   - TS3 Client: 8aa3378ad883893f4942540dafbc00f2
- Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /home/sinusbot/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.0.18.2)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2017.08.27.1)
- Installed scripts: advertising.js; aloneMode.js; badchan.js; bookmark.js; covatar.js; dev.js; followme.js; idle.js; metadata.js; norecording.js; rememberChannel.js; showcase.js; sound.js; welcometext.js

OTHER INFORMATION
- Report date: 31.08.2017 21:31:09 CEST +02:00:00 (timezone: Europe/Amsterdam)
- TeamSpeak 3 Version: 3.0.19.3 (just updated!)
- youtube-dl Version: 2017.08.27.1
- DiagScript version: 0.5.1
==========================================================

P.s. I will update my TS3 version asap :) (Just updated my post and the TeamSpeak client)
 

Attachments

  • sinusbot.png
    sinusbot.png
    46.2 KB · Views: 21
Last edited:
D

Deleted member 13208

Guest
I also have this same exact problem. Mine also pops up the error window "Error could not playback the selected file/stream" Any light shed on the issue would be good as this would be a nice feature to have working. Thanks for making the post.
 

TheBoss95

Member
Im having problem when creating the playlist it say this:
2017/09/19 22:54:48 c39edb96 INFO Could not get playlist: exit status 1
2017/09/19 22:54:48 c39edb96 INFO PLAYLIST-CREATE [admin] 1 OK

Someone know how to solve this?
 

TheBoss95

Member
Just set it to public.... same problem on both vps that i have
2017/09/19 23:10:57 0cfd5096 INFO PLAYLIST-DEL [admin] e4e3772a-b2aa-420f-908e-5c0f68f18bfb OK
2017/09/19 23:12:12 0cfd5096 INFO Could not get playlist: exit status 1
2017/09/19 23:12:12 0cfd5096 INFO PLAYLIST-CREATE [admin] Music OK
 

mxschmitt

Moderator
Staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
This is no bug, youtube-dl does not provide us the length of the tracks. They all should work fine without the the missing length attribute. :)
 
Status
Not open for further replies.
Top