unpackerr only recognizes English .rar files in the watched folder
nasssssss2363 opened this issue · 8 comments
The file name was originally in Chinese, unpackerr didn't decompress it, I changed the Chinese name to 111.rar and it started decompressing immediately
[INFO] 2024/08/25 16:08:43 [Folder] Watching (fsnotify): /media/downloads/unpackerr
[INFO] 2024/08/25 16:08:43 [Folder] Polling @ 1s: /media/downloads/unpackerr
[INFO] 2024/08/25 16:08:43 [Radarr] Updated (http://172.17.0.1:7879): 1 Items Queued, 1 Retrieved
[INFO] 2024/08/25 16:08:43 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/25 16:09:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:09:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 1 min 4 ms 130 µs
[INFO] 2024/08/25 16:10:43 [Radarr] Updated (http://172.17.0.1:7879): 1 Items Queued, 1 Retrieved
[INFO] 2024/08/25 16:10:43 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/25 16:10:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:10:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 2 mins 3 ms 762 µs
[INFO] 2024/08/25 16:11:00 [Folder] Tracking New Item: /media/downloads/unpackerr/111.rar (event: f CREATE)
[INFO] 2024/08/25 16:11:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:11:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 3 mins 3 ms 935 µs
[INFO] 2024/08/25 16:12:03 [Folder] Queued: /media/downloads/unpackerr/111.rar, queue size: 1
[INFO] 2024/08/25 16:12:03 [Folder] Extraction Started: /media/downloads/unpackerr/111.rar, retries: 0, items in queue: 0
Cool solution, but you left out the problem. Can you attach the log from when it was Chinese?
Cool solution, but you left out the problem. Can you attach the log from when it was Chinese?
Here's the beginning of the log
[INFO] 2024/08/25 16:08:43 [Folder] Watching (fsnotify): /media/downloads/unpackerr
[INFO] 2024/08/25 16:08:43 [Folder] Polling @ 1s: /media/downloads/unpackerr
[INFO] 2024/08/25 16:08:43 [Radarr] Updated (http://172.17.0.1:7879): 1 Items Queued, 1 Retrieved
[INFO] 2024/08/25 16:08:43 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/25 16:09:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:09:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 1 min 4 ms 130 µs
[INFO] 2024/08/25 16:10:43 [Radarr] Updated (http://172.17.0.1:7879): 1 Items Queued, 1 Retrieved
[INFO] 2024/08/25 16:10:43 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/25 16:10:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:10:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 2 mins 3 ms 762 µs
I was looking at the log to change the file name, probably the log ran here, I changed the file name to 111.rar on the automatic decompression, so the log is a little bit ....
[INFO] 2024/08/25 16:11:00 [Folder] Tracking New Item: /media/downloads/unpackerr/111.rar (event: f CREATE)
[INFO] 2024/08/25 16:11:43 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/25 16:11:43 [Unpackerr] Totals: 0 retries, 0 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 3 mins 3 ms 935 µs
[INFO] 2024/08/25 16:12:03 [Folder] Queued: /media/downloads/unpackerr/111.rar, queue size: 1
[INFO] 2024/08/25 16:12:03 [Folder] Extraction Started: /media/downloads/unpackerr/111.rar, retries: 0, items in queue: 0
I re-created a Chinese test file Hello.rar and successfully extracted it, I don't know what the reason is, maybe the previous file is too big, it's more than 30G. if I encounter it again, I'll upload the log.
Anyway, thanks for your help!
[INFO] 2024/08/27 01:41:41 [Radarr] Updated (http://172.17.0.1:7879): 2 Items Queued, 2 Retrieved
[INFO] 2024/08/27 01:41:41 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/27 01:41:41 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 1 failed, 0 deleted
[INFO] 2024/08/27 01:41:41 [Unpackerr] Totals: 0 retries, 2 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 1 day 3 hours 10 mins
[INFO] 2024/08/27 01:41:56 [Folder] Queued: /media/downloads/unpackerr/你好.rar, queue size: 1
[INFO] 2024/08/27 01:41:56 [Folder] Extraction Started: /media/downloads/unpackerr/你好.rar, retries: 0, items in queue: 0
[INFO] 2024/08/27 01:41:56 [Folder] Extraction Finished: /media/downloads/unpackerr/你好.rar => elapsed: 0s, archives: 1, extra archives: 0, files extracted: 2, written: 0MiB
[INFO] 2024/08/27 01:42:06 [Folder] Finished, Removed History: /media/downloads/unpackerr/你好.rar
[INFO] 2024/08/27 01:42:41 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/27 01:42:41 [Unpackerr] Totals: 0 retries, 3 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 1 day 3 hours 11 mins
[INFO] 2024/08/27 01:43:41 [Radarr] Updated (http://172.17.0.1:7879): 2 Items Queued, 2 Retrieved
[INFO] 2024/08/27 01:43:41 [Sonarr] Updated (http://172.17.0.1:8990): 50 Items Queued, 50 Retrieved
[INFO] 2024/08/27 01:43:41 [Unpackerr] Queue: 0 waiting, 0 queued, 0 extracting, 0 extracted, 0 imported, 0 failed, 0 deleted
[INFO] 2024/08/27 01:43:41 [Unpackerr] Totals: 0 retries, 3 finished, 0|0 webhooks, 0|0 cmdhooks, stacks; event:0, hook:0, del:0, up 1 day 3 hours 12 mins