Plex-scripts
autoscan
Plex-scripts | autoscan | |
---|---|---|
55 | 40 | |
313 | 572 | |
- | 2.4% | |
7.1 | 2.9 | |
18 days ago | 5 months ago | |
Python | Go | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Plex-scripts
-
is there a way to "create a skip intro button" for specific videos?
Quick command-line script: https://github.com/Casvt/Plex-scripts/blob/main/changing_settings/intro_marker_editor.py
-
Script to auto remove movies from Plex
If you want to use the built in Plex auto delete for TV shows check out this script https://github.com/Casvt/Plex-scripts/blob/main/changing_settings/plex_auto_delete.py. It changes the built in Plex setting for TV shows to auto remove watched episodes up to 1 week after it's marked as watched. The script itself doesn't delete anything it's all handled by Plex which is nice.
-
Add sub-folders automatically to a playlist?
Update: Found these:https://www.reddit.com/r/PleX/comments/pbwf41/comment/hag32ge/?utm_medium=web2x&utm_source=share&context=3 which resulted in https://github.com/Casvt/Plex-scripts/blob/main/playlist_collection/sub_folder_playlists.py
-
Shuffle Tv Shows in order
A resident Python person was doing script requests, and I had them create a script that does exactly this: https://github.com/Casvt/Plex-scripts/blob/main/playlist_collection/rolling_tv_channel.py
-
Yet Another Multiple Versions Question
If you wanna go for the first method, add a custom skip to check resolution of the file grabbed and add a “4k” tag. Then on your Radarr 1080p instance only import items with the 4k tag and download compressed 1080p. You can use https://github.com/Casvt/Plex-scripts/blob/main/sonarr/root_folder_tagger.py as a starting point for the script. Let me know if you prefer this method and can or can’t figure out the scripting, I’d like something similar myself.
- What do you ACTUALLY need to backup?
- Auto subtitles
-
Python script to set all movies and shows in Plex to use English non forced subtitles. Created with the help of AI. (Updated and working)
This script is confirmed tested and working. Feel free to use this code for your own purposes. I will be running this code periodically on my home server along with some of my other neat little plex scripts like Plex Auto Delete. Thanks to all who helped! If you use this script and run into any bugs feel free to leave a comment. Cheers!
-
Python code to set all movies and shows in Plex to use English non forced subtitles (created with AI in less than 10 seconds)
This is code that I've been wanting to write for some time now but I kept putting it off. The reason I needed this code is because Plex sets subtitles to English Forced by default. I prefer to have regular non forced subtitles. ChatGPT wrote this code for me in Python using PlexApi that I'm gonna try out later when I'm home on my computer. If anything needs to be changed I can go back to my chat and tell it to modify the code again. My plan is to add this code to run alongside my other python scripts that I use with Plex in windows (like Plex Auto Delete). Just imagine what else AI can do for us! If this script is something you might be into feel free to modify and try it out yourself!
-
What do you think of a plex intros indexer ?
There are tools to import markers such as IntroEditorForPlex or some scripts such as intro_marker_editor.
autoscan
- What it looks like to host a completely automated *arr Suite
- Media added/update push from an *arr
-
Plex Autoscan FOR WINDOWS
Use Cloudbox/autoscan instead. Plex Autoscan is not maintained anymore, you can see the repository is archived.
-
Almost instant library scanning compared to built-in method, also much more lightweight for giant libraries. I'm not the author, I just added Postgres support and want to see it merged!
If you use *arr to manage your downloads try setting up the "Connect" section of it with Plex and only scanning when you import/add new media to save on the periodic scans for no reason, or perhaps check out https://github.com/cloudbox/autoscan as I've heard good things about this as well.
-
Should Plex move away from SQLite?
You should now use this instead: https://github.com/Cloudbox/autoscan
-
I've written a script to allow sonarr/radarr to inform tdarr of new/changed/deleted files
This tool is designed to let sonarr/radarr directly communicate with tdarr, much like autoscan is able to communicate between sonarr/radarr and plex/emby/jellyfin.
-
Plex + Autoscan (and connector) for refreshing metadata (for rclone mount users)
The solution to have plex refresh the metadata after a bazarr subtitle add is to use autoscan. NOT plex_autoscan, but autoscan. This is the newer version. You also need autoscan-adapter, the critical piece of the puzzle. Autoscan by itself lets bazarr/sonarr/etc notify plex to update libraries. The autoscan-adapter helps autoscan be able to actually refresh plex metadata so the new subtitles from bazarr can be found. This is all actually very easy to implement using docker-compose. Refer to the docker-compose setup in the autoscan-adapter github.
- Jellyfin erases my libraries when remote mount is down
-
I have Docker instance with exposed folders which are SMB mounted drives. Actual files are on different device mounted via fstab. If I add movie it will not automatically scan the folder. I have to Scan manually. Any recommendation how to fix this?
I recommand using Autoscan. If you're using the *arr stack to download your medias, it can then automatically trigger a scan. The *arr stack can do this without autoscan for jellyfin, but the advantage of autoscan is that you can plug it to any of your other means of downloading medias by just calling its webhook
- How to refresh a single library via command or API?
What are some alternatives?
Tdarr - Tdarr - Distributed transcode automation using FFmpeg/HandBrake + Audio/Video library analytics + video health checking (Windows, macOS, Linux & Docker)
plex_autoscan - Script to assist sonarr/radarr with plex imports. Will only scan the folder that has been imported, instead of the whole library section.
Tautulli - A Python based monitoring and tracking tool for Plex Media Server.
pasta - Audio & Subtitle Track Changer for Plex
Cloudbox - Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
Prowlarr
Tautulli-Wiki - Wiki for Tautulli
plex-auto-skip-intro - A simple docker mod to auto press the skip intro button
cloudplow - Automatic rclone remote uploader, with support for multiple remote/folder pairings. UnionFS Cleaner functionality: Deletion of UnionFS whiteout files and their corresponding files on rclone remotes. Automatic remote syncer: Sync between different remotes via a Scaleway server instance, that is created and destroyed at every sync.
python-plexapi - Python bindings for the Plex API.
qbittools