Better detect videos playing for playback cleanup
This commit is contained in:
parent
20c1c6e502
commit
dfcfa0edab
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ def _playback_cleanup(ended=False):
|
||||||
DU().downloadUrl(
|
DU().downloadUrl(
|
||||||
'{server}/video/:/transcode/universal/stop',
|
'{server}/video/:/transcode/universal/stop',
|
||||||
parameters={'session': v.PKC_MACHINE_IDENTIFIER})
|
parameters={'session': v.PKC_MACHINE_IDENTIFIER})
|
||||||
if playerid == 1:
|
if status['plex_type'] in v.PLEX_VIDEOTYPES:
|
||||||
# Bookmarks might not be pickup up correctly, so let's do them
|
# Bookmarks might not be pickup up correctly, so let's do them
|
||||||
# manually. Applies to addon paths, but direct paths might have
|
# manually. Applies to addon paths, but direct paths might have
|
||||||
# started playback via PMS
|
# started playback via PMS
|
||||||
|
|
Loading…
Reference in a new issue