mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-02 22:57:34 -05:00
Feature Request : Add an option to run scripts "Import using script" concurrently. #9343
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Extras
Area: Import Lists
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Organizer
Area: Parser
Area: Scanning
Area: Tooling
Area: UI
Area: Unit Tests
On Hold: MetadataAPI Blocking
On Hold: MetadataAPI Blocking
Priority: High
Priority: Low
Priority: Medium
Status: Accepted
Status: Cannot Reproduce
Status: Confirmed
Status: Help Wanted
Status: In Progress
Status: Indexer - need invite
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: On Hold
Status: Ready for Review
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
conflict
lidarr-pull
no-conflict
not-pulled
readarr-pull
readarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Radarr#9343
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Xenoxis on GitHub (Jan 14, 2026).
Is there an existing issue for this?
Is your feature request related to a problem? Please describe
My *arrs are running inside docker containers.
I've made a bash script that send through TCP inputFile and outputFile paths to a nodeJS TCP server in a container (on the same docker network as my *arrs) with ffmpeg for transcoding.
The script waits until the distant server close the socket to exit and check potential errors, and then report it to radarr.
My server implementation have an internal queue that hold the TCP socket until it has been processed by a worker : a ffmpeg process spawn, and then worker return, whatever the transcoding result. This is doing asynchronously using JS promises.
But, Radarr (and all *arrs) using "Import using custom script" are waiting until the script ended before doing another import, which currently breaks my queue implementation.
Moreover, if the transcode is lasting, the import delay could be very long, which is not optimal.
Describe the solution you'd like
Add a checkbox (or not, just redefine the new default behaviour) to allow multiples import scripts to run concurrently, which will fit perfect to such implementations.
Describe alternatives you've considered
One other possibility is to allow my container to access /var/run/docker.sock and add docker client on the container, and rework my worker implementation to run one container per transcode, but it will be a dirtier way to do the same thing, and may add vulnerabilities to allow access to docker.sock
Anything else?
Nothing, but I can help about the implementation of this