Choose style:

Author Topic: Torrent Magnetic Links  (Read 7550 times)

0 Members and 1 Guest are viewing this topic.

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1922
  • Karma: 422
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: Torrent Magnetic Links
« Reply #15 on: June 05, 2015, 03:29:08 pm »
Quote
In Firefox, go to
Edit > Preferences > Applications

Somewhere in the list of applications you should have

magnet          Use Bittorrent Client (default)

if it's set to "Always Ask" .. click on "Always Ask" and change it to "Use Bittorrent Client (default)"

These instructions here got it working perfect in Transmission on my PC, thank you

but Just out of curiosity I normally use a Transmission plugin on my NAS that has a Watch folder so that any .torrent dropped into that folder will immediately be picked up by Transmission and downloaded but now when I click on a Magnet link it immediately loads Transmission (on the PC)and I can't see a file anywhere so am I right in assuming that Magnet links don't have a file as such and if so then I can't see any way of using Magnets with the Transmission plugin

It's not really a problem and I'm not looking for a solution I'm just trying to understand how it works


Graeme

If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Torrent Magnetic Links
« Reply #16 on: June 05, 2015, 03:32:04 pm »
Quote
Yeah, I'm sure both work.  However, that's the solution I found

Not knocking your solution .. just thinking if he's already applied the edits for transmission this way is simpler, and it's easy to switch from one to the other ;)

in fact I think the edits to xdg-open from your solution were probably more elegant than mine when we used pcmanfm .. but with nemo it's probably better to have it set to DE="gnome"
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Torrent Magnetic Links
« Reply #17 on: June 05, 2015, 03:36:34 pm »
Quote
In Firefox, go to
Edit > Preferences > Applications

Somewhere in the list of applications you should have

magnet          Use Bittorrent Client (default)

if it's set to "Always Ask" .. click on "Always Ask" and change it to "Use Bittorrent Client (default)"

These instructions here got it working perfect in Transmission on my PC, thank you

but Just out of curiosity I normally use a Transmission plugin on my NAS that has a Watch folder so that any .torrent dropped into that folder will immediately be picked up by Transmission and downloaded but now when I click on a Magnet link it immediately loads Transmission (on the PC)and I can't see a file anywhere so am I right in assuming that Magnet links don't have a file as such and if so then I can't see any way of using Magnets with the Transmission plugin

It's not really a problem and I'm not looking for a solution I'm just trying to understand how it works


Graeme

Yep your 100% right :) :(

[EDIT]

Just a thought, but Is the NAS running Linux or BSD ?
« Last Edit: June 05, 2015, 03:42:15 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 4029
  • Karma: 863
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: Torrent Magnetic Links
« Reply #18 on: June 05, 2015, 03:48:41 pm »
but with nemo it's probably better to have it set to DE="gnome"

That made it not work.  However, changing it back to DE=lxde made it work again.

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1922
  • Karma: 422
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: Torrent Magnetic Links
« Reply #19 on: June 05, 2015, 03:56:20 pm »
Quote
Just a thought, but Is the NAS running Linux or BSD ?

Linux-Openmediavault
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Torrent Magnetic Links
« Reply #20 on: June 05, 2015, 03:57:51 pm »
but with nemo it's probably better to have it set to DE="gnome"

That made it not work.  However, changing it back to DE=lxde made it work again.

works for me .. how did you install deluge
Code: [Select]
sudo apt-get install deluge-gtk deluged
?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 4029
  • Karma: 863
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: Torrent Magnetic Links
« Reply #21 on: June 05, 2015, 04:01:09 pm »
but with nemo it's probably better to have it set to DE="gnome"

That made it not work.  However, changing it back to DE=lxde made it work again.

works for me .. how did you install deluge
Code: [Select]
sudo apt-get install deluge-gtk deluged
?

I used Synaptic and I didn't install the daemon.  But, it works so I'm leaving it how it is.  :)

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Torrent Magnetic Links
« Reply #22 on: June 05, 2015, 04:41:26 pm »
Quote
Just a thought, but Is the NAS running Linux or BSD ?

Linux-Openmediavault

Is there any documentation on passing commands to transmission on the NAS OS

