There are several methods you could use to generate a file filed with random data under Linux. In the example below dd has been used to generate 1,000,000 bytes of random data.
dd if=/dev/urandom of=./randI.hex bs=1MB count=1
If you want a file filed with zeros you could substitute /dev/urandom with /dev/zero.
MiniDLNA is a piece of server software implementing the DLNA/UPnP protocols. The software serves media files (music, pictures and video) to clients on a network. THe software discussed here has been used along a number of Roberts Istream Radios, as well as the VLC app running on android phones, Ipad tablets and PC
David Copperfield playing on a Roberts Istream radio via minidlna running on a raspberry pi
There are several sources for the code on the internet. Alternatively you could use the sources given below. These have been modified to include support for composer and author tags. The code as compiled here has been in use for many months. We can however take no responsibility for any problems you may have as a result of it.
Music lisings available on a Roberts Istream radio via minidlna running on a raspberry pi
To begin with you may need to install some additional packages as shown below. So long as these dependencies are met the following should be sufficient for building the sources on fedora30, ubuntu 18.04 and the Raspberry Pi. I used the following sequence on ubuntu and the Pi, and the one below that on fedora30.
Extract the sources using tar and switch to the directory. You should now be in a position to compile the code using the following sequence of commands.
$ tar -xjf minidlna.tar.bz2
$ cd minidlna
$ ./autogen.sh
$ ./configure
$ make
To install and then check the installation you can enter the following commands
$ sudo make install $ sudo checkinstall
Once you have built the application you will need to point MiniDLNA at your files by altering the contents of the minidlna.conf file, and the fire the whole thing up with a command similar to the one given below
To get the full benefit of the code you may need to set the tags associated with your mp3 files. The following screenshot shows how an audiobook has been configured for use here.
Audiobook mp3 tags for use with minidlna
For instructions on how to start minidlna automatically when the system is powered have a look at Minidlna: How to Auto Start.