1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Added queryOptions to MusicGenre call on playbackmanager

UserSettings added param to function comment
This commit is contained in:
MrK 2023-09-20 22:55:16 +01:00
parent 4488a586a4
commit af61ae047c
2 changed files with 2 additions and 1 deletions

View file

@ -1850,7 +1850,7 @@ class PlaybackManager {
Recursive: true, Recursive: true,
SortBy: options.shuffle ? 'Random' : 'SortName', SortBy: options.shuffle ? 'Random' : 'SortName',
MediaTypes: 'Audio' MediaTypes: 'Audio'
})); }, queryOptions));
} else if (firstItem.IsFolder && firstItem.CollectionType === 'homevideos') { } else if (firstItem.IsFolder && firstItem.CollectionType === 'homevideos') {
promise = getItemsForPlayback(serverId, mergePlaybackQueries({ promise = getItemsForPlayback(serverId, mergePlaybackQueries({
ParentId: firstItem.Id, ParentId: firstItem.Id,

View file

@ -628,6 +628,7 @@ export class UserSettings {
* (old views such as list.js [Photos] will * (old views such as list.js [Photos] will
* use this one) * use this one)
* @param {string} key - Filter key. * @param {string} key - Filter key.
* @param {string} defaultSortBy - Default SortBy value.
* @return {Object} sortOptions object * @return {Object} sortOptions object
*/ */
getSortValuesLegacy(key, defaultSortBy) { getSortValuesLegacy(key, defaultSortBy) {