Comments (4)
This is a Live-Stream related problem.
Over here it shows that the duration of the "song" is null, since a Live-Stream doesn't have an "ending time".
(I also get the same error when running nowPlaying)
#29
from discord-music-player.
I figured out what's causing the issue. It's most likely happening because some of the fields are null.
[0] name: 'lofi hip hop radio - beats to relax/study to',
[0] duration: null,
[0] author: 'ChilledCow',
[0] url: 'https://www.youtube.com/watch?v=5qap5aO4i9A',
[0] thumbnail: 'https://i.ytimg.com/vi/5qap5aO4i9A/hq720_live.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLD0pBKpXiNqTSHm5c4PWbtYvEhs3A',
[0] queue: Queue {
[0] _events: [Object: null prototype] {},
[0] _eventsCount: 0,
[0] _maxListeners: undefined,
[0] guildID: '760697375949324308',
[0] dispatcher: null,
[0] connection: VoiceConnection {
[0] _events: [Object: null prototype],
[0] _eventsCount: 4,
[0] _maxListeners: undefined,
[0] voiceManager: [ClientVoiceManager],
[0] channel: [VoiceChannel],
[0] status: 0,
[0] speaking: [Speaking],
[0] authentication: [Object],
[0] player: [AudioPlayer],
[0] ssrcMap: Map(0) {},
[0] _speaking: Map(0) {},
[0] sockets: [Object],
[0] receiver: [VoiceReceiver],
[0] connectTimeout: Timeout {
[0] _idleTimeout: -1,
[0] _idlePrev: null,
[0] _idleNext: null,
[0] _idleStart: 16316,
[0] _onTimeout: null,
[0] _timerArgs: undefined,
[0] _repeat: null,
[0] _destroyed: true,
[0] [Symbol(refed)]: true,
[0] [Symbol(kHasPrimitive)]: false,
[0] [Symbol(asyncId)]: 2576,
[0] [Symbol(triggerId)]: 0
[0] },
[0] [Symbol(kCapture)]: false
[0] },
[0] songs: [ [Circular *1] ],
[0] stopped: false,
[0] skipped: false,
[0] volume: 100,
[0] playing: true,
[0] repeatMode: false,
[0] repeatQueue: false,
[0] [Symbol(kCapture)]: false
[0] },
[0] requestedBy: 'Zyleaf#1018',
[0] seekTime: 0
[0] }
from discord-music-player.
This is a Live-Stream related problem.
Over here it shows that the duration of the "song" is null, since a Live-Stream doesn't have an "ending time".
(I also get the same error when running nowPlaying)
#29
I didn't see that you mentioned some fields being null. Yeah, I think that's causing the issue.
from discord-music-player.
I am gonna close the issue. Thanks for letting me know (:
from discord-music-player.
Related Issues (20)
- [BUG] spotify playlist not working at all HOT 3
- [BUG] queue.playlist() throwing errors
- [BUG] ytdl-core throws "aborted" error on longer songs HOT 1
- [FR] custom ffmpeg filters for stuff like bassboost
- [BUG] Throwing undefined in Queue#connection. HOT 2
- [FR] Fetch All Tracks from Spotify Playlist HOT 1
- [BUG] DMPError VoiceConnection Error in Linux
- [BUG] Unhandled error when trying to play music HOT 1
- [BUG] Queue.move is not a function HOT 8
- [BUG] play mp3 audio from url
- [BUG] Error in display_name property when loading a playlist HOT 3
- [BUG] ab_channel query is broke the queue.play HOT 3
- Playlist.setData
- [BUG] Error: Invalid header check HOT 1
- [BUG] Bot exits after playing ~30sec of music. HOT 9
- [BUG] DMP error: missing catch or finally
- TypeError: client.player.getQueue is not a function
- [BUG] Multiple Attempts to resolve one video HOT 6
- [BUG] SearchIsNull: The was no YouTube song found by that query. HOT 5
- [BUG] Playing a SPECIFIC YouTube video link doesn't play the exact same video
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 discord-music-player.