ItzBlitz98 / torrentflix

Nodejs cli app to search torrent sites and stream using peerflix
MIT License
347 stars 60 forks source link

Is there possibility for download? #89

Open Migacz85 opened 5 years ago

Migacz85 commented 5 years ago

Like in title is there option just to send torrent to program that will download it? Thanks

ghost commented 5 years ago

I also want know this.

paulodiovani commented 5 years ago

The whole point of this project is to stream, not download. Otherwise you can just use a regular torrent client.

oblitum commented 4 years ago

I wished this project provided download option, for torrent files, or magnet links, because even though I could be using a "torrent client", there's actually no good torrent search tool for the terminal, the last that worked was torrench but it stopped working recently, so there's only torrentflix left, and I'm using it solely for the .torrent files it downloads on /tmp.

oblitum commented 4 years ago

I just noticed there's the -o option, it will send magnet/torrent file to the default application set for those. Wished there was an option to simply print the link.

oblitum commented 4 years ago

So, to answer the OP question, yes there's, this is what I did to send torrents/magnets to transmission-daemon.

~/.local/share/applications/transmission-remote.desktop

[Desktop Entry]
Type=Application
Name=Transmission (remote)
Comment=Add torrent to transmission
Exec=/usr/bin/transmission-remote -a %u
MimeType=application/x-bittorrent;application/x-torrent;x-scheme-handler/magnet;
$ xdg-mime default transmission-remote.desktop application/x-bittorrent
$ xdg-mime default transmission-remote.desktop application/x-torrent
$ xdg-mime default transmission-remote.desktop x-scheme-handler/magnet

Now torrentflix -o -e leetx -s 'some file to search' will send the torrent to transmission-daemon (if it's running) by executing transmission-remote -a.

oblitum commented 4 years ago

You may also use torrentflix -oe there.

oblitum commented 4 years ago

You may also use torrentflix -oe there.

Correction, this stopped working on latest release, have to use flags separately.

ItzBlitz98 commented 4 years ago

I just noticed there's the -o option, it will send magnet/torrent file to the default application set for those. Wished there was an option to simply print the link.

Try echo or something instead of peerflix under the "peerflix_command" in your config file