UPDATED 4/29/2013
TorrentExpander Auto Unrar and Unzip script Guide
To see all that TorrentExpander is capable of, see the following link
http://code.google.com/p/torrentexpander/
Features:
- Automatically extract compressed archive
- Rename Movie & Series as you like
- Automatically copy or move your downloads in ordered directory
- Build .nfo for each movie file (useful with Jukebox or Movie Catalog software)
- Download Poster from imdb
- Download Fanart from TheMovieDB
- Put Movies, Series and Music in different folders
- Automatically update itself
- Many More
First stop Transmission Daemon
killall transmission-daemon
You will need to download these dependencies for the script
ipkg install unrar
Edit settings.json
nano /root/.config/transmission-daemon/settings.json
Replace these lines
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
With these lines
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/var/lib/scripts/torrentexpander.sh",
Hit control and o
Hit enter
Hit control and x
This will save your edited file
Create the scripts directory, download the script, and make it executable
mkdir /var/lib/scripts
cd /var/lib/scripts
wget http://torrentexpander.googlecode.com/svn/trunk/torrentexpander.sh
chmod 755 /var/lib/scripts/torrentexpander.sh
Now lets run the setup script
/var/lib/scripts/torrentexpander.sh
The only change you NEED to make is to:
destination_folder=no
Change it to
destination_folder=/DataVolume/shares/ whatever share and folder you want the files extracted to
Make sure the share and folder already exist on the NAS
Extracted ZIP and RAR archives will be extracted here in a folder named after the archive
Non-archive files will also be placed in this folder
Hit control and o
Hit enter
Hit control and x
This will save your edited file
DONE!