feat: update commit SHA, enhance audio player and full screen player with favorite functionality, and update various components to support starred tracks
This commit is contained in:
@@ -59,7 +59,8 @@ export default function PlaylistPage() {
|
||||
duration: song.duration,
|
||||
coverArt: song.coverArt ? api.getCoverArtUrl(song.coverArt, 300) : undefined,
|
||||
albumId: song.albumId,
|
||||
artistId: song.artistId
|
||||
artistId: song.artistId,
|
||||
starred: !!song.starred
|
||||
};
|
||||
playTrack(track);
|
||||
};
|
||||
@@ -78,7 +79,8 @@ export default function PlaylistPage() {
|
||||
duration: song.duration,
|
||||
coverArt: song.coverArt ? api.getCoverArtUrl(song.coverArt, 300) : undefined,
|
||||
albumId: song.albumId,
|
||||
artistId: song.artistId
|
||||
artistId: song.artistId,
|
||||
starred: !!song.starred
|
||||
};
|
||||
addToQueue(track);
|
||||
};
|
||||
@@ -98,7 +100,8 @@ export default function PlaylistPage() {
|
||||
duration: song.duration,
|
||||
coverArt: song.coverArt ? api.getCoverArtUrl(song.coverArt, 300) : undefined,
|
||||
albumId: song.albumId,
|
||||
artistId: song.artistId
|
||||
artistId: song.artistId,
|
||||
starred: !!song.starred
|
||||
}));
|
||||
|
||||
// Play the first track and add the rest to queue
|
||||
|
||||
Reference in New Issue
Block a user