All Projects → blacktwin → Jbops

blacktwin / Jbops

Just a Bunch Of Plex Scripts

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Jbops

Ember Cli Fastboot
Server-side rendering for Ember.js apps
Stars: ✭ 849 (-2.75%)
Mutual labels:  hacktoberfest
Conpot
ICS/SCADA honeypot
Stars: ✭ 853 (-2.29%)
Mutual labels:  hacktoberfest
Bakeware
Compile Elixir applications into single, easily distributed executable binaries
Stars: ✭ 865 (-0.92%)
Mutual labels:  hacktoberfest
Lozad.js
🔥 Highly performant, light ~1kb and configurable lazy loader in pure JS with no dependencies for responsive images, iframes and more
Stars: ✭ 6,932 (+694.04%)
Mutual labels:  hacktoberfest
Vscode Debug Visualizer
An extension for VS Code that visualizes data during debugging.
Stars: ✭ 7,116 (+715.12%)
Mutual labels:  hacktoberfest
Accumulo
Apache Accumulo
Stars: ✭ 857 (-1.83%)
Mutual labels:  hacktoberfest
Laminas Code
Extensions to the PHP Reflection API, static code scanning, and code generation
Stars: ✭ 844 (-3.32%)
Mutual labels:  hacktoberfest
Go Jira
Go client library for Atlassian Jira
Stars: ✭ 871 (-0.23%)
Mutual labels:  hacktoberfest
Pynvim
Python client and plugin host for Nvim
Stars: ✭ 851 (-2.52%)
Mutual labels:  hacktoberfest
Stalin Sort
Add a stalin sort algorithm in any language you like ❣️ if you like give us a ⭐️
Stars: ✭ 868 (-0.57%)
Mutual labels:  hacktoberfest
Platform
Reactive libraries for Angular
Stars: ✭ 7,020 (+704.12%)
Mutual labels:  hacktoberfest
Trivy
Scanner for vulnerabilities in container images, file systems, and Git repositories, as well as for configuration issues
Stars: ✭ 9,673 (+1008.02%)
Mutual labels:  hacktoberfest
Supervisor
🏡 Home Assistant Supervisor
Stars: ✭ 862 (-1.26%)
Mutual labels:  hacktoberfest
Kudo
Kubernetes Universal Declarative Operator (KUDO)
Stars: ✭ 849 (-2.75%)
Mutual labels:  hacktoberfest
Pskoans
A simple, fun, and interactive way to learn the PowerShell language through Pester unit testing.
Stars: ✭ 868 (-0.57%)
Mutual labels:  hacktoberfest
Android Image Picker
Image Picker for Android 🤖
Stars: ✭ 847 (-2.98%)
Mutual labels:  hacktoberfest
Hazelcast Jet
Distributed Stream and Batch Processing
Stars: ✭ 855 (-2.06%)
Mutual labels:  hacktoberfest
Azure Sdk For Js
This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/en-us/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
Stars: ✭ 872 (-0.11%)
Mutual labels:  hacktoberfest
Oh My Posh
A prompt theme engine for any shell.
Stars: ✭ 841 (-3.67%)
Mutual labels:  hacktoberfest
Swiftyjsonaccelerator
macOS app to generate Swift 5 code for models from JSON (with Codeable)
Stars: ✭ 864 (-1.03%)
Mutual labels:  hacktoberfest

JBOPS - Just a Bunch Of Plex Scripts

Most of these scripts utilize a combination of Tautulli, python-plexapi, and requests.

For use of config.ini for common variables please use plexapi.CONFIG

Default location ~/.config/plexapi/config.ini

# To find path
import plexapi
print(plexapi.CONFIG_PATH)

Contact

PM PM PM Issue

Donation

Buy Me a Coffee    or    Buy Me a Beer

Coins?
BTC: 3FCb4F3bv1hHCJxq6HJMQiAMn883v3okdh
BCH: qr758vkn7nv6hx0ur9m2tlv8q4qjrvg6pg3yw4kzwq
ETH: 0xa76c8EB9A4955023F0dAABfb32FCD2b460910F2b
LTC: MCw3r6rC8jNCcUvSMSu9EqQyyvEDp8EpEf

Scripts List

Gist

Scripts pulled from my gist profile.

