Re: [Buildroot] [PATCH v2 04/11] support/testing: add test data for mpd (1/6)

Andreas Ziegler <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
Hi Thomas, Everyone,

On 2026-08-17 12:14, Thomas Petazzoni wrote:
> Hello,
> 
> On Mon, Aug 17, 2026 at 11:27:54AM +0000, Andreas Ziegler wrote:
> 
>> Because of legal issues I cannot use (copyrighted) existing music 
>> files. I
> 
> I'm sure you aware that there is music that you're allowed to
> download? Some music is in the public domain, and some music is
> distributed under Creative Commons or other "open-source" licenses.

Yes, some of them even conveniently in github archives. But all of them 
untagged. Mpd uses the tags to structure the music library it build and 
untagged files all end up in unknown artist/unknown album.

>> do not like online download sites, because it's difficult to predict 
>> what
>> you get. So I prepared some audio files, containing test signals, 
>> which are
>> tagged to resemble music files. The whole thing needs a structure (aka
>> directory tree), because it is also intended to validate correct 
>> indexing by
>> mpd.
> 
> Then those test signals can be generated as part of the runtime test
> itself, no?

Fiona had the same idea, but I refuse to add the extra complexity of 
adding ffmpeg and imagemagick to a test that was originally intended to 
test the correct function of mpd. This approximately triples the 
potential failure rate (complexity of added components is of the same 
magnitude as mpd).

I am tempted to just throw out the whole test case, and just check if 
the mpd process was started ... It is not very indicative for proper 
functionality; most issues I usually have with mpd (apart from failed 
builds) are related to refusing to play music, misplaced tags and not 
showing albumart.

> Best regards,
> 
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com

Kind regards,
Andreas
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.