node build fixed

This commit is contained in:
ra_ma
2025-09-20 14:08:38 +01:00
parent c6ebbe069d
commit 3d298fa434
1516 changed files with 535727 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
package troubleshooter
func mediaPlayerRules(state *AppState) *RuleBuilder {
return NewRule("Media Player")
// Desc("Rules for detecting media player issues").
// ModuleIs(ModuleMediaPlayer).
// LevelIs(LevelError).
// // Branch that checks if MPV is configured
// Branch().
// When(func(l LogLine) bool {
// mpvPath, ok := state.Settings["mpv_path"].(string)
// return strings.Contains(l.Message, "player not found") && (!ok || mpvPath == "")
// }, "MPV not configured").
// Then(
// "MPV player is not configured",
// "Go to settings and configure the MPV player path",
// ).
// WithSeverity("error").
}