Maps
Example File Description
Maps Using Tautulli data, draw a map connecting Server to Clients based on IP addresses.
Fun
Gist File Description
playlist_manager Create and share playlists based on Most Popular TV/Movies from Tautulli and Aired this day in history.
plexapi_haiku Create a hiaku from titles found in Plex.
Kill stream Killing streams is a Plex Pass feature. These scripts will only work for Plex Pass users.
Gist File Description
limiterr Limiting Plex users by plays, watches, or total time from Tautulli.. See killsteam section limiterr_readme.md
kill_stream Use Conditions, Arguements, and Parameters to kill a Plex stream. See killsteam section readme.md
Notify
Gist File Description
notify_delay Delay Notification Agent message for concurrent streams.
find_unwatched_notify Find what was added TFRAME ago and not watched and notify admin using Tautulli.
notify_added_custom Send an email with what was added to Plex in the past week using Tautulli. Email includes title (TV: Show Name: Episode Name; Movie: Movie Title), time added, image, and summary.
notify_fav_tv_all_movie Notify users of recently added episode to show that they have watched at least LIMIT times via email. Also notify users of new movies.
notify_newip If a new IP is found send notification via the Email Notification Agent. Email contains User's Avatar image, link to location, IP address, and User's Email address.
notify_on_added Send an Email notification when a specific show is added to Plex. Add shows to list that you want notifications for.
notify_user_favorites Notify users of recently added episode to show that they have watched at least LIMIT times via email.
notify_user_newip Notify user that their account has been accessed by a new IP. IP is cleared to make sure notification is sent again.
twitter_notify Post to Twitter when TV/Movie is added to Plex. Include custom message and embed poster image. Option to tweet to TWITTER_USER if title is inside TITLE_FIND.
Utility
Gist File Description
plex_api_parental_control Set as cron or task for times of allowing and not allowing user access to server. Unsharing will kill any current stream from user before unsharing.
plex_api_share Share or unshare libraries
bypass_auth_name Use Tautulli to pull last IP address from user and add to List of IP addresses and networks that are allowed without auth in Plex.
delete_watched_TV From a list of TV shows, check if users in a list has watched shows episodes. If all users in list have watched an episode of listed show, then delete episode.
find_plex_meta Find location of Plex metadata.
find_unwatched Find what was added TFRAME ago and not watched using Tautulli.
grab_gdrive_media Grab media (videos, pictures) from Google Drive. All videos and pictures were automatically synced from Google Photos to Google Drive. Puts media into MEDIA_TYPE/YEAR/MONTH-DAY/FILE.ext directory structure.
plex_api_poster_pull Pull Movie and TV Show poster images from Plex.
plex_imgur_dl Pull poster images from Imgur and places them inside Shows root folder.
plex_theme_songs Download theme songs from Plex TV Shows.
plexapi_delete_playlists Delete all playlists from Plex using PlexAPI.
refresh_next_episode Refresh the next episode of show once current episode is watched.
remove_watched_movies Find Movies that have been watched by a list of users. If all users have watched movie then delete.
stream_limiter_ban_email This is indented to restrict a user to the LIMIT amount of concurrent streams. User will be warned, punished, and banned completely if violations continue.
Reporting
Gist File Description
weekly_stats_reporting Pull library and user statistics of last week.
added_to_plex Find when media was added between STARTFRAME and ENDFRAME to Plex through Tautulli.
check_play Check if user has play a file more than 3 times but has not finished watching. Hoping to catch play failures.
check_plex_log Checking plex logs for debug code WARN and 'Failed to obtain a streaming resource for transcode of key /library/metadata/"titleID"'.
drive_check Check if drive exists. If not then notify via Tautulli notifier agent.
userplays_weekly_reporting Use Tautulli to count how many plays per user occurred this week and send email via Tautulli.

Setting Up Tautulli for Custom Scripts

Enable API in Tautulli:

Tautullli > Settings > Web Interface > API > Enable API

Enabling Scripts in Tautulli:

Taultulli > Settings > Notification Agents > Add a Notification Agent > Script

Configuration

Taultulli > Settings > Notification Agents > New Script > Configuration:

  • [ ] Set scripts location to location of your script
  • [ ] Scroll down to option you want to use and select the script from the drop down menu
  • [ ] Set desired Script Timeout value
  • [ ] Optional - Add a description of the script for easy reference
  • [ ] Save

Triggers

Taultulli > Settings > Notification Agents > New Script > Triggers:

  • [ ] Check desired trigger
  • [ ] Save

Conditions

Taultulli > Settings > Notification Agents > New Script > Conditions:

  • [ ] Set desired conditions
  • [ ] Save

For more information on Tautulli conditions see here

Script Arguments

Taultulli > Settings > Notification Agents > New Script > Script Arguments:

  • [ ] Select desired trigger
  • [ ] Input desired notification parameters (List of parameters will likely be found inside script)
  • [ ] Save
  • [ ] Close

Common variables

Plex
Tautulli
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].