First Run - addictedtoscreens/torrentexpander GitHub Wiki
The first time you start this script, I recommend you do it manually. You’ll be able to edit your settings in order to suit your needs. Those settings will be stored in a settings files that will be generated on first run. That way you won’t need to set them again if you update the script.
The only required settings are the path to your destination_folder (aka : the folder where you want your torrents to be expanded), the path to the unrar program and the path to the unzip program.
-
In Mac OS X, the script comes pre-configured to expand torrents to your desktop. All you have to do is download Rar from Winrar’s website. Expand the rar folder and drag it to your /Applications/ folder
-
On the PopCornHour? C200 / A200 / A210, the script does not need to be configured, but you need to create a /share/Download/expanded/ folder before running this script (you’ll find your expanded torrents in this folder).
Once you’re done with your settings, please read the How_to_setup_this_script_with_Transmission wiki
This script has been tested on Mac OS 10.6.7, Ubuntu 9.10, Debian 6 and the Popcornhour C200 Media Player and seems to work reliably.
Here is the complete list of settings that are offered in this script
#
USER VARIABLES ##
These variables are required ##
On 1st run they will be stored in an ini file#
destination_folder="/path/to/your/destination/folder/"
Software paths #
Please check if these variables are correct
unrar_bin="/usr/bin/unrar"
unzip_bin="/usr/bin/unzip"
ccd2iso_bin="/usr/bin/ccd2iso"
mkvdts2ac3_bin="/path/to/mkvdts2ac3.sh"
# Supported file extensions - Comma separated
# You must have at least one extension enabled in each field #
DON T ADD RAR OR ZIP EXTENSIONS IN THESE FIELDS #
supported_extensions="avi,mkv,divx,iso,img,mp3,m4a,wav,srt,idx,sub,dvd"
tv_show_extensions="avi,mkv,srt"
movies_extensions="avi,mkv,divx,iso,srt,idx,sub"
music_extensions="mp3,m4a,wav"
# Movies detection patterns - Comma separated
# You must have at least one pattern enabled #
movies_detect_patterns="r5,ts,720p,1080p,dvdrip,bdrip,brrip,dvdscr,dvdr"
# Optional functionalities variables #
Set these variables to "no" to disable ##
Convert DTS track from MKV files to AC3 - Switch variable to "yes" to enable and check mkvdts2ac3.sh path
dts_post="no"
user_perm_post="no"
group_perm_post="no"
files_perm_post="no"
folder_perm_post="no"
edit_perm_as_sudo="no"
third_party_log="no"