rogerfar / rdt-client

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

Download fails when apostrophe/single quote is in filename #522

Open W-Floyd opened 5 months ago

W-Floyd commented 5 months ago

What version are you using?

2.0.79

What OS are you running?

Debian testing

Are you using Docker or as a service?

Docker

Which debrid provider are you using?

RealDebrid

Which downloader are you using?

Symlink

Please attach a log file here with the log setting set to debug

rdtclient-1  | [01:02:54 ERR] Unable to start download: An unexpected error occurred preparing download https://den2.download.real-debrid.com/d/xxxxxxxxxxxxxxx/Ender.s%20Game%20%282013%29%20%282160p%20BluRay%20x265%20HDR%20SAMPA%29.mkv for torrent Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA): Could not find file from rclone mount! for download Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv. Completed: 0%, avg speed: 0bytes/s (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) remoteID:  for torrent Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA) (xxxxxxxxxxxx - downloaded 100%) (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
rdtclient-1  | [01:02:55 ERR] Download reported an error: Could not find file from rclone mount! for download Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv. Completed: 0%, avg speed: 0bytes/s (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) remoteID:  for torrent Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA) (Z5STHOEQJOYV2 - downloaded 100%) (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

Other

image

image

image

W-Floyd commented 5 months ago
rdtclient-1  | [01:27:49 DBG] Processing to download for download https://real-debrid.com/d/xxx. Completed: 0%, avg speed: 0bytes/s (xxx) remoteID:  for torrent Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA) (xxx - downloaded 100%) (xxx)
rdtclient-1  | [01:27:49 DBG] Unrestricting links for download https://real-debrid.com/d/xxx. Completed: 0%, avg speed: 0bytes/s (xxx) remoteID:  for torrent Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA) (XQ4YTIUHEMTJK - downloaded 100%) (xxx)
rdtclient-1  | [01:27:49 DBG] Unrestricting link for download https://real-debrid.com/d/xxx. Completed: 0%, avg speed: 0bytes/s (xxx) remoteID:  for torrent Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA) (XQ4YTIUHEMTJK - downloaded 100%) (xxx)
rdtclient-1  | [01:27:50 DBG] Marking download as started for download Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv. Completed: 0%, avg speed: 0bytes/s (xxx) remoteID:  for torrent Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA) (xxx - downloaded 100%) (xxx)
rdtclient-1  | [01:27:50 DBG] Setting download path to /mnt/symlink/ for download Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv. Completed: 0%, avg speed: 0bytes/s (xxx) remoteID:  for torrent Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA) (xxx - downloaded 100%) (xxx)
rdtclient-1  | [01:27:50 DBG] Starting download for download Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv. Completed: 0%, avg speed: 0bytes/s (xxx) remoteID:  for torrent Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA) (xxx - downloaded 100%) (xxx)
rdtclient-1  | [01:27:50 DBG] Starting symlink resolving of https://den2.download.real-debrid.com/d/xxx/Ender.s%20Game%20%282013%29%20%282160p%20BluRay%20x265%20HDR%20SAMPA%29.mkv, writing to path: Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA)/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv
rdtclient-1  | [01:27:50 DBG] Searching /mnt/zurg/__all__ for Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv (attempt #0)...
[...]
rdtclient-1  | [01:28:18 DBG] Searching /mnt/zurg/__all__/Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA)/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv...
rdtclient-1  | [01:28:18 DBG] Searching /mnt/zurg/__all__/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv...
rdtclient-1  | [01:28:18 DBG] Searching /mnt/zurg/__all__/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA)/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv...
rdtclient-1  | [01:28:26 DBG] Searching /mnt/zurg/__all__ for Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv (attempt #9)...
rdtclient-1  | [01:28:26 DBG] Searching /mnt/zurg/__all__/Ender's Game (2013) (2160p BluRay x265 HEVC 10bit HDR MLPFBA 7.1 SAMPA)/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv...
rdtclient-1  | [01:28:26 DBG] Searching /mnt/zurg/__all__/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv...
rdtclient-1  | [01:28:26 DBG] Searching /mnt/zurg/__all__/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA)/Ender.s Game (2013) (2160p BluRay x265 HDR SAMPA).mkv...
rdtclient-1  | [01:28:35 DBG] Unable to find file in rclone mount. Folders available in /mnt/zurg/__all__:
khazardstudent commented 5 months ago

I have a similar issue with AllDebrid where single file torrents fail to create a symlink if the files are in a subfolder. Can you confirm if it's the same for you, or if all the files are failing to create symlinks?

rogerfar commented 2 months ago

@W-Floyd on your last reply, where is the file exactly? I tried reproducing it here with a different torrent, but same naming, and it was OK.