Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SABNZB post-proces script

Featured Replies

I've installed and set-up SABNZB on the cache drive. I also set some categories so mkv, bluray, dvd and so on go to their respective folders on the "media" user share. Right now the files stay on the cache drive until they are moved at 3:40 at night. Can I create a user script to move these files right away after they have been downloaded, verfied and unpacked on the cache drive? It should obey the rules I set in Categories. How to write such a script? That way I can use a smaller cache drive, maybe an SSD.

just kick off mover at the end of your processing script, or increase the frequency with which mover checks and runs.

Don't use the mover at all. Just move right to the array.

you can set separate destination location per category to have them extracted directly there or if you don't want that - just have it execute the mover in post-processing. 

 

Myk

 

Don't use the mover at all. Just move right to the array.

That means it will get moved to the cache disk ITSELF first if you use cached user shares...which is counter productive, its an extra copy for something that is allready on the cache... and it fills the cache disk twice as fast, which is even wors if its an ssd...

 

You can only unpack directly to the target share if you disable caching for that share. thats what i did. Since all my media is on the unraid server allready, and unraid IS my download machine, i have no use for cached user shares anymore, i dont write a lot of large files over the network to the unraid server anymore...

Don't use the mover at all. Just move right to the array.

That means it will get moved to the cache disk ITSELF first if you use cached user shares...which is counter productive, its an extra copy for something that is allready on the cache... and it fills the cache disk twice as fast, which is even wors if its an ssd...

 

HUH?

 

Turning off the cache disk for the share is one method to not use the mover and move directly to the array.

Or, you move to one of the disks directly, such as /mnt/disk2

Or. you can move to the array using the /mnt/user0 location which doesn't include the cache disk.

 

Or, you move to one of the disks directly, such as /mnt/disk2

If you have split level shares, not possible... e.g. for a tvseries share which spans multiple disks. You can not tell sabnzb which disk it must go to.

 

Or. you can move to the array using the /mnt/user0 location which doesn't include the cache disk.

This one i did not know... my bad. This is a very nice workaround for still having fast cached access, and the possibility to use (split) user shares directly, thanks.

  • Author

Don't use the mover at all. Just move right to the array.

That means it will get moved to the cache disk ITSELF first if you use cached user shares...which is counter productive, its an extra copy for something that is allready on the cache... and it fills the cache disk twice as fast, which is even wors if its an ssd...

 

HUH?

 

Turning off the cache disk for the share is one method to not use the mover and move directly to the array.

Or, you move to one of the disks directly, such as /mnt/disk2

Or. you can move to the array using the /mnt/user0 location which doesn't include the cache disk.

 

Currently I have categories defined in sab like shown in the attachment.

Can I use the /mnt/user0 location in categories? Or should the Completed download folder be set to this? Will the "dirty work" of SAB like verifying and unpacking still take pace on the cache drive?

categories.jpg.f9b858598b4989428d83a2b5f8e5af53.jpg

you could make a script that checks cache disc for below X free space - and spawn the mover - then have that script run like every 15 min......

Can I use the /mnt/user0 location in categories?

Yes. That way you will copy/unpack to the user share directly without your data being placed on the cache first, so you dont need the mover anymore.

  • Author

Can I use the /mnt/user0 location in categories?

Yes. That way you will copy/unpack to the user share directly without your data being placed on the cache first, so you dont need the mover anymore.

 

So verifying and repairing takes place on the cache disk and unpacking will be done to the user share like /mnt/user0/mkv? Sounds like a good options. I hope it works that way.

FYI, mnt/disk/* is not a valid location. You're writing to ram.

Your download folder is where the files are downloaded to. "Categories" will move the file to the specified folder once the file is done downloading and unpacked. You may adjust your download folder in sabnzbd > config > folders. Categories can be adjust in config > categories

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.