Plex Companion: Add size of XML

This commit is contained in:
tomkat83 2017-05-06 18:42:43 +02:00
parent 9c48840b54
commit 264bf9ad87

View file

@ -55,7 +55,7 @@ class SubscriptionManager:
def msg(self, players): def msg(self, players):
msg = getXMLHeader() msg = getXMLHeader()
msg += '<MediaContainer commandID="INSERTCOMMANDID"' msg += '<MediaContainer size="3" commandID="INSERTCOMMANDID"'
msg += ' machineIdentifier="%s"' % window('plex_client_Id') msg += ' machineIdentifier="%s"' % window('plex_client_Id')
msg += self.getTimelineXML(self.js.getAudioPlayerId(players), plex_audio()) msg += self.getTimelineXML(self.js.getAudioPlayerId(players), plex_audio())
msg += self.getTimelineXML(self.js.getPhotoPlayerId(players), plex_photo()) msg += self.getTimelineXML(self.js.getPhotoPlayerId(players), plex_photo())