diff options
-rw-r--r-- | backend.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.js b/backend.js index c04f4a9..a491f00 100644 --- a/backend.js +++ b/backend.js @@ -795,7 +795,7 @@ export default class Backend extends EventEmitter { queuePlayer.on('playing', track => { if (track) { const metadata = this.getMetadataFor(track) - queuePlayer.setDuration(metadata.duration) + queuePlayer.setDuration(metadata?.duration) } }) |