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:
parent
4488a586a4
commit
af61ae047c
2 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue