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.
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.
- 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
- Update the file /etc/minidlna.conf :
- 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.
- 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
- Change the name that will be displayed on the TV (or console or …)
Friendly_name = RaspberryPiHomeServer
- Automatically enable the discovery of new files. Attention it seems that consumer resources.
inotify = yes
- Add the directories that you want to share. Home I added the line :
- 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.
Raspberry Pi server with minidlna on the Freebox
Showing videos available on the Freebox thanks minidlna
Cheers for a next service (je ne sais pas encore lequel 😉 )