Normally you could run sommat like:
Code: [Select]
/usr/bin/transmission-gtk magnet:?xt=urn:btih:0BAB5281201586CB2BADF444A649A8F01ED30D5C&dn=blah+blah+x264+yify&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce
or for the cli version
Code: [Select]
/usr/bin/transmission-gtk magnet:?xt=urn:btih:0BAB5281201586CB2BADF444A649A8F01ED30D5C&dn=blah+blah+x264+yify&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce
now it wouldn't be hard to write a .desktop file and have it pass the argument to transmission on the NAS instead of the local copy of transmission

but we'd need to know which version of transmission is installed on the NAS so we could figure out the command to use.

another method might be to write some kind of script that uses this:
https://github.com/danfolkes/Magnet2Torrent
to create a torent file in your watch directory.

in either case we'd then need to point Firefox or Chrome at the relevant files.

My point is, this CAN be done .. this is Linux, there's always a solution, just a matter of how much work you want to put in :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4852
  • Karma: 1028
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Torrent Magnetic Links
« Reply #23 on: June 05, 2015, 04:48:45 pm »
Thanks, this is an outstanding thread.  I'm certainly going to keep Transmission on the AAO.  I might sling Deluge back on the Fujitsu Siemens.  It has plenty of space and grunt and I already know Deluge runs like a charm on it.  As I said, an outstanding thread.  It's in My Bookmarks for future reference - cheers  ;)!
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1922
  • Karma: 422
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: Torrent Magnetic Links
« Reply #24 on: June 05, 2015, 05:14:04 pm »
Geez Mark you don't do anything by half do you  :)

Quote
Is there any documentation on passing commands to transmission on the NAS OS

I don't know but it is possible to ssh in or hook up a keyboard and monitor I could ask questions on their forum and see what they come up with and post back here they're a good bunch of guys and very helpful

Quote
now it wouldn't be hard to write a .desktop file and have it pass the argument to transmission on the NAS instead of the local copy of transmission

but we'd need to know which version of transmission is installed on the NAS so we could figure out the command to use.

It's running v1.4 which seems a little old now

Quote
another method might be to write some kind of script that uses this:
https://github.com/danfolkes/Magnet2Torrent
to create a torent file in your watch directory.

If that could be automated that looks the easiest solution to me


Quote
My point is, this CAN be done .. this is Linux, there's always a solution, just a matter of how much work you want to put in

Well i thought you'd find some solution but like I said I'm quite hapyy the way it is but if you want to persue it I'm happy to experiment with you

Now this isn't really important but I gotta ask  ???

 what's the difference between these 2 commands ?

/usr/bin/transmission-gtk magnet:?xt=urn:btih:0BAB5281201586CB2BADF444A649A8F01ED30D5C&dn=blah+blah+x264+yify&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce

/usr/bin/transmission-gtk magnet:?xt=urn:btih:0BAB5281201586CB2BADF444A649A8F01ED30D5C&dn=blah+blah+x264+yify&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce



Graeme

If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Torrent Magnetic Links
« Reply #25 on: June 05, 2015, 05:39:54 pm »
Sorry .. typo, the second comand was supposed to start with
/usr/bin/transmission-cli

Quote
It's running v1.4 which seems a little old now

No .. what I meant was, is it running transmission-gtk, transmission-qt, or transmission-cli

can you look in the NAS's /usr/bin directory and find which of those 3 is in there ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1922
  • Karma: 422
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: Torrent Magnetic Links
« Reply #26 on: June 05, 2015, 05:52:02 pm »
Here's all the the files pertaining to Transmission in /usr/bin directory on the NAS

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



Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Torrent Magnetic Links
« Reply #27 on: June 05, 2015, 05:58:56 pm »
OK, looks like the command line version

is it possible to set transmission on the NAS  to have a remote web UI ?

Wonder what transmission-remote is .. looks promising.. need to do some homework.

posting ths link for future reference:
https://blog.flo.cx/2011/02/how-to-open-magnet-links-on-a-remote-transmission-daemon-with-one-click/
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1922
  • Karma: 422
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: Torrent Magnetic Links
« Reply #28 on: June 05, 2015, 06:07:54 pm »
Quote
tell me, is it possible to set transmission on the NAS  to have a remote web UI ?

I take it you mean by remote web ui  connecting via the internet or outside the LAN ?

If so I'm pretty certain it could be done but I wouldn't know where to start, and it would probably mean some port forwarding

I have connected remotely in the past by connecting to my PC via Team Viewer


Graeme



If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Torrent Magnetic Links
« Reply #29 on: June 05, 2015, 06:38:47 pm »
No, I meant getting a UI (for transmission on the NAS) in a web browser on a PC on your LAN
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec