Compare commits

...
Author SHA1 Message Date
Jonah Brüchert c6803f1a42 Fix loading Thomas Bangalter 2021-06-21 01:15:09 +02:00
2 changed files with 5 additions and 1 deletions

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
int main() {
const auto ytm = YTMusic();
const auto results = ytm.search("arte concert");
const auto results = ytm.search("Thomas Bangalter");
std::cout << "Found " << results.size() << " results." << std::endl;
+4
View File
@@ -72,6 +72,10 @@ watch::Playlist::Track extract_watch_track(py::handle track);
template <typename T>
inline auto extract_py_list(py::handle obj) {
if (obj.is_none()) {
return std::vector<T>();
}
const auto list = obj.cast<py::list>();
std::vector<T> output;