Skip to content

Commit

Permalink
Merge pull request #3250 from thornbill/random-genre-movies
Browse files Browse the repository at this point in the history
Make movies and shows in genre list random
  • Loading branch information
thornbill authored Dec 30, 2021
2 parents ae0622d + f87bdf0 commit 8b09231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controllers/movies/moviegenres.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import '../../elements/emby-button/emby-button';

const enableImageTypes = viewStyle == 'Thumb' || viewStyle == 'ThumbCard' ? 'Primary,Backdrop,Thumb' : 'Primary';
const query = {
SortBy: 'SortName',
SortBy: 'Random',
SortOrder: 'Ascending',
IncludeItemTypes: 'Movie',
Recursive: true,
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/shows/tvgenres.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import '../../elements/emby-button/emby-button';

const enableImageTypes = viewStyle == 'Thumb' || viewStyle == 'ThumbCard' ? 'Primary,Backdrop,Thumb' : 'Primary';
const query = {
SortBy: 'SortName',
SortBy: 'Random',
SortOrder: 'Ascending',
IncludeItemTypes: 'Series',
Recursive: true,
Expand Down

0 comments on commit 8b09231

Please sign in to comment.