rfsbraz / deleterr

Deleterr is a Python script designed to help you manage available disk space in your Plex media server.
MIT License
118 stars 6 forks source link

Don't delete media if it is in a any of the users watchlist #60

Open RPWouters opened 6 months ago

RPWouters commented 6 months ago

If someone added media to its watchlist excluded the media for deletion.

rfsbraz commented 5 months ago

I need to check if I have API access to all the watchlists in plex, I think I may only have access to the owner of the token, not sure. I'll report back.

nylonee commented 5 months ago

@rfsbraz Although there isn't an easy way to fetch the watchlists for all users in Plex based off the owner of the token, I've managed to do it in Watchlistarr by fetching the GraphQL query and parsing it.

I'd be interested in finding a way to connect Watchlistarr to Deleterr so that each app can focus on doing what it does best without stepping on each other's toes. Perhaps an API call from Deleterr to Watchlistarr to find the full list of watchlisted items?