diff src/track/media.cc @ 149:e41505d24733

players: filter out web browsers, they aren't even supported in animia yet
author Paper <mrpapersonic@gmail.com>
date Tue, 14 Nov 2023 13:40:11 -0500
parents 6fdf0632c003
children 8700806c2cc2
line wrap: on
line diff
--- a/src/track/media.cc	Tue Nov 14 13:27:13 2023 -0500
+++ b/src/track/media.cc	Tue Nov 14 13:40:11 2023 -0500
@@ -20,7 +20,7 @@
 
 	players.reserve(session.config.recognition.players.size());
 	for (const auto& [enabled, player] : session.config.recognition.players)
-		if (enabled)
+		if (enabled && player.type == animia::PlayerType::Default)
 			players.push_back(player);
 
 	if (!animia::GetResults(players, results))