shemanaev / jellyfin-plugin-media-cleaner

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

Question regarding Upgrades #47

Open JamsRepos opened 5 months ago

JamsRepos commented 5 months ago

Just a question; what happens when sonarr/radarr upgrades a file due to having a better quality, score, etc... Does this then reset the duration of content being added?

shemanaev commented 5 months ago

If you talk about unplayed media, I didn't make an experiment on this specifically, but you can do it yourself: watch for a field "Date added" in the metadata editor. Played/in-process doesn't care about file updates.

вс, 28 апр. 2024 г. в 03:54, Jam @.***>:

Just a question; what happens when sonarr/radarr upgrades a file due to having a better quality, score, etc... Does this then reset the duration of content being added?

— Reply to this email directly, view it on GitHub https://github.com/shemanaev/jellyfin-plugin-media-cleaner/issues/47, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICN2OTY6V47LGIZAND4FTY7RCCZAVCNFSM6AAAAABG4QOGICVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DOMRXG43TKMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

JamsRepos commented 5 months ago

Yeah - the Date added resets in this case. Which means the plugin will be resetting upon an upgrade, which is a shame.

Is there anything we can do to combat this or a Jellyfin setting at all we can turn on to stop things being re-added on an upgrade?

shemanaev commented 5 months ago

Does "Date added behavior for new content" option set correctly? изображение

JamsRepos commented 5 months ago

Mine is set to the same option as you have.

shemanaev commented 5 months ago

I don't see a workaround for this behavior then...

Yankees4life commented 4 months ago

Yeah - the Date added resets in this case. Which means the plugin will be resetting upon an upgrade, which is a shame.

Is there anything we can do to combat this or a Jellyfin setting at all we can turn on to stop things being re-added on an upgrade?

If you're using notifarr, you can enable the setting under Jellyfin settings to unmonitor shows after being watched but that's about it.

Also, you can use trakt to set any show as watched and then let it run the task to import watched status

JamsRepos commented 4 months ago

Yeah - the Date added resets in this case. Which means the plugin will be resetting upon an upgrade, which is a shame. Is there anything we can do to combat this or a Jellyfin setting at all we can turn on to stop things being re-added on an upgrade?

If you're using notifarr, you can enable the setting under Jellyfin settings to unmonitor shows after being watched but that's about it.

Also, you can use trakt to set any show as watched and then let it run the task to import watched status

I think you're talking about something else. We are talking about when content is upgraded (i.e there's a better file found by sonarr/radarr) then when Jellyfin scans the new file into the library, it is counted as a new film. So, that would reset this plugins data as it wouldn't be checking anymore from when the film was first added but now when it was upgraded.