-
-
Notifications
You must be signed in to change notification settings - Fork 5
Installing PlexCache‐R
These instructions should still work with PlexCache v2.1.2 LTS branch, which was the last version of PlexCache-R.
Put the files from this Repo into a known folder on your Unraid server. I use the following:
/mnt/user/appdata/plexcache/plexcache_app.pyI'll keep using this in my examples, but make sure to use your own path.
Running the Setup Script and generating your plexcache_settings.json file. Click the link for full instructions and guidance.
There are other methods to run the PlexCache-R script, but I've only tested and use the UserScripts one, so that's all I'll list here for now. UserScripts Setup. Click the link for full instructions and guidance.
| Flag | Description |
|---|---|
--dry-run |
Simulate run without moving files (useful for testing). Alias: --debug
|
--verbose |
Show detailed DEBUG level logging. Alias: -v
|
--restore-plexcached |
Emergency restore: scan for all .plexcached files and restore them to original names |
--quiet |
Only send notifications on errors (suppresses summary notification). Alias: --notify-errors-only
|
Examples:
# Normal run
python3 plexcache_app.py
# Test run without moving files
python3 plexcache_app.py --dry-run
# Verbose output for troubleshooting
python3 plexcache_app.py --verbose
# Dry-run with verbose logging to see exactly what would happen
python3 plexcache_app.py --dry-run --verbose
# Restore all .plexcached backup files
python3 plexcache_app.py --restore-plexcached
# Run silently (only notify on errors) - ideal for scheduled cron jobs
python3 plexcache_app.py --quiet
# Combine flags as needed
python3 plexcache_app.py --dry-run --quietThe refactored version maintained full compatibility with the original.
HOWEVER - This Redux version DOES NOT maintain full compatibility.
I did make some vague efforts at the start, but there were so many things that didn't work properly that it just wasn't feasible.
So while the files used are the same, you -will- need to delete your plexcache_settings.json and run a new setup to create a new one.
-
Different Configuration: Uses the same
plexcache_settings.jsonfile, but the fields have changed - Added Functionality: All original features still exist, but now also work (where possible) for remote users, not just local.
- Same Output: Logging and notifications work in a similar way, though they are now much improved.
- Same Performance: No performance degradation. Hopefully. Don't quote me on this.