This is a simple web application for "Automatic TV Show Download". It's written in Laravel and use aria2 as torrent downloader.
- kickass
- thepiratebay
- 1337x
- tvmaze
- Clone this project using git (
git clone https://github.com/saaiful/TVSHOW
) or download and unzip it in your server root. - Install it using
composer install
. - Edit the .env file and set your database details.
- Migrate using
php artisan migrate
. - Install aria2 in your server/pc and enable rpc (
aria2c --enable-rpc --rpc-listen-all
), in windows x64 download the setup file from https://github.com/saaiful/aria2-win64-rpc/raw/master/aria2c-setup.exe and just install it and reboot your pc. - Set a cron job or set a task using windows task scheduler or https://www.z-cron.com/. run the
download.cmd
.
- Please goto database and drop
episodes
table and deleteepisodes
table entry frommigrations
table - run
php artisan migrate
- Update Show List (show/update-all)
- edit
.env
and addFINAL_DIR=
- Add cron
php artisan plex:style
every mminute or every five minute to move and rename downloaded file (This might sometime casue issue if your internet connection is gone for more then 100 second while downloading. Aria2 event hook is not working in RPC mode.)
All downloads can be found in storage/downloads
.