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

Fix playback control issues with chromecast

This commit is contained in:
Sky-High 2023-10-19 13:05:56 +02:00 committed by Bill Thornton
parent 7df0ffcdfc
commit 108e00ac45
5 changed files with 125 additions and 66 deletions

View file

@ -121,14 +121,17 @@ function showContextMenu(card, options) {
playlistId: playlistId,
collectionId: collectionId,
user: user
}, options || {})).then(result => {
if (result.command === 'playallfromhere' || result.command === 'queueallfromhere') {
executeAction(card, options.positionTo, result.command);
} else if (result.updated || result.deleted) {
notifyRefreshNeeded(card, options.itemsContainer);
}
});
}, options || {}))
.then(result => {
if (result.command === 'playallfromhere' || result.command === 'queueallfromhere') {
executeAction(card, options.positionTo, result.command);
} else if (result.updated || result.deleted) {
notifyRefreshNeeded(card, options.itemsContainer);
}
})
.catch(err => {
console.debug('[shortcuts.showContextMenu] itemContextMenu.show reject', err);
});
});
});
});