Version 5 Development > Plugin Design

SABnzbd+ SickBeard CouchPotato Plugin/Installer for v5b11+

(1/238) > >>

Benni-chan:
Hi folks,

here are some new Plugins to install and control SABnzbd+, SickBeard and CouchPotato.
Dependencies necessary to run these apps will be installed automatically.

If the app isn't found in the configured directory, the latest version will be downloaded and installed.
All the apps will be started, when the array is started, if they were configured and enabled previously.

The configured user will automatically be created, if it doesn't exist. (but i recommend using "nobody" or "root")
Additionally SABnzbd has an easy update function in the plugins webgui.

These Plugins uses the new Plugin Installer system, so UnRaid v5b11+ is a requirement.

The installation is quite simple, just download the plg files for the plugins you want to use and copy them to your flash drive into the config/plugins folder. Then reboot your server or run "installplg /boot/config/plugins/<NAME OF THE PLUGIN>.plg"

Download:
http://unraid.benjaminwaller.de/sabnzbd/sabnzbd-0.4c-i468-bw.plg
http://unraid.benjaminwaller.de/sickbeard/sickbeard-0.4a-i468-1bw.plg
http://unraid.benjaminwaller.de/couchpotato/couchpotato-0.5-i468-bw.plg

Changelog for SABnzbd+:
0.1 initial release
0.2 added Port configuration for sickbeard and couchpotato, nicer select for user and some bug fixes
0.3 added support for extra data dir, install to ramdisk, drop of sabnzbddependencies package, nicer shutdown for sabnzbd
0.4 fixed a bug, when installed to ramdisk
0.4a updated to multicore par2 (thanks prostuff1 for package and url)
0.4b workaround if shutdown via apikey doesn't work
0.4c fixed included updater (before the version number wasn't read correctly if longer than 3 numbers)

Changelog for Sickbeard:
0.1 initial release
0.2 added Port configuration for sickbeard and couchpotato, nicer select for user and some bug fixes
0.3 added support for extra data dir, install to ramdisk, drop of sabnzbddependencies package, nicer shutdown for sabnzbd
0.4 fixed a bug, when installed to ramdisk
0.4a added sqlite dependency package

Changelog for Couchpotato:
0.1 initial release
0.2 added Port configuration for sickbeard and couchpotato, nicer select for user and some bug fixes
0.3 added support for extra data dir, install to ramdisk, drop of sabnzbddependencies package, nicer shutdown for sabnzbd
0.4 fixed a bug, when installed to ramdisk
0.4a added sqlite dependency package
0.5 added installer function to webgui (used as an updater), settings are saved when plugin is disabled.

ToDo:
fix a hang, when starting sickbeard (workaround: wait some seconds, then reload page)
update of couchpotato doesn't work, if installdir and datadir are on different disks. (this is a bug inside of couchpotato!) (workaround: stop couchpotato and click the install button)

WARNING:
Don't use the update function of couchpotato. It WILL break your install (see todo above)
since version 0.5 of the plugin, you can use the install button in the webgui to reinstall the latest version of couchpotato

Screenshots:



prostuff1:
can we get a port setting for SickBeard and CouchPotato please?

I don't use the default port for any of those apps, so setting it the first go around would be nice.

Benni-chan:
the ports of sickbeard and couchpotato can be configured in their own guis.
the plugin will read the app's config file and give you always the correct link.

i don't like messing around in the config file of an other app. especially if it only a few clicks to change the port after installation.
but, hmm, i will have a look at it, how it could be done safely

btw. if you already have an installation of these apps, simply enter that directory in the plugin and nothing else needs to be changed.

prostuff1:

--- Quote from: Benni-chan on August 19, 2011, 06:30:21 AM ---the ports of sickbeard and couchpotato can be configured in their own guis.
the plugin will read the app's config file and give you always the correct link.

i don't like messing around in the config file of an other app. especially if it only a few clicks to change the port after installation.
but, hmm, i will have a look at it, how it could be done safely

btw. if you already have an installation of these apps, simply enter that directory in the plugin and nothing else needs to be changed.

--- End quote ---
I understand that, but I might have stuff running on that port already, I need to specify the port up front (like I allow for my unMenu pakcages of these apps) so I can get to the app.


Also, the only other thing I would like to see is that the Run as user: be a dropdown.  Default it to nobody since we are running on 5.0bX and then give root and other.  If they select other, show a text box where they can specify the name of the user.  Maybe even try a check to see if the user exists and show that to the user, to make sure they did not type the name wrong.  Some Javascript confirm type stuff should work.

And last but not least... this is all personal preference... but I would prefer to see the use of the SABDependencies package dropped.  I understand what it does, but I would prefer to see the common files between SABnzb, SickBeard, and CouchPotato split out.

lionelhutz:
Someone's been busy the last few days. Good work on getting this started.

Peter

Navigation

[0] Message Index

[#] Next page

Go to full version