Fix PMS timeline reporting on clients when using playMedia (#826)

This commit is contained in:
jjlawren 2021-09-12 20:51:18 -05:00 committed by GitHub
parent b8cef9dc12
commit 69739d6f2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -511,7 +511,9 @@ class PlexClient(PlexObject):
playqueue = media if isinstance(media, PlayQueue) else self._server.createPlayQueue(media)
self.sendCommand('playback/playMedia', **dict({
'providerIdentifier': 'com.plexapp.plugins.library',
'machineIdentifier': self._server.machineIdentifier,
'protocol': server_url[0],
'address': server_url[1].strip('/'),
'port': server_port,
'offset': offset,