MC-U-Team / Music-Player

With this mod you can listen to music and manage your playlist without using external programs
https://u-team.info/mods/musicplayer
Apache License 2.0
57 stars 21 forks source link

Tracks skipping [MC-Version] 1.8 - 1.21 (It happens on every version I've played it on) #1243

Open VulDovahkiin opened 1 week ago

VulDovahkiin commented 1 week ago

Bug description and reproduction steps

I don't know if it's a bug necessarily, but it's still REALLY annoying.

So I have this habit of having a BUNCH of random tracks, and then skipping through them to fit what mood I'm in at that moment. Now for some reason(And I hope it's a bug and not a feature, because otherwise it's a stupid feature) it's just skipping tracks on it's own.

I've tried deleting my tracks, deleting the config, deleting the mod, and deleting everything(Tracks, config AND mod), that last one works to fix it, for a little while anyway.

It's so bad, it spends more time skipping tracks then playing them, and sometimes it skips halfway through the playing track.

It's so bad I don't even use the mod anymore, I just put up with YouTube's ads and page reloading, because that's STILL more reliable

If this is an INTENDED feature, make it toggleable because this is driving me crazy, if it isn't intended, then please fix it. Thanks

Log files and Screenshots

There are no logs, crashlogs, or screenshots, as it's hard to screenshot tracks skipping

Used minecraft version

1.12.x

Used forge or fabric version

Forge, Fabric, NeoForge, all of them

Used mod version

I don't know the mod version, as it's not version specific

HyCraftHD commented 1 week ago

Hello, this seems to be a bug caused a playback error. Can you upload the log please?

VulDovahkiin commented 1 week ago

I don't know if there IS a log, or where to find it for that matter. I've narrowed it down to ONLY affecting YouTube based tracks

VulDovahkiin commented 1 week ago

I have now found out that, out of 108 tracks from YouTube, only ONE of them plays somewhat consistently. And like I've said on my original post, this happens on all versions, from the first 1.8 releases, to the latest ones. The game isn't crashing, there are no errors that I can find. Other than it skipping tracks from YouTube automatically, there are no bugs, issues, error logs, nothing.

Old-World-Vulture commented 1 week ago

I have been having this issue too, across both 1.12.2 and 1.20.1. I personally have looked through my general logs looking for any errors, but there is nothing there to indicate that anything is going wrong, there are no errors that I have found. All I have for evidence is this 5 second video showing the skipping. Hope it helps, I apologize if it doesn't.

https://github.com/user-attachments/assets/a12cf97f-b58a-4cac-97d0-2cc417580d34

HyCraftHD commented 1 week ago

It's probably the "Sign in Error". Youtube has started to partially prevent the playback of videos outside the site without login. I'll see how I can make sense of this. Unfortunately, I will probably have to introduce that you have to log in to play YouTube.

HyCraftHD commented 1 week ago

A note about the logs: You probably didn't look at the debug log (or it was disabled by some stupid launcher settings). There should be enough stuff in the debug log to better diagnose the cause. However, I think it will also be the sign in error.

HyCraftHD commented 1 week ago
[15:44:32] [lava-daemon-pool-playback-1-thread-1/WARN] (LocalAudioTrackExecutor) Suspicious exception for playback of xyz
 com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Please sign in
    at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:102) ~[?:?]
    at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109) ~[?:?]
    at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339) ~[?:?]
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
    at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
SpyRuby commented 1 day ago

um im having the same problem but im already signed it to youtube what do i do NOW?!

SpyRuby commented 1 day ago
�[34m[15:44:32]�[m �[33m[lava-daemon-pool-playback-1-thread-1/WARN]�[m �[36m(LocalAudioTrackExecutor)�[m �[0mSuspicious exception for playback of xyz
�[m com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Please sign in
  at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:102) ~[?:?]
  at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109) ~[?:?]
  at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339) ~[?:?]
  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
  at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

um what is this?

SpyRuby commented 1 day ago

I have now found out that, out of 108 tracks from YouTube, only ONE of them plays somewhat consistently. And like I've said on my original post, this happens on all versions, from the first 1.8 releases, to the latest ones. The game isn't crashing, there are no errors that I can find. Other than it skipping tracks from YouTube automatically, there are no bugs, issues, error logs, nothing.

same thing i can play only one of them and no other ones

SpyRuby commented 1 day ago

It's probably the "Sign in Error". Youtube has started to partially prevent the playback of videos outside the site without login. I'll see how I can make sense of this. Unfortunately, I will probably have to introduce that you have to log in to play YouTube. same problem but im ALREADY SIGNED IN!!!!!!!!!!