rogerfar / rdt-client

Real-Debrid Client Proxy
MIT License
929 stars 117 forks source link

[Request] Movie or TV folder #565

Open chocorem opened 3 months ago

chocorem commented 3 months ago

What version are you using? 2.0.81 Wat OS are you running? Unraid Are you using Docker or as a service? Docker Which debrid provider are you using? Real Debrid Which downloader are you using? Internal Please attach a log file here with the log setting set to debug

After unpacking, creation of a directory with the same name as the tv Show. sonarr is not seeing the file, because not receiving the folder name, but only the mapping category

adding the possibility to pass the folder name to sonarr or possibility to unpack all in the base directory

chocorem commented 3 months ago

correction, it seems that the download foler is created at the download start and the rar is extracted in this download folder

HerbM3 commented 3 months ago

I’m having this exact same issue:

Downloads/

Sonarr is looking for the mkv in the Downloads folder not a subdirectory.

rogerfar commented 2 months ago

Can you show me some example torrents, expected behaviour and what is happening right now?

Reasonable-Grape2698 commented 2 months ago

Categories does this already if I understand correctly? This is how all torrent clients download?

For tvshows, set category to 'tvshows' and it will save in 'downloaddir/tvshows/(torrent name)'. For movies, set it to 'movies' and it will save in '.downloaddir/movies/(torrent name)'.

Also works for subdirectories, such as movies/4K will save in ./movies/4K/(torrent name)

Would love to see a drop down and/or option to add multiple different directories as categories though - not just subfolders

Reasonable-Grape2698 commented 2 months ago

Can you show me some example torrents, expected behaviour and what is happening right now?

After re reading I think OP wants it to save torrent files (ie the MKVs) directly in downloads, not downloads/(torrentname)/(MKVs)

For example he's seeing: /data/downloads/(torrentname)/files.mkv

He's expecting: /data/downloads/files.mkv

Never heard of a torrent client that does this, arr's should pick it up fine with that structure as every torrent client uses it, unless it's a bug in the arr side of things and not the downloader side

Edit: OP have you got mapped path set correctly? "Path where files are downloaded to on your host (i.e. D:\Downloads). This path is used for *arr to find your downloads."

DustyTurtleDip commented 2 weeks ago

Hi,

Here's an example of what happening on my side:

SONARR: Is looking in the following folder (with the mkv extension at the end. Screenshot_20241107-183908

But Rdt-Client created a folder named without the mkv extension like this: Screenshot_20241107-184950

And download the actual file in the folder: Screenshot_20241107-185017

RADARR: Is looking in the following folder : Screenshot from 2024-11-08 07-57-26

But Rdt-Client created a folder named like this: Screenshot from 2024-11-08 07-46-46

And download the actual file in the folder: Screenshot from 2024-11-08 07-51-34

So it makes it impossible for Sonarr and Radarr to import the files unless I manually rename the folders. The issue seem to be intermittent but still happening very often maybe 4 out of 10..

I think #599 might be the same or a related issue.

0bomb4 commented 2 weeks ago

Problem its this category on settings to add "qbitorrent" was supposed to be just a "note" .

How works download/categoryname/folder torrent/ files

Expected to works download/folder torrent/files

Not sure how fix it, but seems simple

0bomb4 commented 2 weeks ago

Well, after many attempts. Seems folder with name .mkv not are an issue for import on sonarr Category don't are a problem, diresgard my previous message

My issues was directly on remote path on sonarr.

I was using like this before, so i was getting issue about don't have allow to access folder on sonarr image

⚠️ With settings above was working normally on qbitorrent client, but for some reason need write full path if you use rdct

So i set to same path as i set for downloads on rdct image

Thats its my feedback hope can help someone

DustyTurtleDip commented 1 week ago

Can you show me some example torrents, expected behaviour and what is happening right now?

@rogerfar Here's some examples : (Il will add more when I have more)