Skip to content

Commit

Permalink
Merge pull request jellyfin#2264 from Artiume/patch-4
Browse files Browse the repository at this point in the history
Remove games references
  • Loading branch information
cvium committed Dec 25, 2020
2 parents fa678ef + 6725f9e commit 60276a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/controllers/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,6 @@ import { appRouter } from '../components/appRouter';

if (item.Type === 'MusicGenre') {
query.IncludeItemTypes = 'MusicAlbum';
} else if (item.Type === 'GameGenre') {
query.IncludeItemTypes = 'Game';
} else if (item.CollectionType === 'movies') {
query.IncludeItemTypes = 'Movie';
} else if (item.CollectionType === 'tvshows') {
Expand Down
2 changes: 0 additions & 2 deletions src/scripts/itembynamedetailpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,6 @@ function addCurrentItemToQuery(query, item) {
query.Genres = item.Name;
} else if (item.Type === 'MusicGenre') {
query.Genres = item.Name;
} else if (item.Type === 'GameGenre') {
query.Genres = item.Name;
} else if (item.Type === 'Studio') {
query.StudioIds = item.Id;
} else if (item.Type === 'MusicArtist') {
Expand Down

0 comments on commit 60276a7

Please sign in to comment.