Update ip_whitelist.py

This commit is contained in:
blacktwin 2017-10-13 08:37:46 -04:00 committed by GitHub
parent e3aa3ef86a
commit 861d90b4ae

View File

@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
'''
Use a whitelist of IP addresses to restrict access. Any streams where the IP not listed will be killed.
Receive session_key and IP from PlexPy when playback starts. Use IP to check against whitelist.
If not in whitelist use session_key to determine stream and kill.
PlexPy > Settings > Notification Agents > Scripts > Bell icon:
[X] Notify on playback start