Sorta kinda a bug w/ Temporary Download Folder

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
clobber
Newbie
Newbie
Posts: 44
Joined: March 9th, 2008, 3:53 am

Sorta kinda a bug w/ Temporary Download Folder

Post by clobber »

I suppose it is not really a bug but:

I've got sabnzbd set to download with the tv show sorting enabled. I've set the sorting rule to "%s.n.S%0sE%0e.%ext" as suggested elsewhere in these forums. This basically unpacks everything into a single folder (and I have the par2, nfo, etc deleted automatically). My HTPC software (mediaportal) watches that folder and imports the shows. I've got it set to download to a single folder so that I can easily delete shows from the HTPC without any leftover folders. The problem is that MP sees 3 copies of the same show. I've tracked down the problem to the fact that sabnzbd seems to first create a new folder (with UNPACK in the name) where it unpacks the show before moving it to the final destination.  Mediaportal is quick, so it tries to import the show during the unpack and before things are cleaned up. Shouldn't the unpack operation happen in the Temporary Download Folder? Or rather, could there be an option to make that happen?

THANKS!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sorta kinda a bug w/ Temporary Download Folder

Post by shypike »

clobber wrote: Shouldn't the unpack operation happen in the Temporary Download Folder? Or rather, could there be an option to make that happen?
That would be very inefficient.
Many people download on one drive and unpack to another one.
As long as everything is on one partition, moving files is fast.
Copying files from one partition (or drive) is slow.

Also your solution will not really help, since there will always be a considerable period in which
the folder is incomplete.

Cannot you tell Mediaportal to ignore folders based on the (partial) name?
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Sorta kinda a bug w/ Temporary Download Folder

Post by switch »

Have a look if mediaportal supports another way of monitoring folders, and could be run as a user script after the download is done.

The unpacking behavior is not likely to change because we want to make sure the files are only in their final position once they are 100% done, and not in the process of being unrared or being moved across volumes.
clobber
Newbie
Newbie
Posts: 44
Joined: March 9th, 2008, 3:53 am

Re: Sorta kinda a bug w/ Temporary Download Folder

Post by clobber »

Hmm....both very good points. I don't see a way to configure Mediaporal (specifically the TVSeries plugin) any other way. Perhaps I'll need a script that just monitors my "complete" folder and moves anything in there to the final location.

FYI - I am downloaded and unpacking on the same partition
Post Reply