© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Elapsed audio resource duration - discord.js - Imagine an app
d-Iaa
discord.js - Imagine an app
•
4y ago
•
16 replies
Manicraft1001
Elapsed audio resource duration
Hello everyone
,
I
'm currently trying to implement a proper progress bar which displays the playback of the current song
.
According to a few questions online
, it seems like discord
.js used to have a
streamTime
streamTime
property
. It looks like this has been removed for some reason in the next release
.
- Why has this been removed
?
- Is there any replacement or other way to get the current position in millis
? I saw
https://discord.js.org/#/docs/voice/main/class/AudioResource?scrollTo=playbackDuration
, but this seems to be something different
.
I am playing the resource using this method
:
https://github.com/manuel-rw/jellyfin-discord-music-bot/blob/92021dd94e824af91a559d161df11b2898812595/src/clients/discord/discord.voice.service.ts#L87
Recent Announcements
Similar Threads
audio duration
d-Iaa
discord.js - Imagine an app / djs-voice
3y ago
Delete audio resource
d-Iaa
discord.js - Imagine an app / djs-voice
2y ago
Fetch URL from audio resource
d-Iaa
discord.js - Imagine an app / djs-voice
3y ago