Commit c9020b2f authored by Supernature2k's avatar Supernature2k

scan music subfolders

parent dc202b78
......@@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Added
- Added scan music subfolders
- Added icons in quick menu
- Added default subset values for recalbox theme
- Added new item to menutheme, menus now fully themable
......
......@@ -188,8 +188,8 @@ std::vector<std::string> getMusicIn(const std::string &path) {
const boost::regex my_filter(".*\\.(mp3|ogg)$");
boost::filesystem::directory_iterator end_itr; // Default ctor yields past-the-end
for (boost::filesystem::directory_iterator i(target_path); i != end_itr; ++i) {
boost::filesystem::recursive_directory_iterator end_itr; // Default ctor yields past-the-end
for (boost::filesystem::recursive_directory_iterator i(target_path); i != end_itr; ++i) {
// Skip if not a file
if (!boost::filesystem::is_regular_file(i->status())) continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment