Feature description:
When files are downloaded into the permanent cache, there are currently two concurrent connections downloading them. Instead of hardcoding that number, allow a configurable number (possibly with sensitive presets like 1, 2, 3, 4 or so).
Problem solved:
Depending on the setup, the download speed is limited by the transcoding speed. In my case the Raspberry Pi 4 seems to transcode at about 300 to 400 kb/s per request, because it runs one instance of ffmpeg on one CPU core per transcoded file. Increasing the number of requests would allow more parallel encoding and thus increase speed.
I experimentally found out that the Pi can take only one more parallel request (so 3 in total), because the fourth core is already busy with running the OS, Kodi and LMS. But that would still mean an increase of about 30% download speed. Others might have different setups where the gain is even larger.
Brought benefits:
Significantly increased download speed when transcoding on weaker hardware.
Other application solutions:
Additional description and context:
This possibly makes sense as a “per provider” setting, because different providers might use different hardware.
Screenshots / Mockup: