I had two different episodes download last night. Both had contained a Sample folder with a small video in it.
Both episodes where imported successfully and the files moved to the correct place. However, for one of the downloads Sonarr deleted the folder the episode used to be in (as expected) and for the other episode it did not delete the folder.
Here is some of the log for the folder that got deleted:
`16-2-9 01:36:50.8|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for /data/Media/torrent/complete/tv/sonarr/The.Bachelor.S20E06.720p.HDTV.x264-ALTEREGO/Sample/sample-the.bachelor.s20e06.720p.hdtv.x264-alterego.mkv
16-2-9 01:36:50.8|Debug|VideoFileInfoReader|Getting media info from /data/Media/torrent/complete/tv/sonarr/The.Bachelor.S20E06.720p.HDTV.x264-ALTEREGO/Sample/sample-the.bachelor.s20e06.720p.hdtv.x264-alterego.mkv
16-2-9 01:36:50.9|Debug|DetectSample|[/data/Media/torrent/complete/tv/sonarr/The.Bachelor.S20E06.720p.HDTV.x264-ALTEREGO/Sample/sample-the.bachelor.s20e06.720p.hdtv.x264-alterego.mkv] appears to be a sample. Runtime: 00:00:58.5420000 seconds. Expected at least: 600 seconds
16-2-9 01:36:50.9|Debug|DownloadedEpisodesImportService|Deleting folder after importing valid files`
And here is some of the log for the folder that did not get deleted:
`16-2-9 06:54:08.7|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for /data/Media/torrent/complete/tv/sonarr/Jimmy.Fallon.2016.02.08.Ben.Stiller.720p.HDTV.x264-aAF/Sample/jimmy.fallon.2016.02.08.ben.stiller.720p.hdtv.x264-aaf-sample.mkv
16-2-9 06:54:08.7|Debug|DetectSample|Special, skipping sample check
16-2-9 06:54:08.7|Warn|DownloadedEpisodesImportService|Non-sample file detected: [/data/Media/torrent/complete/tv/sonarr/Jimmy.Fallon.2016.02.08.Ben.Stiller.720p.HDTV.x264-aAF/Sample/jimmy.fallon.2016.02.08.ben.stiller.720p.hdtv.x264-aaf-sample.mkv]
16-2-9 06:54:08.7|Debug|DownloadEventHub|[Jimmy.Fallon.2016.02.08.Ben.Stiller.720p.HDTV.x264-aAF] Removing download from TorrentBlackhole history`
Any idea why the other folder did not get deleted?