Raspberry Pi and thanks minidlna DLNA

We will now make available our library of videos (and other media if you want) to your TV or freebox.

Raspberry Pi et DLNA grâce à minidlna

As we have already seen with the creation of our disk, We now have a partition for data sharing. My home is in /Media/usbdrive/share. Turn to the installation and configuration of minidlna.

  1. Download and install minidlna. You will need to install quite a package for a total of approximately 7 MB. Many bookstores for codecs I guess.
    apt - get install minidlna
  2. Update the file /etc/minidlna.conf :
    1. Add the directories that you want to share. Home I added the line :
      media_dir = V,/Media/usbdrive/share/Videos

      It shares the directory by specifying only the videos should be displayed.

    2. Change the type of display on TV. For me I prefer to directly navigate the tree so I use the option ' B’ :
      root_container = B
    3. Change the name that will be displayed on the TV (or console or …)
      Friendly_name = RaspberryPiHomeServer
    4. Automatically enable the discovery of new files. Attention it seems that consumer resources.
      inotify = yes
  3. Restart the service so that it can take into account your library. This operation is to do whenever your library will be changed (unless you have enabled auto-discovery)
    Service minidlna force-reload

Voilà. You have right now to a server visible by compatible devices and that broadcast you your videos by the network.

Serveur minidlna sur la Freebox

Raspberry Pi server with minidlna on the Freebox

Affichage de vidéos disponibles sur la Freebox grâce à minidlna

Showing videos available on the Freebox thanks minidlna

Cheers for a next service (je ne sais pas encore lequel 😉 )

You may also like...