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

Merge pull request #4534 from sleepycatcoding/fix_additional_parts_in_episode

Seamless playing in multipart episodes
This commit is contained in:
Bill Thornton 2023-05-23 16:37:34 -04:00 committed by GitHub
commit 9bec991458
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -63,6 +63,7 @@
- [Anantharaju S](https://github.com/Anantharajus) - [Anantharaju S](https://github.com/Anantharajus)
- [Merlin Sievers](https://github.com/dann-merlin) - [Merlin Sievers](https://github.com/dann-merlin)
- [Fishbigger](https://github.com/fishbigger) - [Fishbigger](https://github.com/fishbigger)
- [sleepycatcoding](https://github.com/sleepycatcoding)
# Emby Contributors # Emby Contributors

View file

@ -2123,7 +2123,7 @@ class PlaybackManager {
const getAdditionalParts = async (items) => { const getAdditionalParts = async (items) => {
const getOneAdditionalPart = async function (item) { const getOneAdditionalPart = async function (item) {
let retVal = [item]; let retVal = [item];
if (item.Type === 'Movie') { if (item.Type === 'Movie' || item.Type === 'Episode') {
const client = ServerConnections.getApiClient(item.ServerId); const client = ServerConnections.getApiClient(item.ServerId);
const user = await client.getCurrentUser(); const user = await client.getCurrentUser();
const additionalParts = await client.getAdditionalVideoParts(user.Id, item.Id); const additionalParts = await client.getAdditionalVideoParts(user.Id, item.Id);