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
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -63,6 +63,7 @@
- [Anantharaju S](https://github.com/Anantharajus)
- [Merlin Sievers](https://github.com/dann-merlin)
- [Fishbigger](https://github.com/fishbigger)
- [sleepycatcoding](https://github.com/sleepycatcoding)
# Emby Contributors
+1 -1
View File
@@ -2123,7 +2123,7 @@ class PlaybackManager {
const getAdditionalParts = async (items) => {
const getOneAdditionalPart = async function (item) {
let retVal = [item];
if (item.Type === 'Movie') {
if (item.Type === 'Movie' || item.Type === 'Episode') {
const client = ServerConnections.getApiClient(item.ServerId);
const user = await client.getCurrentUser();
const additionalParts = await client.getAdditionalVideoParts(user.Id, item.Id);