question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Youtube not playing songs over *exactly* 3:00

See original GitHub issue

Describe the bug Youtube songs over exactly 2:59 (sometimes 3:00, might be due to rounding?) get immediately “skipped”. When playing any song up to three minutes it is being played as usual.

Example TeamSpeak output:

<15:32:39> "kev": !play https://www.youtube.com/watch?v=GTISI3Bg4Mc
<15:32:41> "kev": !song
<15:32:41> "Bot2": ► Best Friends [00:00/00:00]
<15:32:44> "kev": !song
<15:32:44> "Bot2": Error: There is nothing on right now...

(Same behavior with !ytp and !yta)

It seems like the song is being queued but it’s never being played. See below:

2020-04-17 14:58:53.1880| INFO|1|Bot.OnMessageReceived User kev requested: !ytp crawling linkin park
2020-04-17 14:58:57.4530| INFO|1|PlayManager.StopInternal Song queue ended: No next song could be played.

[Edit:] Downloading songs over 3:00 with youtube-dl works without any issues.

Steps to reproduce I don’t know really. It randomly started 3 days ago when we first used radiostreams. I don’t think it is related to that though.

Version dotnet 3.1.201 develop TS3AB 0.12.0-alpha.19 Also tried reinstalling 0.12.0-alpha.19 and 0.11.0. Reinstalled youtube-dl and ffmpeg. Obviously I’m not getting 429-blocked because songs that are up to 3:00 long are beeing played just fine.

Platform Ubuntu 18.04

Actually made a huge post before I noticed the 3:00 issue. Not sure if any more logs or config files are needed, so I let everything else out. Just let me know if you need anything else.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
srkhostcommented, Apr 20, 2020

I don’t know if it’s the same issue, but last week I had an issue with music playing (all kind of youtube music).

Try to delete your .cache directory, that’s solved it for me. 😃

1reaction
kevingroegercommented, Apr 17, 2020

@Splamy I don’t know anything about your code tbh as I am really bad at OOP, so I thought this might be the cause. Thanks for explaining it so well, though.

@Flakebi Oh wow alright. Thought the error was only on my side.

Guess it’s not necessary for me to provide any more logs then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting YouTube Music
Check out common issues with YouTube Music and troubleshooting steps to resolve them. As a first step that resolves many common problems, close...
Read more >
How do I fix this? - YouTube Music Community
Make sure you search in the "videos" or "songs" section, not playlists or albums. If your video doesn't show up at all on...
Read more >
Home - YouTube
Share your videos with friends, family, and the world.
Read more >
YouTube Music won't play on my premium account on ...
11 votes, 16 comments. I'm having a problem with YouTube Music. I have a premium account, but it won't play music on my...
Read more >
Small Channels.. Use This HACK to get views on YouTube ...
This video shows you how to get more views on YouTube shorts fast. ... Everyone who reads this , we don't know each...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found