shemanaev / jellyfin-plugin-media-cleaner

Automatically delete played media files after specified amount of time.
MIT License
71 stars 1 forks source link

[Feature]: delete only if the specified users has watched it #21

Closed jumoog closed 1 year ago

jumoog commented 1 year ago

Describe the feature you'd like added

For example, the movie must first be seen by person a and person b before it is deleted.

Additional context

No response

shemanaev commented 1 year ago

Have you tried to mark all users, except wanted in Users->Ignore played state setting?

jumoog commented 1 year ago

Here an example

Movies Keep for: 60 Days Keep favorites: No

Ignore played state:

Mode: Include

Troubleshooting:

[Inf] MediaCleanupTask: (Movie) "Big Buck Bunny" will be deleted because expired for "K" (04/17/2023 17:33:45)
[Inf] MediaCleanupTask: (Movie) "Sintel" will be deleted because expired for "T" (04/21/2023 22:10:05)

User T never watched Big Buck Bunny User K never watched Sintel

My goal is to have Big Buck Bunny deleted as soon as everyone but User R has seen it.

shemanaev commented 1 year ago

Oh, now I see the point. Added this to my to-do.

shemanaev commented 1 year ago

Update to the new version, there is now should be enough options ("Keep while not played by" + new list mode in Users section) for your scenario.