TV shows not being placed in the correct folder, but dumped in the main download folder

Hi guys,

Like most people here; I moved recently from Sickbeard to Sonarr. I used Sickbeard for my favourite TV shows and use Sabnzdb to download them. This is all installed on my Synology. When I started typing this post, I only thought I have one issue, but it appears I have actually 3. So I am sorry for this “long” post, but I know for a fact being thorough helps.

My main issue is that whenever it downloads a new episode from a TV show, it dumps the episode in my main download folder, instead of the appropiate TV show folder. For example if it downloads an episode of the Americans, it will unpack in the /downloads/ folder, instead of /downloads/series/The Americans (2013)/.

As a result of that, it will scan the The Americans (2013) and notice the episode is missing and will re-download it again and dumping it yet again in the main downloads folder. This keeps happening. I noticed it only yesterday, because I was missing an episode and I checked my NAS and discovered about 4 or 5 (different) downloads of the exact same episode. :expressionless:

I even changed the all permissions on files and folders recursively to 7777, but that also didn’t help. I also checked Sabnzbd’s logs, but no errors there. I have no idea what’s causing my issues…

I actually did try to check the logs of Sonarr, but I couldn’t find anything directly related to it. But I did notice that there is an issue with “UpdateEpisodeFileService” as well. I changed the setting so the file dates are matched to the local air date (or something like that). I doubt this is related to it, but could be.

The full error details.
Message:
Unable to set date of file [/volume1/DiskStation/Downloads/series/The 100/Season 3/The.100.S03E02.Wanheda.Part.Two.720p.WEB-DL.DD5.1.H264-DRACULA.mkv]: Invalid parameter

Exception:
System.IO.IOException: Invalid parameter
at System.IO.File.SetLastWriteTime (System.String path, DateTime lastWriteTime) [0x00029] in /home/bean/spksrc/native/mono/work-native/mono-4.2.2/mcs/class/corlib/System.IO/File.cs:474
at NzbDrone.Common.Disk.DiskProviderBase.FileSetLastWriteTime (System.String path, DateTime dateTime) [0x00048] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskProviderBase.cs:250
at NzbDrone.Core.MediaFiles.UpdateEpisodeFileService.ChangeFileDateToLocalAirDate (System.String filePath, System.String fileDate, System.String fileTime) [0x0002b] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\MediaFiles\UpdateEpisodeFileService.cs:130

Oh and one more question, more a general question. With Sickbeard I often had weird filenames, like “bkacEJr1NdL0LDwrI3lEBJ4jiIGi4Rd.mkv” instead of the correct name. I suspected this was caused by Sickbeard, however Sonarr has this issue also (maybe it’s related to my main issue, but I doubt it). Is there a workaround or even a fix for this? So I will always have the correct filename?

If you need other information, or details, please do share and let me know. I will gladly supply you with it. I am not always online, but I will respond as fast as I can, as I want to resolve this obviously. Probably it’s a setting somewhere, but I am currently clueless.

Version information and details:
Sonarr is installed on my Synology with Mono.
Sonarr version: 2.0.0.4146
Mono version: 4.2.2
Main download folder: /downloads/
TV Shows folder: /downloads/series/

PS: Sorry for my bad English, but English isn’t my native language.

Thank you in advance for reading and your help!

//edit

Because it was mentioned somewhere, I disabled the function “TV Sorting” in Sabnzdb under “Sorting”. I think after this my problems started, but I am not sure.

don’t put the series folder in the download path this will cause problems. use a completely different path.

if sonarr cannot read the file name it wil try the folder name and the release name.

Didn’t notice I received an answer. So sorry for the late response from my side.

So what you are saying is that it’s better not to have any folders under ‘downloads’ and, for example, move them up one directory above?

I never experienced problems with this with other applications, but I will change this, if this is the root of the problems.

Regards

//edit

Sidenote; I am using the MySQL database on my Synology to maintain my current watchlist over the 2 Intel NUC with Kodi I own. Will moving my TV shows / Movies break this in any way? In other words if I click the the last episode of the TV Show Americans, will it continue where I was??

Well I gave it ago, by placing everything outside the download path/folder…
…and it didn’t work. Exactly the same happens. The downloaded TV show doesn’t get placed in the corresponding folder for the show, but gets dumped into the TV shows folder instead.

So I placed everything back once again in the download folder, as moving it outside of the folder apparently didn’t help.

Any other ideas?

That wasn’t so much a solution, but a way to prevent a bug or another issue from causing loss of data.

You’d need to look at ((debug logs)) to see why its not importing them, could be permissions or something else.

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