clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
672 stars 176 forks source link

Add WebServer to allow editing of scripts from WebUI #260

Closed clinton-hall closed 5 months ago

clinton-hall commented 10 years ago

This will take some time ;)

Madseason41 commented 10 years ago

Looking forward to it!

mannibis commented 10 years ago

use nzbget! i'm assuming this is a sab-only issue?

clinton-hall commented 10 years ago

Lol... Yes, this is an enhancement that would help users with SABnzbd, uTorrent, Transmission, Deluge, rTorrent etc.

I agree that the NZBGet method of configuring is great. But our Torrent clients don't have any such features and SABnzbd is a great product that I still intend to support.... But yes, I do use NZBGet :)

mattfox27 commented 10 years ago

That's a kick-ass idea!!!!

clinton-hall commented 10 years ago

So... I've been thinking...

This will require me learning how to script a webserver... but that aside, here are some thoughts.

For this I am thinking of creating a service/application that will run in the background and serve a webpage (similar to CouchPotato or SickBeard). This service will:

Now, this will be an additional service. It does not have to be used and the core processing will still come from the script called out of the Downloader.

The service could be started via init script, or to keep things easy this can be triggered on first run of the script after boot (service running checks have already been added). So a simple option to "start_web_service".

For updating, the service will need to be stopped if running, then re-spawned after update.

OK... so those are my ideas.... now...

Madseason41 commented 10 years ago

Script failure prowl notifications log viewer +1. Currently I use serviio's log viewer to check nzbtomedia logs. Possibility to auto import settings if pointed to sb, cp install locations???