Open shanyan-wcx opened 2 years ago
I would love this too, but there is not flag "season finished" and only reliable way to get missing episodes I found is tied to TVDB provider, which is no go for me. I will look into it more, but for now only can recommend to increase keep time to cover time for new episodes airing.
There is a status tag in jellyfin's metadata. Can't it be obtained?
It might work, but has limitations too. Metadata can be updated only once 30/60/90 days per library settings. So it will create cleanup lag upto 30 days minimum. Will it be better than just increase keep days?
Metadata will also be refreshed whenever new episodes are added.
If you want to be faster, it seems that you can only set a scheduled task and search the metadata provider every day
I actually YOLO'd and published new version so you can experiment. There is new option "Entire series has ended" for series that will wait for metadata has changed to "Ended". Would glad to hear feedback.
For example, a TV series has a total of 10 episodes, but only 4 episodes have been shown. When I finished watching these 4 episodes, it was deleted. I hope to add an option that the unfinished TV series will not be deleted.