Is your feature request related to a problem? Please describe.
Yes. One of the biggest things that annoyed me with the app is that it shows me ALL mp3 and wav files on my device, most of which are not songs. I want it to stop showing me podcasts, voice recordings, ads and other media files I don't even know about from my device.
Describe the solution you'd like
I want there to be a setting that let's me configure where the app looks for songs. I added a blank button in my latest commit (pull request #79) but I'm conflicted on how this should work exactly. There are three ways to go about this that I can think of:
1- Media folders:
Let the user select which directories on their device the app should look for songs on. To implement this we'd probably need to use a directory picker or make one on our own.
2- Blacklist:
Let the user select which directories not to include in the search, a so called blacklist. It'd probably work the same way as 1.
3- Root folder:
Let the user select a single root directory to look for music on. All songs within it will be included, everything else won't be. Here we may not need to use a directory chooser. We could use an intent with ACTION_OPEN_DOCUMENT_TREE then parse its path somehow. I tried to get this to work without parsing its path and it's not possible. It returns a "tree path" which is not a real path you can directly get a File object from. We'd have to use a library to convert that into a real path somehow, and I'm not sure it's worth it...
So I think option 1 is the best to go with. Option 3 is a little restrictive and option 2 might be cumbersome for a user with lots of non-music media files. I want to try to implement option 1 without a library (so we can have more control over how it looks and acts) but I want to hear from you first. What do you think?
enhancement