shemanaev / jellyfin-plugin-media-cleaner

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

[Bug]: Not deleting the whole folder #20

Closed ibndiaye closed 1 year ago

ibndiaye commented 1 year ago

What happened?

The media cleaner does not clear out the whole folder, as in the metadata images stay. The media(videos/season folders) get deleted but not the remaining posters. Im running docker and gave jellyfin PUID and PGID 0. Media Cleaner version: 2.6.1.0

image

image

Troubleshooting info

No response

shemanaev commented 1 year ago

The reason is simple: the plugin uses internal Jellyfin's delete function. AFAIK, it will delete only files recognized by Jellyfin. Otherwise, plugin can delete other movies that laid out next to each other without folders, for example. I'll think about some optional feature for those who understands consequences 😉

ibndiaye commented 1 year ago

Thanks for the explanation. Ill look into my folders and look at whats causing this issue.

TheSpyder commented 8 months ago

Oddly I'm having the opposite problem.

[edit] I'll log a new ticket as it's either a bug or something I'd like to configure.