Go to file
2017-07-13 08:28:56 -04:00
archive Rename notify_geomail.py to archive/notify_geomail.py 2017-06-29 21:24:30 -04:00
fun Rename aired_today_playlist.py to fun/aired_today_playlist.py 2017-07-12 14:49:19 -04:00
killstream Rename create_wait_kill_all.py to killstream/create_wait_kill_all.py 2017-07-12 14:32:59 -04:00
notify Rename find_unwatched_notify.py to notify/find_unwatched_notify.py 2017-07-12 14:38:35 -04:00
reporting Rename drive_check.py to reporting/drive_check.py 2017-07-12 14:44:20 -04:00
utility Rename stream_limiter_ban_email.py to utility/stream_limiter_ban_email.py 2017-07-12 14:50:11 -04:00
README.md Update README.md 2017-07-13 08:28:56 -04:00

JBOPS - Just a Bunch Of Plex Scripts

Donate

Scripts pulled from my gist profile. https://gist.github.com/blacktwin

PlexPy Script Arguments:

-sn {show_name} -ena {episode_name} -ssn {season_num00} -enu {episode_num00} -srv {server_name} -med {media_type} -pos {poster_url} -tt {title} -sum {summary} -lbn {library_name} -grk {grandparent_rating_key} -ip {ip_address} -us {user} -uid {user_id} -pf {platform} -pl {player} -da {datestamp} -ti {timestamp} -purl {plex_url}

Enabling Scripts:

In the Notification Agents in the Settings menu. Click the Scripts gear. Your scripts location will be there. Can't remember if it's set automatically or not. If not, then set it where you'll keep your scripts. Scroll down to option you want to use and select the script from the drop down menu. Save. Click the Bell next to Scripts and enable Recently Added. Then click Notifications. Scroll down to Scripts. Enter in the Script Arguments found in the .py script. Save.

Scripts List

Category File Description
Fun aired_today_playlist Create a Plex Playlist with what was aired on this today's month-day, sort by oldest first. If Playlist from yesterday exists delete and create today's. If today's Playlist exists exit.
plexapi_haiku Create a hiaku from titles found in Plex.
killstream create_wait_kill_all Receive session_key from PlexPy when paused. Use session_id to create sub-script to wait for X time then check if still paused. If paused kill.
create_wait_kill_trans Receive session_key from PlexPy when paused. Use session_id to create sub-script to wait for X time then check if transcoding still paused. If so, kill.
kill_all_more_than If user has 2 or more concurrent streams kill all streams
kill_else_if_buffering Kill concurrent transcode streams of other users if Admin user is experiencing buffering warnings from PlexPy.
kill_more_than If user has 2 or more concurrent streams and the IP of the 2nd stream differs from 1st kill 2nd. If 2nd stream IP is the same as 1st stream don't kill.
kill_outsider_stream Kill stream if user is outside of local network.
kill_plex_stream Kill any Plex stream for whatever reason you want.
kill_session_bitrate Kill stream if bitrate is greater than 4 Mbps
kill_trans_exp_audio Kill Plex video transcoding streams only. All audio streams are left alone. Kill message based on platform.
new_kill_trans_pause Kill Plex paused video transcoding streams using PlexPy.