diff --git a/src/components/Discover/DiscoverMusics/index.tsx b/src/components/Discover/DiscoverMusics/index.tsx
index 8e3329b6d..9e89bc896 100644
--- a/src/components/Discover/DiscoverMusics/index.tsx
+++ b/src/components/Discover/DiscoverMusics/index.tsx
@@ -10,7 +10,7 @@ import {
import FilterSlideover from '@app/components/Discover/FilterSlideover';
import useDiscover from '@app/hooks/useDiscover';
import Error from '@app/pages/_error';
-import { BarsArrowDownIcon, FunnelIcon } from '@heroicons/react/24/solid';
+import { FunnelIcon } from '@heroicons/react/24/solid';
import type { MusicResult } from '@server/models/Search';
import { useRouter } from 'next/router';
import { useState } from 'react';
@@ -55,11 +55,6 @@ const DiscoverMusics = () => {
-
-
-
-
-
onClose()}
>
-
-
- {intl.formatMessage(
- type === 'movie' ? messages.releaseDate : messages.firstAirDate
- )}
-
+ { type !== 'music' &&
+ (
+
+ {intl.formatMessage(
+ type === 'movie' ? messages.releaseDate : messages.firstAirDate
+ )}
+
{intl.formatMessage(messages.from)}
@@ -124,7 +125,8 @@ const FilterSlideover = ({
/>
-
+
)
+ }
{type === 'movie' && (
<>
@@ -138,17 +140,20 @@ const FilterSlideover = ({
/>
>
)}
-
- {intl.formatMessage(messages.genres)}
-
- {
- updateQueryParams('genre', value?.map((v) => v.value).join(','));
- }}
- />
+ { type !== 'music' && (
+ <>
+
+ {intl.formatMessage(messages.genres)}
+
+ {
+ updateQueryParams('genre', value?.map((v) => v.value).join(','));
+ }}
+ />
+ >)}
{intl.formatMessage(messages.keywords)}
@@ -156,9 +161,11 @@ const FilterSlideover = ({
defaultValue={currentFilters.keywords}
isMulti
onChange={(value) => {
- updateQueryParams('keywords', value?.map((v) => v.value).join(','));
+ updateQueryParams('keywords', type === 'music' ? value?.map((v) => v.label).join(' ') : value?.map((v) => v.value).join(','));
}}
/>
+ { type !== 'music' && (
+ <>
{intl.formatMessage(messages.originalLanguage)}
@@ -313,6 +320,8 @@ const FilterSlideover = ({
}}
/>)
: null}
+ >)
+ }
{currentStatus && currentStatus !== MediaStatus.UNKNOWN && (
diff --git a/src/i18n/globalMessages.ts b/src/i18n/globalMessages.ts
index ca66a891f..4c4e2e094 100644
--- a/src/i18n/globalMessages.ts
+++ b/src/i18n/globalMessages.ts
@@ -19,6 +19,8 @@ const globalMessages = defineMessages({
collection: 'Collection',
tvshow: 'Series',
tvshows: 'Series',
+ music: 'Music',
+ musics: 'Musics',
cancel: 'Cancel',
canceling: 'Canceling…',
approve: 'Approve',
diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json
index 10165c9e1..dc94a1fbb 100644
--- a/src/i18n/locale/en.json
+++ b/src/i18n/locale/en.json
@@ -198,7 +198,7 @@
"components.LanguageSelector.languageServerDefault": "Default ({language})",
"components.LanguageSelector.originalLanguageDefault": "All Languages",
"components.Layout.LanguagePicker.displaylanguage": "Display Language",
- "components.Layout.SearchInput.searchPlaceholder": "Search Movies & TV",
+ "components.Layout.SearchInput.searchPlaceholder": "Search Musics, Movies & TV",
"components.Layout.Sidebar.browsemovies": "Movies",
"components.Layout.Sidebar.browsetv": "Series",
"components.Layout.Sidebar.dashboard": "Discover",