Outils pour utilisateurs

Outils du site


informatique:synology:minidlna

L'application MiniDLNA est un serveur DLNA très simple et très léger.

Une fois l'installation effectué il faut effectuer des réglages en passant par le protocol SSH.

pour avoir les droits ROOT il faut taper :

sudo -i

Le fichier de configuration se trouve normalement à cet emplacement:

root@Synology:/# /votrevolumed'installationdesapplications/\@appstore/minidlna/etc/minidlna.conf

il doit resembler en gros à ça:

# Configuration File for MiniDLNA (aka ReadyDLNA)
# by Justin Maggard

# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interfaces to serve, comma delimited
network_interface=eth0

# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
#   can prepend the type, followed by a comma, to the directory:
#   + "A" for audio  (eg. media_dir=A,/home/jmaggard/Music)
#   + "V" for video  (eg. media_dir=V,/home/jmaggard/Videos)
#   + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
#
# iptv PVR archive
#media_dir=V,/volume2/record

# some download share
#media_dir=/volume1/downloads

# examples for your collection
#media_dir=A,/volume2/Music
#media_dir=P,/volume3/Photos 
#media_dir=V,/volumeUSB1/usbshare/Videos
#media_dir=/volumeUSB1/usbshare1-2/Anything


# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

# set this to no to disable inotify monitoring to automatically discover new files
# note: the default is yes
inotify=yes

# set this to yes to enable support for streaming .jpg and .mp3 files
# to a TiVo supporting HMO
enable_tivo=no

# set this to strictly adhere to DLNA standards.
# * This will allow server-side downscaling of very large JPEG images,
#   which may hurt JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# default presentation url is http address on port 80
#presentation_url=http://www.mylan/index.php

# notify interval in seconds. default is 895 seconds.
#notify_interval=30

# serial and model number the daemon will report to clients
# in its XML description
serial=1.0.21
model_number=1

# use different container as root of the tree
# possible values:
#   + "." - use standard container (this is the default)
#   + "B" - "Browse Directory"
#   + "M" - "Music"
#   + "V" - "Video"
#   + "P" - "Pictures"
# if you specify "B" and client device is audio-only then 
# "Music/Folders" will be used as root_container=.
#
root_container=V
# setup-generated config start

friendly_name=MiniDLNA
db_dir=/volume1/@appstore/minidlna/var/cache
log_dir=/volume1/@appstore/minidlna/var/log
#EOF.

donc faites vos réglages, moi j'ai juste changé le port et j'ai renseigner le dossier vidéo genre :

media_dir=V,/volume1/video

<note tip>Arrivé à se stade il peut être cool de pouvoir redémarrer le serveur en ligne de commande pour aller plus vite.

donc vérifier la présence du fichier à l'emplacement suivant:

:/# /var/packages/minidlna/scripts/start-stop-status

et la rien de plus simple il suffit de taper la commande suivante pour:

Démarrer:

:/# /var/packages/minidlna/scripts/start-stop-status start

Arrêter :

:/# /var/packages/minidlna/scripts/start-stop-status stop</note>
informatique/synology/minidlna.txt · Dernière modification : 2022/04/10 17:26 de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki