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
20 stars 1 forks source link

Reorder MKV make to better work with other Connectors #18

Closed TheCaptain989 closed 5 years ago

TheCaptain989 commented 5 years ago

Currently, a temporary file is created during remuxing that has a ".new.mkv" extension. Due to Radarr not executing Connectors in any particular order, this can have the effect of having other Connectors act on this temporary file.

Example When the Kodi (XBMC) connector is also configured, two movies of the same name will be indexed, one with the original filename and one with .new.mkv extension

Fix Suggestion

Reorder the remux, so that the original file is first renamed to something without a common video extension, and have the destination video name use the final name.