Sonarr mis-indentifying 480p as 720p

Sonarr has just grabbed a whole bunch of WEBDL-480p’s to replace some SD’s - that’s correct. The nzb’s and files are correctly named, and Sonarr correctly tags them as WEBDL-480p in Activity but once it imports them into the library,it tags them as HDTV-720p, despite the file resolution being 852x480.

With my settings, this means that if 720p’s appear in the future, Sonarr will ignore them as it thinks it already has them. Any ideas what’s going on?

Whats the full source path of a file that was imported? (check history)

Sonarr falls back to the extension to determine the quality if the file and folder don’t contain the information, which in the case of .mkv is HDTV 720p.

The filenames are obfuscated, so it looks like Sonarr is falling back to look at the extracted folder name and correctly identifying the file as WEBDL-480p, but it’s still being tagged as HDTV-720p, and if I manually change the tag from the Series/Episode screen, it reverts on refresh.

Here’s an excerpt from the logs:

15-6-7 10:03:45.0|Debug|DownloadedEpisodesImportService|Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3 folder quality: WEBDL-480p v1
15-6-7 10:03:45.0|Debug|DiskScanService|Scanning ‘/storage/temp/tvdrone/Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3’ for video files
15-6-7 10:03:45.0|Debug|DiskScanService|1 video files were found in /storage/temp/tvdrone/Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3
15-6-7 10:03:45.1|Debug|ImportDecisionMaker|Analyzing 1/1 files.
15-6-7 10:03:45.1|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for /storage/temp/tvdrone/Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3/1e16e4337e224e4f9ff650a092b5befd.mkv
15-6-7 10:03:45.1|Debug|VideoFileInfoReader|Getting media info from /storage/temp/tvdrone/Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3/1e16e4337e224e4f9ff650a092b5befd.mkv
15-6-7 10:03:45.1|Debug|DetectSample|Runtime is over 90 seconds
15-6-7 10:03:45.1|Debug|Parser|Rejected Hashed Release Title: 1e16e4337e224e4f9ff650a092b5befd.mkv
15-6-7 10:03:45.1|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for 1e16e4337e224e4f9ff650a092b5befd.mkv
15-6-7 10:03:45.1|Debug|ImportDecisionMaker|Size: 525058773
15-6-7 10:03:45.1|Debug|VideoFileInfoReader|Getting media info from /storage/temp/tvdrone/Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3/1e16e4337e224e4f9ff650a092b5befd.mkv
15-6-7 10:03:45.1|Debug|Parser|Parsing string 'Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3’
15-6-7 10:03:45.1|Debug|Parser|Episode Parsed. nashville - S01E07
15-6-7 10:03:45.1|Debug|Parser|Language parsed: English
15-6-7 10:03:45.1|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3
15-6-7 10:03:45.1|Debug|Parser|Quality parsed: WEBDL-480p v1
15-6-7 10:03:45.1|Debug|Parser|Release Group parsed: NhaNc3
15-6-7 10:03:45.1|Debug|VideoFileInfoReader|Getting media info from /storage/temp/tvdrone/Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3/1e16e4337e224e4f9ff650a092b5befd.mkv
15-6-7 10:03:45.1|Debug|DetectSample|Runtime is over 90 seconds
15-6-7 10:03:45.1|Debug|Parser|Parsing string 'Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3’
15-6-7 10:03:45.1|Debug|Parser|Episode Parsed. nashville - S01E07
15-6-7 10:03:45.1|Debug|Parser|Language parsed: English
15-6-7 10:03:45.1|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3
15-6-7 10:03:45.1|Debug|Parser|Quality parsed: WEBDL-480p v1
15-6-7 10:03:45.1|Debug|Parser|Release Group parsed: NhaNc3
15-6-7 10:03:45.1|Debug|UpgradeMediaFileService|Removing existing episode file: [954] Season 01/Nashville - S01E07 - Lovesick Blues.mp4
15-6-7 10:03:45.1|Debug|RecycleBinProvider|Attempting to send ‘/storage/tv/Nashville/Season 01/Nashville - S01E07 - Lovesick Blues.mp4’ to recycling bin
15-6-7 10:03:45.1|Info|RecycleBinProvider|Recycling Bin has not been configured, deleting permanently. /storage/tv/Nashville/Season 01/Nashville - S01E07 - Lovesick Blues.mp4
15-6-7 10:03:45.2|Debug|RecycleBinProvider|File has been permanently deleted: /storage/tv/Nashville/Season 01/Nashville - S01E07 - Lovesick Blues.mp4
15-6-7 10:03:45.2|Debug|EpisodeService|Detaching episode 1798 from file.
15-6-7 10:03:45.2|Debug|EpisodeFileMovingService|Moving episode file: /storage/temp/tvdrone/Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3/1e16e4337e224e4f9ff650a092b5befd.mkv to /storage/tv/Nashville/Season 01/Nashville (2012) - S01E07 - Lovesick Blues.mkv
15-6-7 10:03:45.2|Debug|EpisodeFileMovingService|Move [/storage/temp/tvdrone/Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3/1e16e4337e224e4f9ff650a092b5befd.mkv] > [/storage/tv/Nashville/Season 01/Nashville (2012) - S01E07 - Lovesick Blues.mkv]
15-6-7 10:03:45.2|Debug|MetadataFileService|Deleting Metadata from database for episode file: [954] Season 01/Nashville - S01E07 - Lovesick Blues.mp4
15-6-7 10:03:47.8|Debug|EpisodeService|Linking [Season 01/Nashville (2012) - S01E07 - Lovesick Blues.mkv] > [[1798]Lovesick Blues]
15-6-7 10:03:47.9|Debug|NotificationService|No tags set for this notification.
15-6-7 10:03:47.9|Debug|DiskScanService|Scanning ‘/storage/temp/tvdrone/Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3’ for video files
15-6-7 10:03:47.9|Debug|DiskScanService|0 video files were found in /storage/temp/tvdrone/Nashville.S01E07.480p.WEB.DL.nSD.x264-NhaNc3
15-6-7 10:03:47.9|Debug|DownloadedEpisodesImportService|Deleting folder after importing valid files

Ahh, yeah, we only use the folder’s quality when its better than the file, which is why it doesn’t use it in this case, I’ve added an issue to Github to look for a solution.

Great! Thanks (as always) for taking the time to look into this.