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.

sabnzbd question- who moves tv shows from cache to array?

Featured Replies

Who actually moves the downloaded shows in cache (Relative folders are based on: /mnt/cache/.apps/sabnzbd/Downloads/complete) to TV/ show name/ season 1/ xxx in my array?  I don't seem to have it configured in SAB, nor Sickbeard.  Or is it dictated when you add a show?  Please see attached screenshot.

last_ship.png.4dc7806c36ada5ab0d276bfa834ae511.png

It could be SAB or SickBeard. I have both configured the same way so I don't need to worry.

 

You should be able to figure this out by clicking on the little script icon on your download. Here is a sample of mine:

 

Loading config from /downloads/scripts/autoProcessTV.cfg
Opening URL: http://192.168.1.40:8081/home/postprocess/processEpisode?nzbName=Graceland.S02E12.720p.HDTV.X264-DIMENSION.nzb&quiet=1&dir=%2Fdownloads%2Fcomplete%2FSeason+2
Processing folder: /downloads/complete/Season 2



Processing /downloads/complete/Season 2/Graceland S02E12 - 720p HDTV X264-DIMENSION.mkv (Graceland.S02E12.720p.HDTV.X264-DIMENSION.nzb)

Found result in history: (260338, 2, [], 4)

Parsed Graceland.S02E12.720p.HDTV.X264-DIMENSION into Graceland - S2E12 - 720p.HDTV.X264 (DIMENSION) [ABD: False]

Looking up Graceland in the DB

Lookup successful, using tvdb id 260338

Loading show object for tvdb_id 260338

Retrieving episode object for 2x12

Snatch history had a quality in it, using that: HD TV

Sick Beard snatched this episode, marking it safe to replace

This download is marked as safe to replace existing file

Found release name Graceland.S02E12.720p.HDTV.X264-DIMENSION

Destination folder for this episode: /tv/Graceland/Season 2

Moving file from /downloads/complete/Season 2/Graceland S02E12 - 720p HDTV X264-DIMENSION.mkv to /tv/Graceland/Season 2/Graceland S02E12 - Echoes.mkv

Deleted folder: /downloads/complete/Season 2

Processing succeeded for /downloads/complete/Season 2/Graceland S02E12 - 720p HDTV X264-DIMENSION.mkv

 

I read this as SAB doing the actual move, but I could be wrong. I just know the file ends up where it's supposed to be. :)

  • Author

Hello bkastner.  I can't seem to find the script icon. 

 

