clara-j / media_cleaner

Python script to delete watched content on Emby
31 stars 17 forks source link

[Feature Request / Function Query] Ignore specific libraries #10

Closed Pantar2205 closed 3 years ago

Pantar2205 commented 3 years ago

Hello & Thank you for this script.

/media/shows/shows-auto-delete /media/shows/shows-keep-forever

these are my actual directory names and same naming system for movies.

is it possible to get this script to either whitelist/blacklist the corresponding folders?

terrelsa13 commented 3 years ago

I do not see a quick and easy way to implement this. But you can achieve this with the favourites functionality.

Mark all of the series', seasons, and/or episodes in the .../shows-keep-forever/ directory as favourite in emby/jellyfin. Then in the config file set keep_favorites_episode=1. When the script runs these series', seasons, and/or episodes will be excluded from deletion.

Do the same in your ../movies-keep-forever/ directory and set keep_favorites_movie=1.

terrelsa13 commented 3 years ago

@Pantar2205 finally got around to implementing this feature request. Please check it out here.

Let me know if there is any feedback.

terrelsa13 commented 3 years ago

16

Pantar2205 commented 3 years ago

Phenomenal!! I won't be able to test this for some time as I have just begun the process of re doing my entire setup from scratch. Thank you so much, this is invaluable to me. I really appreciate your work. I will close this and re-open if needs be.