TheCaptain989 / radarr-striptracks

A Docker Mod to Radarr/Sonarr to automatically strip out unwanted audio and subtitle tracks
https://hub.docker.com/r/thecaptain989/radarr-striptracks
GNU General Public License v3.0
19 stars 1 forks source link

Unmonitored movies/episodes after the script is run #73

Open ale-bast opened 6 days ago

ale-bast commented 6 days ago

It seems that the option to unmonitor the deleted movie/episode in settings is triggered since this script appears to delete the movie/episode before replacing it with the new one. Maybe it's because i don't have configured a recycling bin. I had to uncheck the option in both radarr and sonarr. Just an FYI since i was looking for information online about a bug but could not find any, until i looked at the logs.

TheCaptain989 commented 5 days ago

Hmmm. This is a new one that I haven't experienced before. You're saying in both Radarr and Sonarr your show is being marked as unmonitored after download and after my script runs? Could you please post some Radarr/Sonarr logs?

ale-bast commented 5 days ago

Yes in both. Well there is not really a lot in the logs besides that the original video file gets deleted in the process of removing unwanted audio and subtitles. But You can test it by manually importing an episode in sonarr that you have monitored, with the option in "Settings->Media management->File Management->Unmonitor Deleted Episodes" checked, and that would fit the criteria for the script to be ran. And then test it again but with it unchecked. I just did it, just to be sure with dual audio anime files and they get unmonitored only with the setting "Unmonitor Deleted Episodes".

TheCaptain989 commented 4 days ago

Oh! This makes sense now, though I've never used that setting before. Yes, the script deletes the original downloaded video and re-imports a new one as part of its process. I'll see if I can compensate for that setting, but in the meantime, please disable it.

ale-bast commented 4 days ago

No problem, i wasn't really using that setting anyway. I just thought it would be a good idea to make that behavior known in case others encounter it.

TheCaptain989 commented 4 days ago

Absolutely. Thank you!