Usenet is packed full of content including comics. Thanks to developer evilhero you can now automate comic book downloading. You can create a wishlist of all the comic books you want and mylar will search your usenet indexers for the comic books and send them to your usenet downloader. It will also search some private torrent sites and send the .torrent files to your torrent downloader's watch directory. There are post processing scripts for both Sabnzbd and NZBGet so your comics will be nicely organized and named appropriately.
Usenet Provider | |||||||
---|---|---|---|---|---|---|---|
UsenetServer | |||||||
Newshosting | |||||||
Frugal | |||||||
Usenetlink |
Install Mylar Ubuntu 14.04
Install dependencies for Mylar
sudo apt-get install python python-cherrypy git -y
Git clone Mylar into opt
sudo git clone https://github.com/evilhero/mylar -b development /opt/Mylar
Change ownership of the Mylar directory
sudo chown username:username -R /opt/Mylar
Try running Mylar
python /opt/Mylar/Mylar.py -d
You can access Mylar at http://ip.address:8090/
Autostart Mylar
The init.d script is preferable but if you have problems with it you can use the Mylar Upstart script
Mylar init.d Script
Create the default Mylar configuration file which the init.d script reads
sudo nano /etc/default/mylar
Adjust these values as you see fit
MYLAR_USER=pi
MYLAR_HOME=/opt/Mylar
MYLAR_DATA=/opt/Mylar
MYLAR_PORT=8090
Ctrl+X, Y and Enter
Mylar has an init.d script included so let's copy that
sudo cp /opt/Mylar/init-scripts/ubuntu.init.d /etc/init.d/mylar
Make the Mylar init.d script executable
sudo chmod +x /etc/init.d/mylar
Tell the system to use Mylar's init.d defaults
sudo update-rc.d mylar defaults
Now you can start Mylar
sudo service mylar start
Mylar Upstart Script
To run Mylar automatically on boot you can use a upstart script. This can be preferred over the old init.d scripts which were not always reliable. Upstart scripts are persistent and as long as they are coded correctly will start up no matter what. They will also restart the program – here Mylar – they are responsible for if it crashes or dies for some reason.
Create the Mylar upstart file
sudo nano /etc/init/mylar.conf
Paste this code, change username to the username you use to log on
#author "HTPCGuides.com"
#description "Upstart Script to run Mylar as a service on Ubuntu/Debian
#Set username for the process
setuid username
setgid username
start on runlevel [2345]
stop on runlevel [016]
respawn
exec python /opt/Mylar/Mylar.py -d
Try and start the service
sudo service mylar start
The terminal should say
mylar start/running, process 1120
If you get any errors about the service not starting then just reboot
sudo reboot
You can access Mylar at http://ip.address:8090/
Now you can Configure Mylar with Sabnzbd or NZBGet.