mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
feat: Add explicit status for Navidrome and OpenSubsonic (#1220)
* add navidrome explicit status * add ExplicitStatus enum and support opensubsonic * add explicit status to cards
This commit is contained in:
@@ -85,6 +85,9 @@ export const SongListGridView = ({ gridRef, itemCount }: SongListGridViewProps)
|
||||
case SongListSort.DURATION:
|
||||
rows.push(SONG_CARD_ROWS.duration);
|
||||
break;
|
||||
case SongListSort.EXPLICIT_STATUS:
|
||||
rows.push(SONG_CARD_ROWS.explicitStatus);
|
||||
break;
|
||||
case SongListSort.FAVORITED:
|
||||
break;
|
||||
case SongListSort.NAME:
|
||||
|
||||
@@ -133,6 +133,11 @@ const FILTERS = {
|
||||
name: i18n.t('filter.duration', { postProcess: 'titleCase' }),
|
||||
value: SongListSort.DURATION,
|
||||
},
|
||||
{
|
||||
defaultOrder: SortOrder.DESC,
|
||||
name: i18n.t('filter.explicitStatus', { postProcess: 'titleCase' }),
|
||||
value: SongListSort.EXPLICIT_STATUS,
|
||||
},
|
||||
{
|
||||
defaultOrder: SortOrder.DESC,
|
||||
name: i18n.t('filter.isFavorited', { postProcess: 'titleCase' }),
|
||||
|
||||
Reference in New Issue
Block a user