mirror of https://github.com/morpheus65535/bazarr
Removed media.resume from Plex webhook to prevent over usage in specific scenarios.
This commit is contained in:
parent
275aa24f58
commit
28e28fbd5c
|
@ -2073,7 +2073,7 @@ class WebHooksPlex(Resource):
|
||||||
parsed_json_webhook = json.loads(json_webhook)
|
parsed_json_webhook = json.loads(json_webhook)
|
||||||
|
|
||||||
event = parsed_json_webhook['event']
|
event = parsed_json_webhook['event']
|
||||||
if event not in ['media.play', 'media.resume']:
|
if event not in ['media.play']:
|
||||||
return '', 204
|
return '', 204
|
||||||
|
|
||||||
media_type = parsed_json_webhook['Metadata']['type']
|
media_type = parsed_json_webhook['Metadata']['type']
|
||||||
|
|
Loading…
Reference in New Issue