Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Grab magnet links from clipboard #1515

Open
ViBE-HU opened this issue Nov 12, 2020 · 3 comments
Open

[Feature request] Grab magnet links from clipboard #1515

ViBE-HU opened this issue Nov 12, 2020 · 3 comments
Labels

Comments

@ViBE-HU
Copy link

ViBE-HU commented Nov 12, 2020

It would be nice and easy if Transmission grab magnet links from clipboard if become top.

@mohkale
Copy link

mohkale commented Jan 17, 2021

Which interface are you talking about. Eg. the web interface.

Regardless I'd recommend using something else to monitor your clipboard and then using transmission-remote to add the torrents. For example I use this script to continually monitor and output changes to the clipboard.

You can plug it to transmission like so:

clipsink - -l | grep --line-buffer '^magnet:' | tee /dev/tty | xargs -r -d '\n' -n1 transmission-remote -a

now as you copy magnet links the links you copy will be printed out. Once you're done with all of them you can input C-d to end the pipeline.

@killemov
Copy link

killemov commented Apr 7, 2022

It is quite invasive to actively monitor the clipboard for torrents or magnets. A simpler drag+drop implementation or a paste-anchor somewhere would be easier. Or do you just need something like a protocol handler?

@ViBE-HU
Copy link
Author

ViBE-HU commented Apr 7, 2022

It is quite invasive to actively monitor the clipboard for torrents or magnets. A simpler drag+drop implementation or a paste-anchor somewhere would be easier. Or do you just need something like a protocol handler?

I found this feature in Transmission Remote GUI. It caps the clipboard content if the application gets foreground. It does not monitor in background AFAIK. @vlunn and @varesa also metioned the same feature meanwhile.

@ckerr ckerr added pr welcome and removed needs clarification More info is needed before work can proceed labels Feb 2, 2023
@ckerr ckerr added type:feat A new feature and removed enhancement labels Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants