Transmissioncli 1.10 torrentflux-b4rt binary for AppleTV
--------------------------------------------------------
There is no warranty or other guarantee of fitness for this software, it is provided solely "as is".

Sources:
* Downloaded Transmission from http://www.transmissionbt.com/
* Downloaded Transmissioncli-1.10 for TorrentFlux-b4rt from http://tf-b4rt.berlios.de/

Extra patch:
Please make sure you patch the torrentflux-b4rt file inc/functions/functions.core.netstat.php :

In function netstatPortList, replace case2 statement with:
                case 2: // bsd
 // JPD : Hardcoded AppleTV transmissioncli fix
 //                      $processUser = posix_getpwuid(posix_geteuid());
 //                      $webserverUser = $processUser['name'];
 //                      $retStr .= shell_exec($cfg['bin_sockstat']." -4 -l -P tcp | ".$cfg['bin_awk']." '/(python|transmissi|wget|nzbperl|java).+\*:[0-9]/ {split(\$6, a, \":\");print a[2]}'");
                        $retStr .= shell_exec("ps ax | grep transmissioncli | grep -v grep | awk '{print \$11}'");
                        break;

Have fun!

-- Jean-Pierre Deckers
http://blog.kiobi.com/
