Page 1 of 1

UNPACK directory

Posted: April 29th, 2013, 12:33 am
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

Re: UNPACK directory

Posted: April 29th, 2013, 3:36 am
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.

Re: UNPACK directory

Posted: April 29th, 2013, 3:40 am
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?

Re: UNPACK directory

Posted: April 29th, 2013, 5:52 am
by shypike
No, a file name. Example: .nomedia
But, like I said before, I don't know what XBMC requires.

Re: UNPACK directory

Posted: June 5th, 2013, 8:11 am
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>

Re: UNPACK directory

Posted: June 5th, 2013, 8:52 am
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.