diff include/core/config.h @ 147:6fdf0632c003

track: use a bit of a more sane way to manage recognition it also works with the new animia API
author Paper <mrpapersonic@gmail.com>
date Tue, 14 Nov 2023 13:19:40 -0500
parents 275da698697d
children e41505d24733
line wrap: on
line diff
--- a/include/core/config.h	Mon Nov 13 13:52:58 2023 -0500
+++ b/include/core/config.h	Tue Nov 14 13:19:40 2023 -0500
@@ -4,8 +4,12 @@
 #include "core/anime.h"
 #include "gui/theme.h"
 #include "gui/locale.h"
+
+#include "animia/player.h"
+
 #include <string>
 #include <vector>
+#include <utility>
 
 class Config {
 	public:
@@ -40,7 +44,7 @@
 		struct {
 			public:
 				bool detect_media_players;
-				//bool detect_streaming_media;
+				std::vector<std::pair<bool, animia::Player>> players;
 		} recognition;
 
 		struct {