I-am-PUID-0 / pd_zurg

A combined docker image for the unified deployment of itsToggle's, yowmamasita's, and ncw's projects -- plex_debrid, zurg, and rclone
MIT License
117 stars 10 forks source link

Cannot delete file from Real debrid #55

Closed GSKang94 closed 3 days ago

GSKang94 commented 3 days ago

Hi when I try to remove a movie from plex, I get this message Zurg w/ RealDebrid subprocess: manager Removing torrent Wildlife (2018) [WEBRip] [1080p] [YTS.AM] from zurg database (not real-debrid)

rclone mount name "pd_zurg": movies/Wildlife (2018) [WEBRip] [1080p] [YTS.AM]/: Dir.Remove failed to remove directory: couldn't list files: Not Implemented Method: NotImplemented: 501 Not Implemented

so files are only getting deleted locally

This is my docker-compose file

version: "3.8"
services:
  pd_zurg:
    container_name: pd_zurg
    image: iampuid0/pd_zurg:latest
    stdin_open: true 
    tty: true  
    volumes:
      - /home/pd_zurg/config:/config
      - /home/pd_zurg/log:/log
      - /home/pd_zurg/cache:/cache
      - /home/pd_zurg/RD:/zurg/RD
      - /home/pd_zurg/mnt:/data:shared
    environment:
      - TZ=xxx
      - ZURG_ENABLED=true
      - RD_API_KEY=my-key
      - PLEX_REFRESH=true
      - PLEX_MOUNT_DIR=/rclone/pd_zurg
      - RCLONE_MOUNT_NAME=pd_zurg
      - PD_ENABLED=true
      - DUPLICATE_CLEANUP=true
      - CLEANUP_INTERVAL=1
      - SEERR_API_KEY=my-key
      - SEERR_ADDRESS=http://raspberrypi.local:5055
      - PLEX_USER=Mango.boi
      - PLEX_TOKEN=my-token
      - PLEX_ADDRESS=raspberrypi.local:32400
    devices:
      - /dev/fuse:/dev/fuse:rwm
    cap_add:
      - SYS_ADMIN
    security_opt:
      - apparmor:unconfined
      - no-new-privileges
networks: {}
I-am-PUID-0 commented 3 days ago

Hello,

This is a Zurg process related concern.

I'm not fully aware of the intention of only removing the file from the local database, but RealDebrid should remove the download links if Zurg does not refresh them after some time.

The dev for Zurg doesn't have a discord server but tends to be available in the Riven discord server: https://discord.gg/rivenmedia

GSKang94 commented 3 days ago

Thanks for replying. I guess I'll just avoid manual library refresh and wait for realDebrid to autoremove files.