Comments (9)
It throw error right after starting play or at some point?
from lavaplayer-fork.
It throws the error right when it tries to start playing
from lavaplayer-fork.
Just played both of broken files and it playing fine, im thinking that you are doing rewinding to 0 after starting to play, in that case i'm getting exception too
from lavaplayer-fork.
Try ogg-stream-fix
branch
from lavaplayer-fork.
That is probably right since my system has a custom start time for songs that defaults to 0 and doesn't get set unless the song starts playing successfully. It's just weird that it wasn't happening with every ogg file for me.
I will test the fix branch
from lavaplayer-fork.
There seems to be a new related issue when testing with the fix the branch
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong when seeking to a position.
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.performSeek(LocalAudioTrackExecutor.java:407)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.checkPendingSeek(LocalAudioTrackExecutor.java:395)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:260)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at com.sedmelluq.discord.lavaplayer.container.ogg.OggAudioTrack.process(OggAudioTrack.java:46)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:25)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at com.sedmelluq.discord.lavaplayer.source.local.LocalAudioTrack.process(LocalAudioTrack.java:45)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:104)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:361)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [mods.thecomputerizer.musictriggers.client.channels.ChannelListener:onTrackException:46]: at java.lang.Thread.run(Thread.java:748)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation:
lavaplayer.version: 1.4.2-original
os.arch: amd64
os.name: Windows 10
os.version: 10.0
java.vendor: AdoptOpenJDK
java.version: 1.8.0_292
java.runtime.version: 1.8.0_292-b10
java.vm.version: 25.292-b10
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: Caused by: java.lang.NullPointerException
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at com.sedmelluq.discord.lavaplayer.container.ogg.vorbis.OggVorbisTrackHandler.seekToTimecode(OggVorbisTrackHandler.java:99)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.performSeek(LocalAudioTrackExecutor.java:405)
[00:56:03] [lava-daemon-pool-playback-4-thread-1/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: ... 10 more
from lavaplayer-fork.
Can you send file or link that used here?
from lavaplayer-fork.
The file I tried was the mainmenu.ogg
one under the good audio of the drive link I sent in the original message. Also if it helps with debugging this is the method where I handle playing a new track.
from lavaplayer-fork.
I should mention that my tracks do play correctly when I shift the logic around so that it calls AudioTrack#setPosition
before calling AudioPlayer#startTrack
so you can treat this as a low priority issue since it is not too hard to work around.
from lavaplayer-fork.
Related Issues (20)
- Failed to reply to interaction + full bot is down HOT 2
- Track loading issue. HOT 17
- Extract more tags from localtracks
- .wav file gives you an invalid audio format error HOT 1
- Stream overrun HOT 2
- Vimeo 'Cannot invoke "String.length()" because "this.input" is null'
- Expose playlist metadata in playlist response object HOT 5
- Not success status code: 403 HOT 29
- java.lang.NumberFormatException: For input string: "70M plays" HOT 1
- Video returned by YouTube isn't what was requested
- Can't play music on SoundCloud HOT 6
- [Feature Request] Allow Java based resources as local tracks
- YouTube access token update failed HOT 7
- Failed to collect additional information on OGG stream
- Something broke when playing the track. HOT 1
- error
- AudioPlayer.provide() always returning null HOT 1
- Getting Required Library Not Found error on Windows 10
- Loading information for a YouTube track failed. (Status code 400) HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lavaplayer-fork.