Fix loading the "Systemabsturz" artist page

This commit is contained in:
Jonah Brüchert committed 2024-01-14 20:10:26 +01:00
1 parent b2c1812968
commit cc93e175d6
2 files changed
+10 -1

No files matched your search

+7 -1
View File
@@ -8,7 +8,7 @@
int main() {
const auto ytm = YTMusic();
const auto results = ytm.search("y2ECgOhoDGs");
const auto results = ytm.search("Systemabsturz");
std::cout << "Found " << results.size() << " results." << std::endl;
@@ -55,6 +55,12 @@ int main() {
if (playlist.lyrics) {
ytm.get_lyrics(*playlist.lyrics);
}
} else if (!arg.artists.empty()) {
for (const meta::Artist &artist : arg.artists) {
if (artist.id) {
ytm.get_artist(*artist.id);
}
}
}
} else {
std::cout << "non exaustive visitor" << std::endl;