Fix YouTube track live attribute (#574)

This commit is contained in:
Max Isom 2022-03-15 18:58:39 -04:00 committed by GitHub
parent 667894e829
commit df803b8c76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -193,7 +193,7 @@ export default class {
offset: 0,
url,
playlist: queuedPlaylist ?? null,
isLive: false,
isLive: (video as YoutubeVideo).snippet.liveBroadcastContent === 'live',
thumbnailUrl: video.snippet.thumbnails.medium.url,
};