plex_autoscan
plex_autoscan copied to clipboard
FEATURE: Delete from Plex when Google Drive Monitor Sees Deletion
This is a fringe issue. I talked it over with @desimaniac but I wanted to talk it through here.
Here's my setup: I'm not using Cloudbox yet and just using PAS standalone on multiple plex instances in a mediabox type configuration with another feederbox bringing everything into gdrive.
Issue When I delete things from Sonarr/Radarr/Plex/etc on my feederbox, on my other instances PAS sees the deletions from gdrive but currently ignores them leaving Plex with "unavailable" media.
Idea Would it make any sense to build in some additional logic into Google Drive Monitoring to do one of two things when file deletions are seen on gdrive?
- Directly initiate a delete from Plex to completely remove the metadata item from Plex. or
- Have Plex Media Scanner scan the removed path and it will eventually be deleted when the trash is emptied.
Again I realize this probably isn't a big issue for many. I've been playing around with code to do either of the above but wanted to get some feedback from other smarter people. Thanks.
It's a good idea.
Isn't that what the "empty trash" function does?
He’s wanting a trigger - deleting in Google Drive -> triggers scan of the affected path, so that Plex can be told that it’s not available anymore.