Subscribe to TV series to be informed when a new episode is released.
This project has been initiated on February 8, 2014.
It is a Django web application, which includes a manage.py command to crawl the http://stream-tv.me/ website.
How to start the web interface
# Clone the repository git clone https://github.com/Afnarel/Series-Watcher.git # Enter the project directory cd Series-Watcher # Use pip to install the dependencies pip2 install -r requirements.txt # Enter the subdirectory cd series_watcher # Edit the database settings in series_watcher/settings/base.py # to set a correct absolute path to the SQLite database # Create the database python2 manage.py syncdb --settings=series_watcher.settings.production
Then, use whatever server you want:
- Using the Django development server (not suitable for production):
python manage.py runserver
- Using gunicorn (you will need to serve static
How to create and update the database
You can create/update manually the database using
python manage.py populate
You can also use cron to update it every hour: edit
to set the VIRTUALENV to your own virtualenv. Then, symlink this script into
ln -s series-watcher-cron.sh /etc/cron.hourly.
If this does not work, run
crontab -e (as root) and add the following at the
SHELL=/bin/bash @hourly /etc/cron.hourly/series-watcher-cron.sh
Make sure that the cron daemon is running. On ArchLinux with systemctl (replace 'cronie' with 'dcron' if needed):
systemctl is-active cronieto check if it is running
systemctl start cronieto start it during this session
systemctl enable cronieto start it automatically at each boot
systemctl is-enabled cronieto check if it is enabled
sudo service cron startto start cron (it is already started at boot)
François CHAPUIS - Afnarel
This project is distributed under the terms of the Creative Commons CC-BY-SA license
This is more a tool developed selfishly for my own usage than an actual community project. Still, if you wish to contribute some code, you are welcome to submit pull requests.