New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FREEBOX DOWNLOAD] Incorrect File Import Handling When Downloading Multiple Movies #9938
Comments
👋 @YDeltagon, In order to help you further we'll need to see logs. You'll need to enable trace logging and replicate the problem that you encountered. Guidance on how to enable trace logging can be found in our troubleshooting guide. |
On : "TRACE 11" "Attempting to hardlink movie file: F:\Telechargements\Radarr-Films\Harry.Potter.and.the.Order.of.the.Phoenix.2007.2160p.UHD.BLURAY.REMUX.HDR.HEVC.Multi.VFF.DTS-X.7.1-romandelc.mkv to F:\Videos\Radarr-Films(1998) Taxi - {imdb-tt0152930}\Taxi () _ Remux-2160p - [HEVC DTS-X (7.1 [EN+FR]) (Sub [EN+FR]) - HDR10 10bits].mkv" |
After analyzing the logs and considering the configuration details, I suspect that the issue with movie file imports might be related to the copyusinghardlinks setting. Since my source (Freebox) and destination are not on the same operating system, this could potentially cause issues with hardlinking. I'm planning to test the import process with the copyusinghardlinks option disabled to see if this resolves the issue. I'll provide an update based on the results of this test. |
Please provide the logs in the manner prescribed in the wiki you indicated you agreed to. No one will look through the tens of thousands of lines across 4 files for a niche client with a likely niche bug. edit: logs in trace 11 that seems to have the issue also don't include the download client response and radarr parsing/details of the client items. 4 log files and uploaded directly to github is not what the wiki states.
not the issue. if hardlinks are not supported it falls back to copy+delete. |
https://gist.github.com/YDeltagon/c93123d547c92b3efa3d422b8959a3e0 |
still does not include the download client response and radarr parsing/details of the client items. only shows proccessing of files on disk |
Gist update with 1 minute before |
Firstly, you have a bunch of corrupted mkv files. Secondly, why is |
I've tried repeatedly with various movies, but I keep encountering the same issue. My setup is similar to Sonarr, where I don't face many problems because it downloads into separate folders. To resolve this, both Sonarr and Radarr should consider implementing a feature to download each movie into a dedicated folder named after a unique identifier (e.g., the download ID) Freebox/telechargement/radarr-films/DownloadID assigned by Sonarr and Radarr. This would address the issue as indicated in my first screenshot, where there is an option to set a variable for the folder name. Implementing this could significantly streamline the file management and import process. Additionally, I'm puzzled as to why Radarr is detecting name changes, with spaces appearing and the ".mkv" disappearing, without any action on my part. It happens automatically. Also, I can confirm that the MKVs are not corrupted because they play perfectly fine, and manual imports work without any issues. |
I would like to see the trace logs after you add 2 movies to freebox, because I want to see Also are you using multiple download clients or just one instance of freebox? |
One instance |
Do you plan to provide the trace logs I requested? |
It's in progress. I've initiated ultra-light versions of two films and started the trace log. I'll send it over as soon as it's available. |
19000 lines... Hang in there with all those lines! https://gist.github.com/YDeltagon/bd76cb8723c86121d936307a21453706 |
Thanks, those logs are somewhat helpful. I'll provide you later with a build that contains a possible fix for you to test out. |
Thank you very much, your responsiveness is impressive! |
Install this, give it a test and then provide new trace logs for 2 grabs like the previous ones. |
Trace on new build : https://gist.github.com/YDeltagon/43cbc5f67df35c3c61525aa3fc624a7a |
Thanks for the logs. I'll push some log statements to a new build to see what's really going on. |
@YDeltagon Do you use any remote mappings? Can you show them in a screenshot? |
The issue seems to be the OutputPath not containing the filename as well, just the download directory. While it works fine for Sonarr due to having subfolders for season packs, might not work for single episode files as well. Considering the nature of this service, I'm unable to implement a fix by fetching the list of the torrent files to get the proper filename. |
That's exactly what I thought. Sonarr doesn't encounter issues because it downloads into separate folders. For Radarr, it would be beneficial to have a variable in the "category" setting in my Freebox download client to manage each movie download into its own folder. This would help ensure that each movie is handled correctly and avoid the issues we're seeing with file importation. |
Like I said, Sonarr should have the same issue with single episodes. Your suggestion is not a proper fix, someone with access needs to do the similar thing Qbittorrent does and to loop through the torrent files. |
Yes, sorry my english is not perfect, i use some "google trad" Thanks for your help 💯 |
No problem. For now I can only recommend switching to something like qBittorrent until a French contributor takes a a jab at this. |
I use " Blackhole" |
Is there an existing issue for this?
Current Behavior
When using Freebox as the download client configured with Radarr, if multiple movies are downloaded into the same directory "radarr-films", Radarr incorrectly imports the first completed download as all the movies.
For example, when downloading the Harry Potter series, if "The Sorcerer’s Stone" finishes first, all subsequent imports in Radarr are recognized as "The Sorcerer’s Stone", despite Radarr assigning them different titles
Expected Behavior
Radarr should import each movie as a separate entity, respecting the individual completion and correct naming, ideally downloading each movie into a sub-folder named with the movie's download ID to avoid conflicts
Steps To Reproduce
Environment
What branch are you running?
Develop
Trace Logs? Not Optional
Is too long :\
Trace Logs have been provided as applicable. Reports will be closed if the required logs are not provided.
trace
- that are relevant and show this issue.The text was updated successfully, but these errors were encountered: