maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Torrent client (https://talk.maemo.org/showthread.php?t=92723)

n950 2014-02-18 17:47

Torrent client
 
Hello,

How to Download torrent file with sailfishOS?

nieldk 2014-02-18 18:32

Re: Torrent client
 
wget <url-to-torrent-file>

;)

n950 2014-02-18 18:54

Re: Torrent client
 
is it possible download the files from the torrent or not? Not only the torrent file.

Like a torrent client.

ZogG 2014-02-18 19:00

Re: Torrent client
 
maybe this one can be ported http://talk.maemo.org/showthread.php?p=1255042

coderus 2014-02-18 19:16

Re: Torrent client
 
porting transmission daemon is easy. and then need to implement silica rpc ui for daemon :)

nieldk 2014-02-18 20:01

Re: Torrent client
 
Here U go

https://openrepos.net/content/nieldk/transmission

depends on libevent:
devel-su
zypper in libevent

command-line only with these commands available to control torrents

transmission-cli
transmission-create
transmission-daemon
transmission-edit
transmission-remote
transmission-show

Code:

Usage: transmission-cli [options] <file|url|magnet>

Options:
 -h  --help                          Display this help page and exit
 -b  --blocklist                    Enable peer blocklists
 -B  --no-blocklist                  Disable peer blocklists
 -d  --downlimit            <speed>  Set max download speed in kB/s
 -D  --no-downlimit                  Don't limit the download speed
 -er --encryption-required          Encrypt all peer connections
 -ep --encryption-preferred          Prefer encrypted peer connections
 -et --encryption-tolerated          Prefer unencrypted peer connections
 -f  --finish              <script> Run a script when the torrent finishes
 -g  --config-dir          <path>  Where to find configuration files
 -m  --portmap                      Enable portmapping via NAT-PMP or UPnP
 -M  --no-portmap                    Disable portmapping
 -p  --port                <port>  Port for incoming peers (Default: 51413)
 -t  --tos                  <tos>    Peer socket TOS (0 to 255,
                                    default=default)
 -u  --uplimit              <speed>  Set max upload speed in kB/s
 -U  --no-uplimit                    Don't limit the upload speed
 -v  --verify                        Verify the specified torrent
 -V  --version                      Show version number and exit
 -w  --download-dir        <path>  Where to save downloaded data


nieldk 2014-02-18 20:07

Re: Torrent client
 
output will be like this (in terminal)

Code:

[nemo@localhost ~]$ transmission-cli slackware-14.1-install-d1.torrent
transmission-cli 2.82 (14160)
[21:04:05.156] Transmission 2.82 (14160) started
[21:04:05.172] RPC Server: Adding address to whitelist: 127.0.0.1
[21:04:05.173] DHT: Generating new id
[21:04:05.205] Saved "/home/nemo/.config/transmission/torrents/slackware-14.1-iso.6f8cd699135b4915.torrent"
[21:04:05.487] Port Forwarding (NAT-PMP): initnatpmp succeeded (0)
[21:04:05.487] Port Forwarding (NAT-PMP): sendpublicaddressrequest succeeded (2)
Progress: 3.2%, dl from 0 of 0 peers (0 kB/s), ul to 0 (0 kB/s) [0.00]    [21:04:13.497] Port Forwarding: State changed from "Not forwarded" to "Starting"
[21:04:14.038] Port Forwarding: State changed from "Starting" to "???"
Progress: 3.2%, dl from 0 of 18 peers (0 kB/s), ul to 0 (0 kB/s) [0.00]        [21:04:24.002] slackware-14.1-iso: Starting IPv4 DHT announce (poor, 16 nodes)
Progress: 12.4%, dl fr[21:04:57.099] slackware-14.1-iso: Piece 399, which was just downloaded, failed its checksum test
[21:04:58.237] DHT: Attempting bootstrap from dht.transmissionbt.com
Progress: 25.9%, dl from 24 of 26 peers (2.27 MB/s), ul to 0 (0 kB/s) [0.00]


n950 2014-02-19 16:41

Re: Torrent client
 
Hi,

I have installed libevent-2.0.21-0.armv7hl.rpm

Now when i try to install transmission I have an error:

libcrypto.so.1.0.0 needed?

Where can i download it?

tvicol 2014-02-20 07:40

Re: Torrent client
 
Quote:

Originally Posted by n950 (Post 1413377)
Hi,

I have installed libevent-2.0.21-0.armv7hl.rpm

Now when i try to install transmission I have an error:

libcrypto.so.1.0.0 needed?

Where can i download it?

Go to openrepos.net , download Warehouse and install.
Than search for transmission application, enable repository and install. Enabling repository will resolve all dependencies.

n950 2014-02-20 21:25

Re: Torrent client
 
Thank you now it works but no icon created only with command lines right?

coderus 2014-02-21 03:22

Re: Torrent client
 
http://talk.maemo.org/showpost.php?p...72&postcount=6
Quote:

Originally Posted by nieldk
command-line only with these commands available to control torrents


nieldk 2014-02-22 18:49

Re: Torrent client
 
Quote:

Originally Posted by n950 (Post 1413565)
Thank you now it works but no icon created only with command lines right?

well, not really GUI, but, when you have started transmission-cli, or transmission-daemon open 127.0.0.1:9190 in browser ;)


All times are GMT. The time now is 00:03.

vBulletin® Version 3.8.8