Issues with sample detection


Sonarr version:
Mono version:
OS: MacOS 10.13.2 (17C205)
Debug logs:
Description of issue:

Media files are being detected as samples.

When I run mediainfo directly from the cli I can see that very little information about the files is being returned.

$ mediainfo --version
MediaInfo Command line,
MediaInfoLib - v17.12

$ mediainfo A.P.Bio.S01E01.Pilot.Catfish.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.mkv
Complete name                            : A.P.Bio.S01E01.Pilot.Catfish.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.mkv
File size                                : 1.08 GiB

Is there a way to disable sample detection? or at least tell it to use filesize or some other metric?


What is the file hash? (no guarantees you’ve got the exact same file, but check it)

$ sha1sum A.P.Bio.S01E01.Pilot.Catfish.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.mkv
6541bf3ec0bcdf79f7dd6f23e2f783eaa1f6f206  A.P.Bio.S01E01.Pilot.Catfish.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.mkv

I got mediainfo on that with both 0.7.91 and 17.12. If you don’t it’s likely a bad file or bad mediainfo version/install.

As for your other question, no, there’s no way to disable that.


I think you may be right about this particular file. I wasn’t able to get it to play on any device.

I have however had another file fail to import and be marked as a sample which does give proper information from mediainfo.

Debug log file:

$ shasum American.Dad.S14E23.Santa.Schmanta.720p.AMZN.WEB-DL.DD+5.1.H.264-SiGMA.mkv
a0edb7bdb56c2bbbb892d42518c4b004ad466ddc  American.Dad.S14E23.Santa.Schmanta.720p.AMZN.WEB-DL.DD+5.1.H.264-SiGMA.mkv

$ mediainfo --version
MediaInfo Command line,
MediaInfoLib - v17.12

$ mediainfo American.Dad.S14E23.Santa.Schmanta.720p.AMZN.WEB-DL.DD+5.1.H.264-SiGMA.mkv
Complete name                            : American.Dad.S14E23.Santa.Schmanta.720p.AMZN.WEB-DL.DD+5.1.H.264-SiGMA.mkv
Format                                   : E-AC-3
Format/Info                              : Enhanced Audio Coding 3
File size                                : 295 MiB
Duration                                 : 1 h 4 min
Overall bit rate mode                    : Constant
Overall bit rate                         : 640 kb/s
FileExtension_Invalid                    : dd+ ec3 eac3

Format                                   : E-AC-3
Format/Info                              : Enhanced Audio Coding 3
Duration                                 : 1 h 4 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 187.500 FPS (256 SPF)
Compression mode                         : Lossy
Stream size                              : 295 MiB
Service kind                             : Complete Main

closed #4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.