fix(media): add streamproxy condition for ashdi.vip stream handling

The ashdi.vip stream handling now requires the streamproxy configuration
to be enabled before applying custom headers. This prevents unintended
header modifications when the proxy is not configured.
This commit is contained in:
baliasnyifeliks 2026-01-13 11:26:20 +02:00
parent 7451df2c27
commit 82ada61367

View File

@ -57,7 +57,7 @@ namespace CikavaIdeya.Controllers
List<HeadersModel> streamHeaders = null;
bool forceProxy = false;
if (streamLink.Contains("ashdi.vip", StringComparison.OrdinalIgnoreCase))
if (streamLink.Contains("ashdi.vip", StringComparison.OrdinalIgnoreCase) && init.streamproxy)
{
streamHeaders = new List<HeadersModel>()
{