For the past 3 days, Seth Meyers, Jimmy Fallon, Conan and @midnight don’t download properly for me. They download the full episode, but ND imports the sample instead of the episode. Regular series work just fine, it’s only the daily shows that act up. This is what the log says (latest develop build):
DownloadedEpisodesImportService Non-sample file has not been imported: [C:\Downloads\tv\Conan.2014.04.07.Howie.Mandel.720p.HDTV.x264-W4F\conan.2014.04.07.howie.mandel.720p.hdtv.x264-w4f-sample.mkv] 1:08 PM
RssSyncService RSS Sync Completed. Reports found: 200, Reports downloaded: 1 1:05 PM
DownloadService Report sent to download client. Conan.2014.04.07.Howie.Mandel.720p.HDTV.x264-W4F 1:05 PM
Sabnzbd Adding report [Conan.2014.04.07.Howie.Mandel.720p.HDTV.x264-W4F] to the queue. 1:05 PM
DownloadDecisionMaker Processing 200 reports 1:05 PM
RssSyncService Starting RSS Sync 1:04 PM
SceneMappingService Updating Scene mapping 12:58 PM
DownloadedEpisodesImportService Unable to parse file on import: [C:\Downloads\tv\At.Midnight.2014.04.07.720p.HDTV.x264-YesTV\at.midnight.140407.720p-yestv-sample.mkv] 12:52 PM
RssSyncService RSS Sync Completed. Reports found: 200, Reports downloaded: 1 12:49 PM
DownloadService Report sent to download client. At.Midnight.2014.04.07.720p.HDTV.x264-YesTV 12:49 PM
Sabnzbd Adding report [At.Midnight.2014.04.07.720p.HDTV.x264-YesTV] to the queue.
Non-sample file has not been imported? So… the sample has been imported? I don’t get the double negative, English is not my native language.
It imported the sample in both cases. I always figured that the sample detection was fairly clever but suddenly it fails on files that clearly have “sample” in their file name and when the episode is close to 1GB and the sample is 15MB, it should be clear as well. (Of course we had the file size discussion, when South Park and Family Guy episodes started coming in at 60-80MB).
drone doesn’t look for sample in the filename or filesize (unless mediainfo is missing), but uses the runtime of the episode, I think for some reason we’re ignoring the sample check on daily shows (decision made a long time ago, so not sure why), I’ll take a look and correct that.
“Non-sample file has not been imported” - final check to make sure any files remaining in the folder are samples, instead of deleting the folder if any files were imported, not great verbiage though.
Additional information:
I just had a look at my History tab. Apparently, the episode gets imported first, then overwritten with the sample, which is why the entire download folder gets deleted after the import and any broken episode I have to download all over again.
Regular shows have 2 entries, the grab and the import. Daily shows have grab, import and another import.
The info says:
Grabbed
Name:
The.Daily.Show.2014.04.07.Matt.Taibbi.720p.HDTV.x264-CROOKS
Indexer:
WomblesIndex
Release Group:
CROOKS
Download Client:
Sabnzbd
Episode Imported
Name:
the.daily.show.2014.04.07.matt.taibbi.720p.hdtv.x264-crooks
Source:
C:\Downloads\tv\The.Daily.Show.2014.04.07.Matt.Taibbi.720p.HDTV.x264-CROOKS\the.daily.show.2014.04.07.matt.taibbi.720p.hdtv.x264-crooks.mkv
Imported To:
D:\Shows\The Daily Show with Jon Stewart\Season 19\2014-04-07 Matt Taibbi [HDTV-720p].mkv
Episode Imported
Name:
the.daily.show.2014.04.07.matt.taibbi.720p.hdtv.x264-crooks.sample
Source:
C:\Downloads\tv\The.Daily.Show.2014.04.07.Matt.Taibbi.720p.HDTV.x264-CROOKS\the.daily.show.2014.04.07.matt.taibbi.720p.hdtv.x264-crooks.sample.mkv
Imported To:
D:\Shows\The Daily Show with Jon Stewart\Season 19\2014-04-07 Matt Taibbi [HDTV-720p].mkv
Thanks for the fix, will see how it goes from now on.
Just out of curiosity:
You said earlier, to tell the sample from the episode, the length is determined? Does Drone have its own codec pack built-in? My server doesn’t “know” the lengths of any mkv video files. As it doesn’t have a sound card or a screen and is purely for storage, I never bothered to install any codecs or media players.
Good to know, thanks.
Also, the fix seems to work, now I get the episodes instead of samples. One minor thing though, it doesn’t clean up. The remaining folders in Drone Factory are not deleted like it would do with weekly shows.
Not to An Corp this thread or anything (forgive the ultima online reference) - I believe this bug may have reappeared… I’ve been getting this for the last while now in my logs:
System.IO.PathTooLongException: Path is too long. Path:
at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00000] in :0
at NzbDrone.Common.Disk.DiskProviderBase.TransferFile (System.String source, System.String destination, TransferMode mode, Boolean overwrite) [0x00000] in :0
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.TransferFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Tv.Series series, System.Collections.Generic.List1 episodes, System.String destinationFilename, TransferMode mode) [0x00000] in <filename unknown>:0 at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode) [0x00000] in <filename unknown>:0 at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode, Boolean copyOnly) [0x00000] in <filename unknown>:0 at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import (System.Collections.Generic.List1 decisions, Boolean newDownload, NzbDrone.Core.Download.DownloadClientItem downloadClientItem) [0x00000] in :0
15-5-3 06:52:18.2|Warn|DownloadedEpisodesImportService|Unable to parse file on import: [/downloads/television/Mike_and_Molly_S02E04_57_Chevy_Bel_Air_720p_WEB-DL_DD5_1_H_264-BS-NZBgeek/VfTjWpJ0p8GTBqYDoSqt7ojnRl2hY4TwRF8kG1x12MSd98Wosvml1V.mkv]
15-5-3 06:52:18.2|Warn|DownloadedEpisodesImportService|Unable to parse file on import: [/downloads/television/Mike_and_Molly_S05E09_Hack_to_the_Future_1080p_HDTV_x264-FiHTV-NZBgeek/R8KmIqOy9KIDGmcy53POPyd4sBporC8jZp1.mkv]
15-5-3 06:53:18.3|Warn|DownloadedEpisodesImportService|Non-sample file detected: [/downloads/television/American_Horror_Story_S01E01_1080p_BluRay_x264-CLASSiC/cls-ahs01e07.mkv]
15-5-3 06:53:18.4|Warn|ImportApprovedEpisodes|Couldn’t import episode /downloads/television/Mike_and_Molly_S02E04_57_Chevy_Bel_Air_720p_WEB-DL_DD5_1_H_264-BS-NZBgeek/VfTjWpJ0p8GTBqYDoSqt7ojnRl2hY4TwRF8kG1x12MSd98Wosvml1V.mkv
System.IO.PathTooLongException: Path is too long. Path:
at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00000] in :0
Thanks, it is happening to a number of files. I blacklisted those files and it downloaded different versions and imported nicely. I really appreciate your time and effort. Thank you.