JakeWharton / JakeWharton/plex-auto-trash

Protection against array / drive disconnection

Open
#2 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
34
Forks
1
Avg merge
2h 5m
Merged PRs (30d)
18

Description

I've been looking for something like this for years as remembering to manually empty trash is a pain (usually when something won't play because I forgot to do it) so this is great thanks and seems to be ticking along right now (I used the CRON variable to increase the frequency). I just wondered if there's any protection built in (or if not whether it is possible to add it) for a situation where the RAID array (or drive) hosting the media goes down unexpectedly for any reason. Would plex-auto-trash keep running and essentially nuke the library? I think I remember seeing that even with auto-empty on in the Plex server settings it won't do it if the library path isn't available. Does this mean I'm safe even with plex-auto-trash? If not is it possible to add some sort of check before running the empty that will prevent it if the library path is unavailable? Sorry if I haven't explained it well or used the correct terminology. Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the issue. First verify how plex-auto-trash currently handles an unavailable Plex library path and inspect the repository's trash-emptying entry point; done means an unavailable array or drive cannot trigger a destructive empty operation, with coverage for that case.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.