I have built and installed torrent client Transmission (daemon) version 2.21 (11855) on my B3. It works very well except for two problems. I have searched the web and in particular Transmissions forums and other support sites for help but finding nothing on the topic led me to think if my problems maybe have something with the B3 to do.
So, first off: When a download completes Transmission will set some environment variables about the completed torrent that can be used for scripts and so on. However, when I go through all the variables (like TR_TORRENT_NAME and try to echo them, nothing is shown. Even trying echo $TR_APP_VERSION which should work all the time shows that nothing is set. Could this be because of some limitation of the B3?
Secondly, when a download finishes Transmission is configured to run a script. For now I have a simple script which only saves date and environment variables:
Code: Select all
#! /bin/sh
{
date >> info.log
echo "Torrent complete" >> info.log
echo Torrent Name is "$TR_TORRENT_NAME" >> info.log
echo Torrent ID is "$TR_TORRENT_ID" >> info.log
} &
UPDATE: Actually, while writing this post somehow data including correct environment variables was written to the info.log file. However, this was only done for some of the already completed torrents and not for anything added after reboot. Checking the processes, there was two transmission-daemon running, one under user root and one under user 114. The latter one had successful "Calling script"-lines in syslog while the ones associated with root were unsuccessful. The problems do still exists though since I haven't been able to recreate this circumstances with reboots since. I'll be thankful for any help possible!