Closed TheCaptain989 closed 3 years ago
The above reference to resolving issue #27 from commit ed4a7a4a3b31ee003fab25d8eb4311680414eddb is a typo. This commit does not resolve the issue.
I had to come up with a completely different fix for this in v3. I'm using the poorly documented v3 API endpoint 'movieFile/editor' in Radarr. Still testing Sonarr.
In Radarr v2, if the file suffix changes, the quality of the downloaded file will be lost on a rescan.
For example, if the original downloaded file was:
A Movie (2014).avi
with a quality of DVD, the remuxed file will be named:A Movie (2014).mkv
with a quality of Unknown.I spent a great deal of time trying to fix this in Radarr, only to run into what I must describe as a Radarr API bug. When I make a PUT call to the /movies/{id} endpoint with all of the original data from the MKV except I change the quality, the GUI is visually updated (if you happen to have the Radarr GUI up) with the new quality, but the API returns Unknown quality and if you refresh the GUI it goes back to Unknown.
I'm leaving all the new code in case the API gets fixed (maybe v3?) or I otherwise figure it out.
None of this happens in Sonarr.