How to config USB storage specific folder only - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: How to config USB storage specific folder only (/showthread.php?tid=4795) Pages:
1
2
|
How to config USB storage specific folder only - Relocated2007 - 03-22-2022 Hi there, I can not figure out how to make only specific folder on USB storage to be scanned not whole usb. I got errors: Code: 20220322 180530 worker: USB source (7b952e33-7045-4155-9865-e7962f56faa4) So the USB source is (7b952e33-7045-4155-9865-e7962f56faa4), but MoOde scans the whole USB, but I want only a specific folder on USB. I tried config source but I can not see USB option only samba, UPnP, sdcard. What I am doing wrong again? RE: How to config USB storage specific folder only - the_bertrum - 03-22-2022 Search the forum for "mpdignore", you'll find posts describing how to but a file in the folders you don't want scanned thqat makes the mpd scan ignore them. RE: How to config USB storage specific folder only - Relocated2007 - 03-23-2022 (03-22-2022, 08:34 AM)the_bertrum Wrote: Search the forum for "mpdignore", you'll find posts describing how to but a file in the folders you don't want scanned thqat makes the mpd scan ignore them. Thanks to @the_bertrum, I made it, however, I read that mpc manual and it si called file with wildcards files names but I am not sure if it accepts directories, anyway I made it and happy to try but another bummer. How to clear all music databases in moode and start from scratch? RE: How to config USB storage specific folder only - DRONE7 - 03-23-2022 (03-23-2022, 04:08 AM)Relocated2007 Wrote:(03-22-2022, 08:34 AM)the_bertrum Wrote: Search the forum for "mpdignore", you'll find posts describing how to but a file in the folders you don't want scanned thqat makes the mpd scan ignore them. That's an easy one...just disconnect all sources....USB NAS etc and do an 'Update Library" from the main menu then go to the Library tab and for good measure do a Thumbnail update.... after this you should see only those MoOde Radio stations you have opted to keep and perhaps the 'Stereo Test" RE: How to config USB storage specific folder only - the_bertrum - 03-23-2022 (03-23-2022, 04:08 AM)Relocated2007 Wrote: Thanks to @the_bertrum, I made it, however, I read that mpc manual and it si called file with wildcards files names but I am not sure if it accepts directories You can either put something like this inside the mpdignore file: Code: /path/to/ignore/* Or , simply put an empty mpdignore file in each directory you wish to exclude. Then mdp will ignore any folder with the mpdignore file in it. I use this last method in my collection. Another alternative of course it put all your music under a single top level folder and just point at that when you mount the source. Finally, regenerate music library on the Library configuration page wipes the database before rebuilding it if you want a one push solution. RE: How to config USB storage specific folder only - Relocated2007 - 03-24-2022 (03-23-2022, 07:25 AM)the_bertrum Wrote:(03-23-2022, 04:08 AM)Relocated2007 Wrote: Thanks to @the_bertrum, I made it, however, I read that mpc manual and it si called file with wildcards files names but I am not sure if it accepts directories Hmm, I have tried all that you guys wrote and only one thing is working when I unplug the USB drive and regenerate the library I end up with a clean one at least. But putting this Code: .mpdignore in folders doing nothing, I tried empty one and the one with paths no luck at all MoOde is too keen to grab every sound file from my USB-HDD. From MPD manual: Code: The music directory and the database What are: shell wildcards? RE: How to config USB storage specific folder only - the_bertrum - 03-24-2022 Wildcards are symbols that mean "match anything". From my collection, I have a music folder with everything in that I mount into moOde. In there is a folder called EXCLUDE which contains files I want to keep but don't want in moOde. Inside that folder I place a file called .mpdignore inside which I have a single asterisk, *. The * is the wildcard, means match everything. So mpd comes along and read the .mpdignore file and ingnores everything it finds that matches, which in this case is everything. I could have put *.flac in the file, then mpd would only ignore everything that had a .flac file type. Or Q* would ignore anything that starts with a Q. RE: How to config USB storage specific folder only - Relocated2007 - 03-25-2022 (03-24-2022, 07:19 AM)the_bertrum Wrote: Wildcards are symbols that mean "match anything". From my collection, I have a music folder with everything in that I mount into moOde. In there is a folder called EXCLUDE which contains files I want to keep but don't want in moOde. Inside that folder I place a file called .mpdignore inside which I have a single asterisk, *. The * is the wildcard, means match everything. So mpd comes along and read the .mpdignore file and ingnores everything it finds that matches, which in this case is everything. Ok, that might work for me I will give it a go, thanks for the explanation. RE: How to config USB storage specific folder only - Relocated2007 - 03-25-2022 (03-25-2022, 01:54 AM)Relocated2007 Wrote:(03-24-2022, 07:19 AM)the_bertrum Wrote: Wildcards are symbols that mean "match anything". From my collection, I have a music folder with everything in that I mount into moOde. In there is a folder called EXCLUDE which contains files I want to keep but don't want in moOde. Inside that folder I place a file called .mpdignore inside which I have a single asterisk, *. The * is the wildcard, means match everything. So mpd comes along and read the .mpdignore file and ingnores everything it finds that matches, which in this case is everything. Nope, it did not work at all. I do not know my USB is 4TB HDD ext4. I can not see when is mounted and I have an idea maybe to add to that mound possibility that only one folder is mounted if possible. Otherwise, I have no idea how to make it. RE: How to config USB storage specific folder only - the_bertrum - 03-25-2022 Are you regenerating the library after putting the ignore file in place? |