comparison src/track/media.cc @ 279:657fda1b9cac

*: clean up enums
author Paper <paper@paper.us.eu.org>
date Fri, 19 Apr 2024 13:24:06 -0400
parents 1a6a5d3a94cd
children b1f625b0227c
comparison
equal deleted inserted replaced
274:f6a756c19bfb 279:657fda1b9cac
31 31
32 /* meh */ 32 /* meh */
33 bool GetCurrentlyPlaying(std::vector<std::string>& vec) { 33 bool GetCurrentlyPlaying(std::vector<std::string>& vec) {
34 std::vector<animone::Result> results; 34 std::vector<animone::Result> results;
35 35
36 if (!GetCurrentlyPlayingResults(results)) { 36 if (!GetCurrentlyPlayingResults(results))
37 std::cout << "whoooops!" << std::endl;
38 return false; 37 return false;
39 }
40 38
41 bool success = false; 39 bool success = false;
42 40
43 for (const auto& result : results) { 41 for (const auto& result : results) {
44 for (const auto& media : result.media) { 42 for (const auto& media : result.media) {