But which script tells sab to move it to which specific folder of the array?  Is that the function of sabtosickbeard script?  (I didn't have this configured)

 

Is this folder necessary to have filled so that shows be moved to their correct folders? TV Download Dir

 

Should I even tick "Scan and Process" in sickbeard?

 

Since I installed the apps at /usr/local/sickbeard and /usr/local/sabnzbd, I don't know where to copy the sickbeard scripts to?  I just didn't copy it.  Is this the reason I don't see the script icon?

Hello bkastner.  I can't seem to find the script icon. 

 

But which script tells sab to move it to which specific folder of the array?  Is that the function of sabtosickbeard script?  (I didn't have this configured)

 

Is this folder necessary to have filled so that shows be moved to their correct folders? TV Download Dir

 

Should I even tick "Scan and Process" in sickbeard?

 

Since I installed the apps at /usr/local/sickbeard and /usr/local/sabnzbd, I don't know where to copy the sickbeard scripts to?  I just didn't copy it.  Is this the reason I don't see the script icon?

 

Yes, you need to have sabtosickbeard.py configured. I created a scripts folder under Downloads and moved all the scipts into there. Then you need to edit autoProcessTV.cfg to make sure it has the correct IP & Host.

 

Then in SAB make sure you have the scripts folder defined.

 

Finally, under Categories for the tv category select sabtosickbeard.py as the script.

 

  • Author

Saw on another post http://lime-technology.com/forum/index.php?topic=23172.msg204869#msg204869 the following:

 

"I am actually letting sickbeard post process without the sabtosickbeard script.

 

Sab is moving the completed tv show files to /mnt/cache/.sabnzbd/complete/TV Shows/

 

Sickbeard watches the /mnt/cache/.sabnzbd/complete/TV Shows folder for new files. When it finds them, it automatically processes them, downloading metadata and moves them to the /mnt/user/TV Shows/ShowName folder"

 

I have mine set up like this, and it works well.  Is this another way to do it?

 

Sure. If it's working, then it's working. :)

 

It doesn't matter which path you take as long as you are ending up where you want to go!

  • Author

thanks bkastner

Mine, sickbeard puts nzb files into a watched folder for sab.  Then sab puts all my downloaded tv shows via a category path to a single watched folder on the cache drive.  Sickbeard watches this folder to post process and rename the shows.  It then moves them to the proper tv series folder on the cache drive.  My mover script is set to fire off every night at 3 am to move to the array

 

Myk

 

  • Author

Hello Myk, by having sickbeard watch this folder on the cache drive, it allows sickbeard  to rename it to the correct format, correct folder, all while still in cache drive? When mover script executes, what tells it to move it to the array, under the same tree structure?

When mover script executes, what tells it to move it to the array, under the same tree structure?

 

The very nature of mover and how you have your shares configured.

  • Author

So the mover just follows the existing folder tree and move from cache to array?

So the mover just follows the existing folder tree and move from cache to array?

Read this and see if it helps. Sickbeard should be putting your files in a share that is set to use the cache drive. NOT pointed directly to /mnt/cache/TV/etc/etc, but something like /mnt/user/TV/etc/etc

Saw on another post http://lime-technology.com/forum/index.php?topic=23172.msg204869#msg204869 the following:

 

"I am actually letting sickbeard post process without the sabtosickbeard script.

 

Sab is moving the completed tv show files to /mnt/cache/.sabnzbd/complete/TV Shows/

 

Sickbeard watches the /mnt/cache/.sabnzbd/complete/TV Shows folder for new files. When it finds them, it automatically processes them, downloading metadata and moves them to the /mnt/user/TV Shows/ShowName folder"

 

I have mine set up like this, and it works well.  Is this another way to do it?

 

you should not be doing this unless you run sab and sb on different computers. if they are on the same machine you just have sab set to tell sb when its done d/ling something via the sabToSickbeard script. (which you set for the correct category) to be able to set the script you have to define the scripts folder in sab, for example pointing it to the sickbeard\autoprocesstv folder.

It could be SAB or SickBeard. I have both configured the same way so I don't need to worry.

 

You should be able to figure this out by clicking on the little script icon on your download. Here is a sample of mine:

 

Loading config from /downloads/scripts/autoProcessTV.cfg
Opening URL: http://192.168.1.40:8081/home/postprocess/processEpisode?nzbName=Graceland.S02E12.720p.HDTV.X264-DIMENSION.nzb&quiet=1&dir=%2Fdownloads%2Fcomplete%2FSeason+2
Processing folder: /downloads/complete/Season 2



Processing /downloads/complete/Season 2/Graceland S02E12 - 720p HDTV X264-DIMENSION.mkv (Graceland.S02E12.720p.HDTV.X264-DIMENSION.nzb)

Found result in history: (260338, 2, [], 4)

Parsed Graceland.S02E12.720p.HDTV.X264-DIMENSION into Graceland - S2E12 - 720p.HDTV.X264 (DIMENSION) [ABD: False]

Looking up Graceland in the DB

Lookup successful, using tvdb id 260338

Loading show object for tvdb_id 260338

Retrieving episode object for 2x12

Snatch history had a quality in it, using that: HD TV

Sick Beard snatched this episode, marking it safe to replace

This download is marked as safe to replace existing file

Found release name Graceland.S02E12.720p.HDTV.X264-DIMENSION

Destination folder for this episode: /tv/Graceland/Season 2

Moving file from /downloads/complete/Season 2/Graceland S02E12 - 720p HDTV X264-DIMENSION.mkv to /tv/Graceland/Season 2/Graceland S02E12 - Echoes.mkv

Deleted folder: /downloads/complete/Season 2

Processing succeeded for /downloads/complete/Season 2/Graceland S02E12 - 720p HDTV X264-DIMENSION.mkv

 

I read this as SAB doing the actual move, but I could be wrong. I just know the file ends up where it's supposed to be. :)

 

sab tells sb hey i have x downloaded (via the sabToSickbeard script) which then sickbeard will copy/move+rename said files to the show's location you specified when you added the show to sb.

  • Author

Hello Zoggy,

 

Just curious, why is it better to use sabtosickbeardscript rather than have SB watch the folder? 

 

So it's when you initially add the show, and where it asks you to save, that will be the final destination.  Thanks for the clarification on this.

  • Author

So the mover just follows the existing folder tree and move from cache to array?

Read this and see if it helps. Sickbeard should be putting your files in a share that is set to use the cache drive. NOT pointed directly to /mnt/cache/TV/etc/etc, but something like /mnt/user/TV/etc/etc

 

jonathanm, thanks, will read through it later.

Hello Zoggy,

 

Just curious, why is it better to use sabtosickbeardscript rather than have SB watch the folder? 

 

So it's when you initially add the show, and where it asks you to save, that will be the final destination.  Thanks for the clarification on this.

 

using the watch folder means it has to hit that dir every 10mins to see if anything is new. which means a constant poll and a possible 9:59 delay in having your content in the proper spot (and notifications/htpc viewing app to enjoy it). also if you use sabToSickbeard sb will use some of the additional data it has from sab instead of solely relying on the file/folder name.. which can be helpful for those odd obfuscated releases where the folder and filenames mean nothing.

  • Author

Zoggy, thanks. I see your point now. I prefer it without delay. Does this mean you don't configure any renaming in sabnzbd?

  • Author

zoggy,

 

Am using the script now.  It's a lot better.  I want to ask if there's the same functionality in CP?  How does Sab inform CP?

zoggy,

 

Am using the script now.  It's a lot better.  I want to ask if there's the same functionality in CP?  How does Sab inform CP?

 

I dont use CP.. but I know it monitors folders to know when to process stuff.. which is why you dont want CP touching your TV folder or misconfiguration.. its had a history of deleting/renaming things it shouldnt...

Zoggy, thanks. I see your point now. I prefer it without delay. Does this mean you don't configure any renaming in sabnzbd?

 

correct, you don't want to have SAB renaming your tv stuff.... as sickbeard will do that. also if sab renames it.. it could pass an invalid location to the script (since the path wouldnt match what is expected)

  • Author

Thanks for the confirmation Zoggy

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.