mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-14 14:40:08 +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;
|
||||
if (itemType === LibraryItem.ALBUM && rowSongs?.length) {
|
||||
player.addToQueueByData(rowSongs, playType);
|
||||
player.addToQueueByData(
|
||||
sortSongList(rowSongs, SongListSort.ALBUM, SortOrder.ASC),
|
||||
playType,
|
||||
);
|
||||
return;
|
||||
}
|
||||
player.addToQueueByFetch(item._serverId, [item.id], itemType, playType);
|
||||
|
||||
Reference in New Issue
Block a user