fix(controller): adjust continue statement placement in stream loop

Move the continue statement outside the conditional block to ensure
correct loop control flow. The previous nesting could cause unintended
skipping or processing of stream iterations based on condition evaluation,
potentially leading to logic errors in stream handling.
This commit is contained in:
Felix 2026-05-02 16:11:21 +03:00
parent b00795c464
commit 0f6b048545

View File

@ -185,8 +185,7 @@ namespace LME.Mikai.Controllers
} }
} }
continue; continue;
}
} }
string callUrl = $"{host}/lite/lme_mikai/play?url={HttpUtility.UrlEncode(episode.Url)}&title={HttpUtility.UrlEncode(displayTitle)}"; string callUrl = $"{host}/lite/lme_mikai/play?url={HttpUtility.UrlEncode(episode.Url)}&title={HttpUtility.UrlEncode(displayTitle)}";