Filter out telemetry from when not needed

This commit is contained in:
Brahim Hadriche committed 2025-09-03 15:40:09 -04:00
1 parent 207f96c882
commit 0c79787161
16 files changed
+63 -56

No files matched your search

@@ -171,9 +171,7 @@ namespace Http
end for
if includedQualitiesCount = 0
m.noTelemetry = true
LogWarn("No video streams found using quality filter:", qualityFilter, "Falling back to all video streams")
m.noTelemetry = false
LogWarnNoTelemetry("No video streams found using quality filter:", qualityFilter, "Falling back to all video streams")
return hlsManifest
end if
return newLines.join(`\n`)
@@ -214,9 +214,7 @@ namespace Http
if not hasContinuation
page = ValidString(request.query.page).ToInt()
if page > 1
m.noTelemetry = true
LogError("Playlet backend does not use history pagination (use continuation instead)")
m.noTelemetry = false
LogErrorNoTelemetry("Playlet backend does not use history pagination (use continuation instead)")
response.Json({
"items": []
})