debridmediamanager / zurg-testing

A self-hosted Real-Debrid webdav server you can use with Infuse. Together with rclone it can mount your Real-Debrid torrent library into your filesystem and load it to Plex or Jellyfin.
523 stars 40 forks source link

Request: Support alldebrid #117

Open phirestalker opened 3 months ago

phirestalker commented 3 months ago

Feature Description Add support for alldebrid

Problem and Motivation I can use rclone to connect directly to alldebrid, but rclone is not capable of filtering out shows from the movies.

Possible Solution

Alternatives Considered I have tried to use rclone to filter out the tv shows, but it will not catch specials

kwetiaw-goreng commented 3 months ago

@phirestalker can you share with me the command that you use to use rclone please. i'm having trouble mounting the magnets folder. thanks, sorry for asking that in here. cheers

phirestalker commented 3 months ago

@phirestalker can you share with me the command that you use to use rclone please. i'm having trouble mounting the magnets folder. thanks, sorry for asking that in here. cheers

I use rclone mount. Nothing too special. What problem are you having? Have you already set up the remote with rclone config?

kwetiaw-goreng commented 3 months ago

yes i have, everytime i tried to mount it, it just doesnt work. my alldebrid webdav folders only has stuff in the magnets folder, nothing in the links. not sure if this is normal or not.

Rclone config

Editing existing "alldebrid" remote with options:
- type: webdav
- url: https://webdav.debrid.it
- vendor: other
- user: **REDACTED**
- pass: *** ENCRYPTED ***

and the command i used

rclone mount alldebrid:magnet /mnt/zurg --dir-cache-time 10s
--multi-thread-streams=0 --cutoff-mode=cautious --vfs-cache-mode minimal
--network-mode --buffer-size=0 --read-only

or

rclone mount alldebrid:links /mnt/zurg --dir-cache-time 10s
--multi-thread-streams=0 --cutoff-mode=cautious --vfs-cache-mode minimal
--network-mode --buffer-size=0 --read-only

So when i run the command, it seems like it's doing something but nothing gets mounted. and this error code

 rclone.service - rclone
     Loaded: loaded (/lib/systemd/system/rclone.service; enabled; preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Tue 2024-08-13 08:01:35 AWST; 6s ago
    Process: 2736383 ExecStartPre=/usr/bin/mkdir -p /var/run/rclone (code=exited, status=0/SUCCESS)
    Process: 2736384 ExecStartPre=/usr/bin/rm -f /var/run/rclone/rclone.sock (code=exited, status=0/SUCCESS)
    Process: 2736385 ExecStart=/usr/bin/rclone rcd --rc-addr unix:///var/run/rclone/rclone.sock --rc-no-auth --rc-allow-origin * (code=exited, status=1/FAILURE)
   Main PID: 2736385 (code=exited, status=1/FAILURE)
        CPU: 96ms

Thanks

phirestalker commented 3 months ago

That error is from a service. What happens when you run the magnet one in the terminal directly, but add -vv to the command?

EDIT: Also, have you tried using ls instead of mount to see if that will work?

kwetiaw-goreng commented 3 months ago

That error is from a service. What happens when you run the magnet one in the terminal directly, but add -vv to the command?

EDIT: Also, have you tried using ls instead of mount to see if that will work?

turns out i was missing 's' magnets instead of magnet. DOH!!! thanks for your help anyway, much appreciated!