##About This application assigned to extract downloaded torrents on synology to predefined directory
##Usage
bundle install
- Create db directory (for example ~/.torrent_unpacker/database.sql)
- Create config (for example ~/.torrents_unpacker/config.yml)
- Fill the config with torrents info:
the_big_bang_theory:
source: '/home/torrents/The.Big.Bang.Theory'
dest: '/var/videos/the big bang theory'
start_item: 'S01E01'
walking_dead:
source: '/home/torrents/Walking.Dead'
dest: '/var/videos/walking dead'
start_item param specifies episode which unpacking will start from.
4. Execute app with lib/torrents_unpacker.rb -d ~/.torrent_unpacker/database.sql -c ~/.torrents_unpacker/config.yml
5. Alternative way of execution java -jar torrent_unpacker.jar -c <config> -d <database>
- Make an executable - Done as ruby executable script
- Make command line params
-c <config> -d <database>
- Done - Make initial episode as config param - Done