Sonarr version (exact version):
2.0.0.5344
OS:
Windows
Some of my completed downloads are not processing. I have tracked it down and believe it to be a bug in Sonarr. Consider this torrent that is not being processed:
If I look at that torrent from the qBittorent API, I get this JSON returned:
[
{
"added_on": 1612199421,
"amount_left": 0,
"auto_tmm": false,
"availability": -1,
"category": "tv-sonarr",
"completed": 3148841883,
"completion_on": 1612199686,
"content_path": "D:\\qBittorrentComplete\\Legacies.S03E02.1080p.AMZN.WEBRip.DDP5.1.x264-KiNGS[rarbg]",
"dl_limit": -1,
"dlspeed": 306300,
"downloaded": 3155712592,
"downloaded_session": 3155712592,
"eta": 3587,
"f_l_piece_prio": false,
"force_start": false,
"hash": "9b387b68f94e1a5df4af59756b1dabd652f66b4a",
"last_activity": 1612199686,
"magnet_uri": "magnet:?xt=urn:btih:9b387b68f94e1a5df4af59756b1dabd652f66b4a&dn=Legacies.S03E02.1080p.AMZN.WEBRip.DDP5.1.x264-KiNGS%5brarbg%5d&tr=http%3a%2f%2ftracker.trackerfix.com%3a80%2fannounce&tr=udp%3a%2f%2f9.rarbg.me%3a2710&tr=udp%3a%2f%2f9.rarbg.to%3a2710&tr=udp%3a%2f%2fopen.demonii.com%3a1337%2fannounce",
"max_ratio": -1,
"max_seeding_time": 60,
"name": "Legacies.S03E02.1080p.AMZN.WEBRip.DDP5.1.x264-KiNGS[rartv]",
"num_complete": 67,
"num_incomplete": 12,
"num_leechs": 1,
"num_seeds": 0,
"priority": 0,
"progress": 1,
"ratio": 0.00002076741721224529,
"ratio_limit": -2,
"save_path": "D:\\qBittorrentComplete",
"seeding_time_limit": -2,
"seen_complete": 1612199686,
"seq_dl": false,
"size": 3148841883,
"state": "stalledUP",
"super_seeding": false,
"tags": "",
"time_active": 278,
"total_size": 3148841883,
"tracker": "udp://9.rarbg.me:2710",
"trackers_count": 4,
"up_limit": -1,
"uploaded": 65536,
"uploaded_session": 65536,
"upspeed": 0
}
]
Notice the name and the content path do not match (rartv vs rarbg at the end). The torrent download does exist at the content path (D:\qBittorrentComplete\Legacies.S03E02.1080p.AMZN.WEBRip.DDP5.1.x264-KiNGS[rarbg]), but in my Sonarr logs, is show this:
Notice, the logs have the wrong folder path. From looking at the logs, I believe Sonarr is putting together “save_path” and “name” which gives the wrong folder. Using the “content_path” would solve this issue.
I have never looked at the Sonarr source code, so I am guessing here, but do believe that to be the issue.
Thoughts?