mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Do not pass null for start index
This commit is contained in:
parent
64b3fc80dc
commit
480f57d660
1 changed files with 3 additions and 3 deletions
|
@ -736,7 +736,7 @@ class ItemsView {
|
|||
autoplay: true
|
||||
});
|
||||
} else {
|
||||
getItems(self, self.params, currentItem, null, null, 300).then(function (result) {
|
||||
getItems(self, self.params, currentItem, null, 0, 300).then(function (result) {
|
||||
playbackManager.play({
|
||||
items: result.Items,
|
||||
autoplay: true
|
||||
|
@ -753,7 +753,7 @@ class ItemsView {
|
|||
items: [currentItem]
|
||||
});
|
||||
} else {
|
||||
getItems(self, self.params, currentItem, null, null, 300).then(function (result) {
|
||||
getItems(self, self.params, currentItem, null, 0, 300).then(function (result) {
|
||||
playbackManager.queue({
|
||||
items: result.Items
|
||||
});
|
||||
|
@ -767,7 +767,7 @@ class ItemsView {
|
|||
if (currentItem && !self.hasFilters) {
|
||||
playbackManager.shuffle(currentItem);
|
||||
} else {
|
||||
getItems(self, self.params, currentItem, 'Random', null, 300).then(function (result) {
|
||||
getItems(self, self.params, currentItem, 'Random', 0, 300).then(function (result) {
|
||||
playbackManager.play({
|
||||
items: result.Items,
|
||||
autoplay: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue