mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Restrict series/programs to uncategorized items
This commit is contained in:
parent
46daea5238
commit
07d2537de6
1 changed files with 13 additions and 3 deletions
|
@ -83,7 +83,11 @@ const LiveTVSearchResults: FunctionComponent<LiveTVSearchResultsProps> = ({ serv
|
||||||
// Episodes row
|
// Episodes row
|
||||||
fetchItems(apiClient, {
|
fetchItems(apiClient, {
|
||||||
IncludeItemTypes: 'LiveTvProgram',
|
IncludeItemTypes: 'LiveTvProgram',
|
||||||
IsSeries: true
|
IsMovie: false,
|
||||||
|
IsSeries: true,
|
||||||
|
IsSports: false,
|
||||||
|
IsKids: false,
|
||||||
|
IsNews: false
|
||||||
}).then(result => setEpisodes(result.Items || []));
|
}).then(result => setEpisodes(result.Items || []));
|
||||||
// Sports row
|
// Sports row
|
||||||
fetchItems(apiClient, {
|
fetchItems(apiClient, {
|
||||||
|
@ -101,8 +105,14 @@ const LiveTVSearchResults: FunctionComponent<LiveTVSearchResultsProps> = ({ serv
|
||||||
IsNews: true
|
IsNews: true
|
||||||
}).then(result => setNews(result.Items || []));
|
}).then(result => setNews(result.Items || []));
|
||||||
// Programs row
|
// Programs row
|
||||||
fetchItems(apiClient, { IncludeItemTypes: 'LiveTvProgram' })
|
fetchItems(apiClient, {
|
||||||
.then(result => setPrograms(result.Items || []));
|
IncludeItemTypes: 'LiveTvProgram',
|
||||||
|
IsMovie: false,
|
||||||
|
IsSeries: false,
|
||||||
|
IsSports: false,
|
||||||
|
IsKids: false,
|
||||||
|
IsNews: false
|
||||||
|
}).then(result => setPrograms(result.Items || []));
|
||||||
// Channels row
|
// Channels row
|
||||||
fetchItems(apiClient, { IncludeItemTypes: 'TvChannel' })
|
fetchItems(apiClient, { IncludeItemTypes: 'TvChannel' })
|
||||||
.then(result => setChannels(result.Items || []));
|
.then(result => setChannels(result.Items || []));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue