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

[BUG] Can't pass magnet link to container via Desktop file #267

Closed
1 task done
zadca123 opened this issue Dec 7, 2023 · 2 comments
Closed
1 task done

[BUG] Can't pass magnet link to container via Desktop file #267

zadca123 opened this issue Dec 7, 2023 · 2 comments
Labels

Comments

@zadca123
Copy link

zadca123 commented Dec 7, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Nothing happens

Expected Behavior

Torrent is added to the list

Steps To Reproduce

  1. Create desktop file like this at ~/.local/share/applications/torrent.desktop
[Desktop Entry]
Type=Application
MimeType=x-scheme-handler/magnet;
NoDisplay=true
Name=LinuxServerTransmission
Exec=docker exec -it transmission transmission-remote -a %U
  1. Add it to the ~/.config/mimeapps.list
[Default Applications]
x-scheme-handler/magnet=torrent.desktop;
application/x-bittorrent=torrent.desktop;
  1. Enter any torrent site and click GetMagnet or something like this.

Environment

- OS: debian 12
- How docker service was installed: apt

CPU architecture

x86-64

Docker creation

docker-compose up

---
services:
  transmission:
    image: lscr.io/linuxserver/transmission:latest
    container_name: transmission
    environment:
      - PUID=1001
      - PGID=1001
      - TZ=Europe/Warsaw
      - TRANSMISSION_WEB_HOME= #optional
      - USER= #optional
      - PASS= #optional
      - WHITELIST= #optional
      - PEERPORT= #optional
      - HOST_WHITELIST= #optional
    volumes:
      - ./config:/config
      - ${HOME}/Torrents/finished:/downloads/complete
      - ${HOME}/Torrents/unfinished/:/downloads/incomplete
      - ${HOME}/Downloads:/watch
    ports:
      - 9091:9091
      - 51413:51413
      - 51413:51413/udp
    restart: unless-stopped


### Container logs

```bash
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗ 
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

[custom-init] No custom files found, skipping...
[ls.io-init] done.
localhost:9091/transmission/rpc/ responded: success
Closing transmission session... done.
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗ 
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

[custom-init] No custom files found, skipping...
[ls.io-init] done.
Copy link

github-actions bot commented Dec 7, 2023

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@drizuid
Copy link
Member

drizuid commented Dec 7, 2023

transmission-remote -a is for adding a .torrent file, not a magnet link. While you CAN use -a to load a magnet link, iirc it requires some grepping and seding or a more complete uri. Either way, this isn't a container problem, so I am closing this as invalid.

@drizuid drizuid closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2023
@drizuid drizuid added the invalid label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants