comparison src/track/media.cc @ 265:ff0b2052b234

*: add missing utf8proc files I'm an idiot LOL
author Paper <paper@paper.us.eu.org>
date Thu, 11 Apr 2024 10:22:05 -0400
parents 862d0d8619f6
children 1a6a5d3a94cd
comparison
equal deleted inserted replaced
264:9a04802848c0 265:ff0b2052b234
24 players.reserve(session.config.recognition.players.size()); 24 players.reserve(session.config.recognition.players.size());
25 for (const auto& [enabled, player] : session.config.recognition.players) 25 for (const auto& [enabled, player] : session.config.recognition.players)
26 if (enabled && player.type == animone::PlayerType::Default) 26 if (enabled && player.type == animone::PlayerType::Default)
27 players.push_back(player); 27 players.push_back(player);
28 28
29 if (!animone::GetResults(players, results)) { 29 return animone::GetResults(players, results);
30 std::cout << "FAIL!" << std::endl;
31 return false;
32 }
33
34 return true;
35 } 30 }
36 31
37 /* meh */ 32 /* meh */
38 bool GetCurrentlyPlaying(std::vector<std::string>& vec) { 33 bool GetCurrentlyPlaying(std::vector<std::string>& vec) {
39 std::vector<animone::Result> results; 34 std::vector<animone::Result> results;