Only importing first episode from season pack (torrents)

I tried to retrieve the complete season 1 of Fargo. When I mark the whole season 1 as wanted, the indexer finds several torrents and returns this one as the one to download: https://kat.cr/fargo-season-1-complete-480p-itz-theo-t9234189.html
Everything seems to work normal, i.e., the download request gets send to the transmission client, it starts downloading and in the Sonarr activities view I can see all files downloading with the same percentage.
However, when the download completes, only the first epiode withing the season pack is imported, all others are not. In the log view, I can see the following warning:
DownloadedEpisodesImportService: Non-sample file detected: [/Users/toto/Downloads/Fargo Season 1/Fargo - 01x02 - The Rooster Prince - [itz_theo].mkv]
My settings are in such that the original files get deleted from the torrent after they are imported. I suspect that Sonarr imports the first episode of the season pack, then deletes all the downloaded files after this succeeds before trying to import the next episode which fails as the files are already gone.
Does someone experience similar issues and knows how to get around this issue? FWIW, after the first attempt failed I tried it a second time with exactly the same result (first episode gets imported, rest is lost).

Did you configure Drone Factory in Sonarr?
Was the season pack video or archive files?
Which version of Sonarr?
Which version of mono?

Did you configure Drone Factory in Sonarr?
No

Was the season pack video or archive files?
A folder containing video files (.mkv) and subtitles (.srt)

Which version of Sonarr?
2.0.0.3530

Which version of mono?
4.0.4 ((detached/d481017 Mon Sep 28 17:32:19 EDT 2015)

How are you achieving this? Sonarr will only remove a torrent if the seeding is complete and all files have been imported.

Does transmission move the completed downloads to another location on the same disk or to another disk?

In this case we’ll need ((debug logs)) of the import process to see why it stopped importing after the first file was imported.

Transmission is setup such that the torrent stops seeding after the files are completely downloaded (using a seeding ration of 0). So the state of the torrent switches from seeding to finished after completion within transmission, but nothing gets deleted from transmission.

In the “Download client” settings of Sonarr, “Completed Download Handling” is enabled and “Remove” in the same section is also set to yes, so basically Sonarr is responsible to import the files from my download directory to the media directory and then removes them from the download directory.

That all seems fine, Sonarr should then recognize that the folder needs to be imported and see how many files are waiting to import, then import them all, the fact that it didn’t is odd, but tough to say why it happened without logs unfortunately.

I tried it again with logging at trace level enabled - same result (but now I can provide the logs…):


Which release am I looking for?

Version
2.0.0.3530
Mono Version
4.0.4 ((detached/d481017 Mon Sep 28 17:32:19 EDT 2015)

I meant the release that Sonarr is importing.

I downloaded Fargo Season 1 (the complete season). I looked into the log file (nzbdrone.0.txt) and this is the relevant entry about the torrent that got sent to Transmission:

15-10-28 16:53:03.7|Info|DownloadService|Report sent to Transmission. Fargo Season 1 Complete 480p [itz_theo]

Let me know if other infos are required. One side note: just after the torrent finished, I quickly copied the files (in order to not having to download it again as only 1 episode gets imported and the rest gets lost). I hope this doesn’t interfer the log files in any way.

It looks like the poorly named files are causing Sonarr to parse it wrong, but I also only see Sonarr seeing two files in that folder the first one which it tries to import and the 2nd episode, which it determines is not a sample.

Does Transmission copy or move the files after the download completes?

No, Transmission just loads the files and when 100% complete it sets the torrent to stopped based on the seeding quota. The only change of files within a torrent between downloading and finished download is that a file X.Y is names X.Y.part during the download and when finished a rename takes place. But there are no other scripts or features that change/move the files otherwise after a download completes.

However, yesterday I downloaded a different season (completely different torrent) using the same Sonarr functionality and there it worked perfectly, i.e., all files got imported. So I’d assume some specifics of this torrent does interfere with the normal behaviour of Sonarr.

Yeah, I was wondering if the oddly named files caused issues, though a file named properly with .part as its file extension could cause Sonarr to not see it as a video file, depending on how fast the files are renamed after download, it should be pretty fast, but if it took a couple seconds at the same time Sonarr was trying to process the download it wouldn’t see them and would mess it up (this would be a perfect storm of things happening at almost the exact same time).

I don’t think the .part extension is the real issue: first, the rename is basically instant, so as soon as a file is 100% complete, Transmission removes the .part without noticeable delay. Also, for series packs, say we have 10 episodes, the renaming takes place on based on the completion of every file, not based on the torrent, so normally only the last downloaded piece has a .part extension just before finishing the download, while the other 9 episodes are already having the correct name.

Okay, that makes sense. I’m going to blame the poor naming at the moment, we’ll have a fix to parse that properly in a future release.

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