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

Merge pull request #1360 from MrTimscampi/photo-500-limit

Remove the 500 item limitation on photo playback
This commit is contained in:
dkanada 2020-06-05 23:16:11 +09:00 committed by GitHub
commit 29e3ee6294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1907,11 +1907,8 @@ define(['events', 'datetime', 'appSettings', 'itemHelper', 'pluginManager', 'pla
// Setting this to true may cause some incorrect sorting // Setting this to true may cause some incorrect sorting
Recursive: false, Recursive: false,
SortBy: options.shuffle ? 'Random' : 'SortName', SortBy: options.shuffle ? 'Random' : 'SortName',
MediaTypes: 'Photo,Video', MediaTypes: 'Photo,Video'
Limit: 500
}).then(function (result) { }).then(function (result) {
var items = result.Items; var items = result.Items;
var index = items.map(function (i) { var index = items.map(function (i) {