Page 1 of 1

Filter some formats to mpd

Posted: September 13th, 2019, 2:48 pm
by Sogeking
Hi everyone,
is there any possibility to filter (cut ot) some formats from mpd?
To avoid for example mp4 files when i do "mpd ls | mpd add". I want the mpd to ignore .mp4 files.
Thanks a lot

Re: Filter some formats to mpd

Posted: September 13th, 2019, 4:00 pm
by max
Never do `mpc ls|mpc add`. This is bloated, error prone and fragile.

You can write `*.mp4` in your `.mpdignore` and MPD will ignore those files during database update.

Re: Filter some formats to mpd

Posted: September 18th, 2019, 8:12 am
by Sogeking
Thanks a lot for the answer and advice!