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,SickBeard and CouchPotato Start/Stop User Script

Featured Replies

Hi there I was wondering if somebody could let me know how to make a Start/Stop User Script for Sabnzbd,SickBeard and CouchPotato. I would like one similar to the one you get with the transmission package. Thanks

This is what I used from this guide http://www.lime-technology.com/wiki/index.php?title=Install_Python_based_servers it's at the bottom

 

This code can be placed in a file in the unmenu directory on the flash drive and used to start these services. Save it as a file called 10-unmenu_user_script_start_python. It will appear near the top on the User Scripts page in unMENU. Use a Unix friendly text editor to create this file. Midnight Commander (type mc at the command prompt) can be used to create or clean up the file.

#define USER_SCRIPT_LABEL Start Python

#define USER_SCRIPT_DESCR Start the Python Programs SAB, SickBeard and CouchPotato

python /mnt/cache/.custom/sabnzbd/SABnzbd.py -d

python /mnt/cache/.custom/sickbeard/SickBeard.py --daemon

python /mnt/cache/.custom/couchpotato/CouchPotato.py -d

 

This code can be placed in a file in the unmenu directory on the flash drive and used to stop these services. Save it as a file called 10-unmenu_user_script_stop_python. It will appear near the top on the User Scripts page in unMENU. Use a Unix friendly text editor to create this file. Midnight Commander (type mc at the command prompt) can be used to create or clean up the file.

#define USER_SCRIPT_LABEL Stop Python

#define USER_SCRIPT_DESCR Stop the Python Programs SAB, SickBeard and CouchPotato

#

# stop SAB

wget -q --delete-after http://IP:8082/shutdown?session=API-Key

#

# stop SickBeard

wget -q --delete-after http://IP:8081/home/shutdown/

#

# Stop CouchPotato

wget -q --delete-after http://IP:8083/config/exit/

 

 

I am sure you can make a single script for each one

  • Author

bump can somebody if possible please make me the start/stop user scripts as I tried and they don't work. Thanks

They don't work for me either.

 

SAB won't even restart/shutdown for me. Does it work for you?

You have to put the server IP address where the line says IP and put the API key for SAB where the line says API.

 

You have to use a unix friendly editor. If you didn't, then logon to the server and type mc. Navigate to the flash drive and open the file. Then clear out any ^M or similar characters that don't belong and save it.

 

Peter

 

What are some good unix friendly editors?

TextPad

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.