vexdev / amarr

aMule Torrent connector for Servarr
MIT License
27 stars 0 forks source link

download client amarr places downloads in /finished #85

Closed adocampo closed 2 months ago

adocampo commented 2 months ago

Hi there,

Finally, I got to configure the download client amarr in sonarr and radarr. But when the download finishes, sonarr doesn't import the download to the proper TV Show folder.

In the Activity tab, I can see this message image

Which is also shown in the Sonarr and Radarr's health section.

You are using docker; download client amarr places downloads in /finished but this directory does not appear to exist inside the container. Review your remote path mappings and container volume settings.

I don't know where this /finished path is set, my guess is hardcoded into the amarr's docker, I've took a look into config/ directory, but there are just two files, categories.tsv and hashes.tsv

Entering the running docker instance, I cannot see either the /finished directory.

My amule docker instance has this volumes mapped

    volumes:
      - '/data/.docker/amule/config:/home/amule/.aMule'
      - '/data/files/Downloads:/incoming'
      - '/data/files/Downloads/incomplete:/temp'

And when the file, downloaded with amule, via amarr/sonarr, is downloaded in my hosts' /data/files/Downloads or in my amule's /incoming...

As per this error, I can't even manually import the file image

Any idea what could I do?

adocampo commented 2 months ago

I've solved it by adding a new remote path mapping in Settings --> Download clients image

vexdev commented 2 months ago

Great! Another approach is to use the environment variable AMULE_FINISHED_PATH with amarr.

Example:

services:
  amarr:
    // ... omissis ...
    environment:
      - AMULE_FINISHED_PATH=/media/usb-luca/Adunanza/finished
adocampo commented 2 months ago

I didn't remember that environment from the README... 🤦🏻