mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-15 07:00:03 +02:00
use album order for album view playlist playback
This commit is contained in:
@@ -125,7 +125,10 @@ export const PlaylistDetailAlbumView = ({ data }: { data: PlaylistSongListRespon
|
|||||||
|
|
||||||
const rowSongs = (item as PlaylistAlbumRow)._playlistSongs;
|
const rowSongs = (item as PlaylistAlbumRow)._playlistSongs;
|
||||||
if (itemType === LibraryItem.ALBUM && rowSongs?.length) {
|
if (itemType === LibraryItem.ALBUM && rowSongs?.length) {
|
||||||
player.addToQueueByData(rowSongs, playType);
|
player.addToQueueByData(
|
||||||
|
sortSongList(rowSongs, SongListSort.ALBUM, SortOrder.ASC),
|
||||||
|
playType,
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
player.addToQueueByFetch(item._serverId, [item.id], itemType, playType);
|
player.addToQueueByFetch(item._serverId, [item.id], itemType, playType);
|
||||||
|
|||||||
Reference in New Issue
Block a user