mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-20 02:14:23 +02:00
add recently played songs carousel for jellyfin (#1494)
This commit is contained in:
@@ -59,8 +59,8 @@ const HomeRoute = () => {
|
|||||||
title: t('page.home.newlyAdded', { postProcess: 'sentenceCase' }),
|
title: t('page.home.newlyAdded', { postProcess: 'sentenceCase' }),
|
||||||
},
|
},
|
||||||
[HomeItem.RECENTLY_PLAYED]: {
|
[HomeItem.RECENTLY_PLAYED]: {
|
||||||
itemType: LibraryItem.ALBUM,
|
itemType: isJellyfin ? LibraryItem.SONG : LibraryItem.ALBUM,
|
||||||
sortBy: AlbumListSort.RECENTLY_PLAYED,
|
sortBy: isJellyfin ? SongListSort.RECENTLY_PLAYED : AlbumListSort.RECENTLY_PLAYED,
|
||||||
sortOrder: SortOrder.DESC,
|
sortOrder: SortOrder.DESC,
|
||||||
title: t('page.home.recentlyPlayed', { postProcess: 'sentenceCase' }),
|
title: t('page.home.recentlyPlayed', { postProcess: 'sentenceCase' }),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user