UNPACK directory

Get help with all aspects of 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
Vastlee
Newbie
Newbie
Posts: 11
Joined: October 18th, 2008, 2:26 am

UNPACK directory

Post by Vastlee »

I have XBMC monitoring folders for shows/TV. The problem I'm running into is that it's catching the files as they unpack into their directory & then again when it finishes & renames/moves the file. Thus creating 2 instances in XBMC. Is there a way to change the default directory that it does the UNPACK into? So that it unpacks completely & then finally renames/moves it into another one. TIA
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: UNPACK directory

Post by shypike »

You can always write your own user script to move files this.

There's also another (experimental) feature in Config->Special->nomedia_marker
Some systems will ignore folders that contains a special file name.
Something like .nomedia, but I don't know what XBMC uses.
SABnzbd will put that marker file in the __unpack__ folder as long as it's being processed.
Vastlee
Newbie
Newbie
Posts: 11
Joined: October 18th, 2008, 2:26 am

Re: UNPACK directory

Post by Vastlee »

Blerg. I'll give that a shot. Thanks

nomedia_marker ( ) is looking for a value. Is this a boolean? True/False or 1/0?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: UNPACK directory

Post by shypike »

No, a file name. Example: .nomedia
But, like I said before, I don't know what XBMC requires.
hugepants
Newbie
Newbie
Posts: 14
Joined: May 26th, 2013, 5:16 am

Re: UNPACK directory

Post by hugepants »

I don't think that XBMC currently has the ability to detect a marker file.
I use these settings in advancedsettings.xml to exclude those named folders from library scans.

Code: Select all

<advancedsettings>
<video>
  <excludefromscan action="prepend">
    <regexp>_UNPACK_</regexp>
  </excludefromscan>
  <excludetvshowsfromscan action="prepend">
    <regexp>_UNPACK_</regexp>
  </excludetvshowsfromscan>
</video>
<audio>
  <excludefromscan action="prepend">
    <regexp>_UNPACK_</regexp>
  </excludefromscan>
</audio>
</advancedsettings>
Last edited by hugepants on August 19th, 2013, 7:34 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: UNPACK directory

Post by shypike »

hugepants wrote: I use these settings in advancedsettings.xml to exclude those named folders from library scans.
This should be a better solution.
Post Reply