Mercurial > foo_out_sdl
annotate foosdk/sdk/foobar2000/SDK/commandline.cpp @ 1:20d02a178406 default tip
*: check in everything else
yay
| author | Paper <paper@tflc.us> |
|---|---|
| date | Mon, 05 Jan 2026 02:15:46 -0500 |
| parents | |
| children |
| rev | line source |
|---|---|
| 1 | 1 #include "foobar2000-sdk-pch.h" |
| 2 | |
| 3 #include "commandline.h" | |
| 4 #include "metadb.h" | |
| 5 #include "console.h" | |
| 6 | |
| 7 void commandline_handler_metadb_handle::on_file(const char * url) { | |
| 8 metadb_handle_list handles; | |
| 9 try { | |
| 10 metadb_io::get()->path_to_handles_simple(url, handles); | |
| 11 } catch(std::exception const & e) { | |
| 12 console::complain("Path evaluation failure", e); | |
| 13 return; | |
| 14 } | |
| 15 for(t_size walk = 0; walk < handles.get_size(); ++walk) on_file(handles[walk]); | |
| 16 } |
