Moode Forum

Full Version: Shared USB HDD with videos
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi to everyone!

                     This is a simple question (sorry if it's repeated): I have a USB HDD that shares music (mostly flacs), videos and epub files, everything in different subfolders. How can I do to avoid the "unknown" item in the library (that scans the rest of content the hdd). Is there a way to specify where the "music" library is located?

Thanks in advance!
(05-20-2018, 05:13 PM)gabmartini Wrote: [ -> ]Hi to everyone!

                     This is a simple question (sorry if it's repeated): I have a USB HDD that shares music (mostly flacs), videos and epub files, everything in different subfolders. How can I do to avoid the "unknown" item in the library (that scans the rest of content the hdd). Is there a way to specify where the "music" library is located?

Thanks in advance!

simply specify only folder with music content on your NAS and not whole disk

Example 
192.168.x.x/NAS/music
Hi! Thanks for the reply.

I can't. I haven't specified any NAS source, it's taking the HDD as a USB and scan it completely.
(05-20-2018, 05:46 PM)gabmartini Wrote: [ -> ]Hi! Thanks for the reply.

I can't. I haven't specified any NAS source, it's taking the HDD as a USB and scan it completely.

Sorry, but I don't understand. Why you can not do it???
You can specify what ever path you like
(05-20-2018, 05:13 PM)gabmartini Wrote: [ -> ]Hi to everyone!

                     This is a simple question (sorry if it's repeated): I have a USB HDD that shares music (mostly flacs), videos and epub files, everything in different subfolders. How can I do to avoid the "unknown" item in the library (that scans the rest of content the hdd). Is there a way to specify where the "music" library is located?

Thanks in advance!

@gabmartini

From the mpd docs (https://www.musicpd.org/doc/user/music_d...abase.html)

Quote:To exclude a file from the update, create a file called .mpdignore in its parent directory. Each line of that file may contain a list of shell wildcards. Matching files in the current directory and all subdirectories are excluded.

Tedious but doable.

Regards,
Kent
That did the trick! Thanks @TheOldPresbyope

Just do:

Quote:echo "*" > </path/to/directory/to/be/ignored/>.mpdignore

Source

Thanks to all!