Changes

From Amahi Wiki
Jump to: navigation, search
2,997 bytes removed ,  17:19, 8 January 2017
[http://transmissionbt.com Transmission] is a torrent client that is available on Amahi as a [http://www.amahi.org/apps/transmission one-click] app. It has a web based interface.
<!--[[Image:Transmission_screen.png]]-->= Blocklist Rules =Blocklists can be added to Transmission via the user interface:* Select '''Edit Preferences''' (looks like a wrench at the bottom left)* Choose '''Peers''' tab* Select '''Enable blocklist''' checkbox* Replace <b><nowiki>http://www.example.com/blocklist</nowiki></b> with <b><nowiki>http://list.iblocklist.com/?list=bt_level1</nowiki></b>* Choose '''Update'''  You should now see "Blocklist has 0 rules" change. Close the '''Preferences''' by selecting the '''X''' at the top right corner.
= Automatically Download to a Share =
* Torrent files added to this share directory are also automatically added to Transmission to download. This is done every 5 minutes via '''/etc/cron.d/amahi-torrent-watch''' [http://en.wikipedia.org/wiki/Cron Cron] job.
* Change the following portion of the file as desired(*/5 = 5 minutes):
*/5 * * * *
 
= Change download location (Amahi 7) =
 
* If you prefer to create a different share or change the location of torrent downloads, you will need to modify the automatic download script.
 
* Edit '''/usr/share/transmission/torrentwatch.sh''' and change the following lines to your desired location:
 
for file in /var/hda/files/torrents/*.torrent
 
:: and
 
if [ "$file" != "/var/hda/files/torrents/*.torrent" ]; then
= Automatic download script (Amahi 7) =
* To change the logging or saving of torrents, you will need to modify the script below, (located in /usr/share/transmission directory.):
** Remove '''>> /var/log/torrentwatch.log''' to disable logging.
** Change '''mv "$file" "$file".added" ''' to '''"rm -f "$file"''' to prevent saving torrents with .added extension.** Change '''/var/hda/files/torrents''' to desired share path to change download location.
<pre>#!/bin/bash
'''NOTE: ''' Do all tasks as ROOTroot user
1. Stop the Transmission service:
5. Next, we need to make sure that the cronjob that automatically loads torrents from the torrents share uses the same user authentification.
* (Amahi 6 ONLY) Edit '''/etc/cron.d/amahi-transmission-watch''' and change the following:
*/5 * * * * transmission transmission-remote localhost:9091 -a /var/hda/files/torrents/*.torrent && rm -f /var/hda/files/torrents/*.torrent
*/5 * * * * transmission transmission-remote localhost:9091 --auth [username]:[password] -a /var/hda/files/torrents/*.torrent && rm -f /var/hda/files/torrents/*.torrent
* (Amahi 7 ONLY) Edit '''/usr/share/transmission/torrentwatch.sh''' and change the following:
/usr/bin/transmission-remote localhost:9091 -a "$file"
<u>GUI method:</u>
1. Go to System -> Administration -> Users and Groups<br />2. Enter your root password<br />3. Click on Edit -> Preferences<br />4. Make Sure "Hide System users and groups" is unchecked and close the dialog box<br />5. In the list of Users find "transmission" and double click<br />6. In the Groups tab find "users" and make sure it is checked.<br />
7. Close all windows.
 
<u>Terminal method:</u>
1. Open Terminal<br />
2. Type
sudo su-3. Enter your root password<br />
4. Type
usermod -G users transmission
 
5. Close Terminal
Note: You need to stop the transmission-daemon service and watchdog before running the above command, and a restart of the server may be necessary, just remember to restart the service and watchdog first.
 
= Manual Transmission Install (Fedora 14) =
 
1. Open a terminal window and install the latest version of Transmission available in the Fedora repository as root:
 
su
yum install transmission
 
2. Go to System -> Preferences -> Startup Applications. In the "Startup Programs" tab, click the "Add" button. In the window that pops up, fill in the values as follows:
 
- Name: Transmission
- Command: transmission-gtk %F
- Comment: Transmission BitTorrent Client
 
3. Launch Transmission by going to Applications -> Internet -> Transmission BitTorrent Client. Now go to Edit -> Preferences. In the "Torrents" tab, tick "Automatically add torrents from" and choose a folder in one of your shares that you'd like to use as your "torrent landing pad". For example, you could create a share called "Torrents" and have a folder in that share called "Torrent Files". Any torrent files that you copy to this folder will be automatically loaded and started by Transmission.
 
4. Also on this tab, tick "Start when added" and "Move .torrent file to trash". Untick "Show options dialog". Set your "Save to Location" to a folder in one of your shares. For example, if you have a share called "Torrents", you could use a folder in that share called "Completed Torrents".
 
[[Image:Transmission_Preferences_Torrents.png]]
 
5. Go to the "Web" tab and tick "Enable web client". It is recommended that you also tick "Use authentication" and choose a username and password for access to Transmission on your network.
 
[[Image:Transmission_Preferences_Web.png]]
 
6. Go through the rest of the tabs and set up everything as you'd like it (e.g. download & upload speed limits).
 
7. To control Transmission from other computers on your network, you can use the web interface. To access this, type the following into your browser (replace "hda" with the name or IP address of your Amahi server):
 
<nowiki>http://hda:9091</nowiki>
 
8. Another option that gives you more control over your torrents is to install Transmission Remote GUI on your client computer(s). It can be downloaded from here:
 
<nowiki>http://code.google.com/p/transmisson-remote-gui/downloads/list</nowiki>
 
9. Once installed, start Transmission Remote GUI and go to Tools -> Connection Options. In the "Connection" box, type "HDA" or whatever you wish. In the "Connection" tab, fill in the values as follows:
 
- Remote Host: hda
- Port: 9091
- User name: <user name chosen in step 5>
- Password: <password chosen in step 5>
 
NOTE: Replace "hda" with the name or IP address of your Amahi server.
 
[[Image:Transmission_Remote_GUI_Connection_Options_Connection.png]]
 
10. In the "Paths" tab, you'll need to enter path mappings for the folders you've set torrents to download to. For example, if you're using a share called "Torrents", you'll want to enter the following:
 
/var/hda/files/Torrents=\\hda\Torrents
 
[[Image:Transmission_Remote_GUI_Connection_Options_Paths.png]]
 
11. To start downloading a torrent, you can either:
 
<blockquote>a) Copy/download a .torrent file to the folder you specified under "Automatically add torrents from" in step 5.<br>
 
b) Open a .torrent file or magnet link with Transmission Remote GUI.<br>
 
c) Open a .torrent file or enter a torrent URL in the Web Interface.</blockquote>
= Prevent Transmission Email Reports =
12,424

edits