diff --git a/resources/lib/PlaybackUtils.py b/resources/lib/PlaybackUtils.py index 59aa8642..0d25fa71 100644 --- a/resources/lib/PlaybackUtils.py +++ b/resources/lib/PlaybackUtils.py @@ -48,6 +48,18 @@ class PlaybackUtils(): except: return + # For split movies + if u'PartCount' in result: + partcount = result[u'PartCount'] + # Get additional parts/playurl + url = "{server}/mediabrowser/Videos/%s/AdditionalParts" % id + parts = self.downloadUtils.downloadUrl(url) + partsId = [id] + for part in parts[u'Items']: + partId = part[u'Id'] + partsId.append(partId) + self.PLAYAllItems(partsId, startPositionTicks=None) + userData = result['UserData'] resume_result = 0 seekTime = 0