this post was submitted on 30 Sep 2023
66 points (97.1% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54500 readers
587 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

I'm currently on the Imac using Deluge as my preferred client - it just seems so much faster than (say) Transmission, which has recently been struggling to connect to other pirates on the high seas.

The only problem is: Deluge appears to have issues with magnet links. Although the client will open when you click a magnet, the link doesn't automatically get added to the downloads. So you have to manually enter each magnet link.

Is there anyway around this? I'd appreciate detailed instructions if possible (or a link to a video and/or article explaining what to do).

thanks

all 20 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago* (last edited 1 year ago) (1 children)

All you have to do is click the add button on the pop-up after opening a magnet link. The popup window in Dekuge may sometimes be blank at first, but you can click add before it populates and it still works.

IDK if there's a way to get it to skip that part and just start downloading after opening the link, but if there is and someone else knows I'd like to know, too.

[–] [email protected] 2 points 1 year ago (1 children)

Thanks for the quick reply, but that doesn't work for me (there is no popup on my end).

[–] [email protected] 9 points 1 year ago (1 children)

I recon your browser is trying to open the link in a different app

[–] [email protected] 1 points 1 year ago (1 children)

It doesn't appear to be a browser issue - same thing happens irrespective of browser

[–] [email protected] 4 points 1 year ago (1 children)

I assume it's because of how your computer deals with them in that case. Is there a way to reset permissions for magnet links?

[–] [email protected] 0 points 1 year ago (1 children)
[–] [email protected] 4 points 1 year ago (1 children)

When you attempt to open a link in your browser it calls the executable you specify with the link URL as its first argument. Glancing at the deluge torrent source, it seems to want a different command line than the one the web browser provides. You can fix this using a small wrapping script.

[–] [email protected] 1 points 1 year ago (1 children)

thanks, what's the wrapping script and how would I enable it?).

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

A wrapping script is a small text file that calls the program you want to call. For instance in Linux this would be something like:

#!/bin/sh

deluge -torrent $1

You save it as deluge-wrapper.sh. Use chmod to enable the execution bit (chmod a+x deluge-wrapper.sh). And then point your browser at it.

Be sure to doublecheck that running deluge in this way does open the torrent. You can test it in the command line. It might be --torrent or I might be misreading or misremembering the code from last night. Additionally, it might be deluge-gtk or something.

[–] [email protected] 3 points 1 year ago

thank you very much

[–] [email protected] 3 points 1 year ago

Browser extension that connects to the deluge webui. But my deluge is running on unraid on my Nas. Would probably work for the desktop deluge, if you can setup the webui.

[–] [email protected] 3 points 1 year ago (1 children)

For macOS, there's a separate application you need to get magnet links to work. I think this is it but am unable to check currently: https://github.com/Lord-Kamina/Deluge-Magnet-Handler

[–] [email protected] 0 points 1 year ago (1 children)

Thanks, that appears to be the right app or plugin, but Mac won't let me install it (too old for my current OS and/or can't verify if its safe). Thanks, though.

[–] [email protected] 3 points 1 year ago

I’ve always used qBittorrent no matter the OS. They have Windows, macOS and Linux versions. Though I haven’t had a Mac as a main computer in a couple years, so take my knowledge of how well it works currently with a grain of salt.

https://www.qbittorrent.org/

[–] [email protected] 2 points 1 year ago

I'm running deluge in a docker container on unraid and I have this same issue in Firefox but not in Chrome. I also have authentication problems in qBittorrent in Firefox that don't happen in Chrome. It's literally the only thing I use Chrome for unfortunately.

[–] [email protected] 2 points 1 year ago (1 children)

Check the app settings and make sure it has permission to open links

[–] [email protected] 1 points 1 year ago

the app settings don't appear to say anything about magnet links

[–] [email protected] 1 points 1 year ago

Before I had it all automated, I used to use a browser extension which would send them to the web ui without having to actually open deluge at all. I think it was called deluge siphon.