mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.46k stars 1.27k forks source link

Recursive searching in the file directory #11173

Open stefan-franz opened 1 year ago

stefan-franz commented 1 year ago

Feature Description

To search in the file directory would be great. (Computer / Quick-Access / file directory). I have a folder structure and i wish a search who is able to search in the selected folder and all subfolders. e.g. i click the folder mp3/dance/ an inside dance i have 1980, 1990....and all are searched like the synthax: location: mp3/dance

And by the way: Filter Folder would be also nice: Entrys where search synthaxes are made by user. Virtual DJ has this and this is a great feature.

ronso0 commented 1 year ago

This was enabled in #11014 Please check latest 2.4 alpha build and test if this behavrs as you expect.

stefan-franz commented 1 year ago

No recursive search - finds only the files in the folder - not in the subfolders.

daschuer commented 1 year ago

The main issue here is that our search is more like a filter than a search. It filters the current view. In the computer tree the sub-folder content is not shown, so the search box cannot reveal matches from sub-folders.

Adding a real Search feature that finds any track would be very welcome, but is also a bigger project. Related:
https://github.com/mixxxdj/mixxx/issues/7470

This is the same request for Playlists: https://github.com/mixxxdj/mixxx/issues/9366 https://github.com/mixxxdj/mixxx/issues/9731

stefan-franz commented 1 year ago

It would a great improvement - i habe about 22000 songs on my Laptop - Nearly all genre from club sounds over rock to dance standards - from Rock to Jazz or Classics like Mozart. So i sorted that in a folder struckture to manage that.

ronso0 commented 1 year ago

Looks like recursive file scanning can be enabled with QDirIterator::Subdirectories here https://github.com/mixxxdj/mixxx/blob/a00ab0fc8c6c4b4ed4558a6eae80daa227744bab/src/library/browse/browsethread.cpp#L128-L130 Though, since the directory views are not cached but always repopulated on selection, browsing directories is no fun no more with many subdirectories and files.