Pages : 1
#1 Le 12/02/2016, à 14:24
- ub821
MiniDLNA affichage réseau, un peu confus
Bonjour à Toutes et Tous
J'explique le titre de la discussion :
lorsque j'ouvre mon réseau perso, j'ai deux dossiers qui s'affichent...
L'un au dessus de l'autre :
1er : all video, qui s'ouvre en affichant toutes les vidéos, en vrac... !
2me : Folders, qui s'ouvre sur 2 autres dossiers Films, tous les 2, identiques...
Connaissez-vous la ligne dans le fichier
/etc/minidlna.conf
qui détermine ou pas les différents affichages ?
Voici minidlna.conf, tel qu'il est actuellement :
# cat /etc/minidlna.conf
# This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media
# server.
#
# Unless otherwise noted, the commented out options show their default value.
#
# On Debian, you can also refer to the minidlna.conf(5) man page for
# documentation about this file.
# Path to the directory you want scanned for media files.
#
# This option can be specified more than once if you want multiple directories
# scanned.
#
# If you want to restrict a media_dir to a specific content type, you can
# prepend the directory name with a letter representing the type (A, P or V),
# followed by a comma, as so:
# * "A" for audio (eg. media_dir=A,/var/lib/minidlna/music)
# * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
# * "V" for video (eg. media_dir=V,/var/lib/minidlna/videos)
#
# WARNING: After changing this option, you need to rebuild the database. Either
# run minidlna with the '-R' option, or delete the 'files.db' file
# from the db_dir directory (see below).
# On Debian, you can run, as root, 'service minidlna force-reload' instead.
#media_dir=/var/lib/minidlna
media_dir=V,/media/Secondaire500/ServeurUpnp
media_dir=P,/media/Secondaire500/ServeurUpnp
media_dir=A,/media/Secondaire500/ServeurUpnp
# Path to the directory that should hold the database and album art cache.
#db_dir=/var/lib/minidlna
db_dir=/var/lib/minidlna
# Path to the directory that should hold the log file.
#log_dir=/var/log
log_dir=/var/log
# Minimum level of importance of messages to be logged.
# Must be one of "off", "fatal", "error", "warn", "info" or "debug".
# "off" turns of logging entirely, "fatal" is the highest level of importance
# and "debug" the lowest.
#log_level=warn
# Use a different container as the root of the directory tree presented to
# clients. The possible values are:
# * "." - standard container
# * "B" - "Browse Directory"
# * "M" - "Music"
# * "P" - "Pictures"
# * "V" - "Video"
# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
#root_container=.
# Network interface(s) to bind to (e.g. eth0), comma delimited.
#network_interface=
network_interface=eth1
# IPv4 address to listen on (e.g. 192.0.2.1).
#listening_ip=
# Port number for HTTP traffic (descriptions, SOAP, media transfer).
#port=8200
port=49200
# URL presented to clients.
# The default is the IP address of the server on port 80.
#presentation_url=http://example.com:80
# Name that the DLNA server presents to clients.
#friendly_name=
friendly_name=Mon serveur Multimédia
# Serial number the server reports to clients.
serial=12345678
# Model name the server reports to clients.
#model_name=Windows Media Connect compatible (MiniDLNA)
# Model number the server reports to clients.
model_number=1
# Automatic discovery of new files in the media_dir directory.
#inotify=yes
inotify=yes
# List of file names to look for when searching for album art. 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
# Strictly adhere to DLNA standards.
# This allows server-side downscaling of very large JPEG images, which may
# decrease JPEG serving performance on (at least) Sony DLNA products.
#strict_dlna=no
strict_dlna=no
# Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
#enable_tivo=no
enable_tivo=no
# Notify interval, in seconds.
#notify_interval=895
notify_interval=5
# Path to the MiniSSDPd socket, for MiniSSDPd support.
#minissdpdsocket=/run/minissdpd.sock
#
Merci d'avance pour vos retours
Belle journée Ensoleillée
Bernard
Cordialement
Bernard
Ubuntu 24 / HP-8300, Intel I7-2600, 3.4GHz, Ram 32Go, SSD 1To
Le Blog des bonnes questions à se poser, et comment se les poser...
Hors ligne
#2 Le 12/02/2016, à 15:59
- strike07
Re : MiniDLNA affichage réseau, un peu confus
tiens, regardes mon minidlna.conf qui marche (à la limite copies le avec tes valeurs):
PS: les trucs en français c'est moi qu'il les ait rajoutés bien sur
# This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media
# server.
#
# Unless otherwise noted, the commented out options show their default value.
#
# On Debian, you can also refer to the minidlna.conf(5) man page for
# documentation about this file.
# Specify the user name or uid to run as.
#user=minidlna
# Path to the directory you want scanned for media files.
#
# This option can be specified more than once if you want multiple directories
# scanned.
#
# If you want to restrict a media_dir to a specific content type, you can
# prepend the directory name with a letter representing the type (A, P or V),
# followed by a comma, as so:
# * "A" for audio (eg. media_dir=A,/var/lib/minidlna/music)
# * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
# * "V" for video (eg. media_dir=V,/var/lib/minidlna/videos)
#ici t'es pas obligé de mettre un label comme dit au dessus
media_dir=/ton/dossier/a/partager
# Path to the directory that should hold the database and album art cache.
#db_dir=/var/cache/minidlna
# Path to the directory that should hold the log file.
#log_dir=/var/log
# Type and minimum level of importance of messages to be logged.
#
# The types are "artwork", "database", "general", "http", "inotify",
# "metadata", "scanner", "ssdp" and "tivo".
#
# The levels are "off", "fatal", "error", "warn", "info" or "debug".
# "off" turns of logging entirely, "fatal" is the highest level of importance
# and "debug" the lowest.
#
# The types are comma-separated, followed by an equal sign ("="), followed by a
# level that applies to the preceding types. This can be repeated, separating
# each of these constructs with a comma.
#
# The default is to log all types of messages at the "warn" level.
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
# Use a different container as the root of the directory tree presented to
# clients. The possible values are:
# * "." - standard container
# * "B" - "Browse Directory"
# * "M" - "Music"
# * "P" - "Pictures"
# * "V" - "Video"
# If you specify "B" and the client device is audio-only then "Music/Folders"
# will be used as root.
#root_container=.
# Network interface(s) to bind to (e.g. eth0), comma delimited.
# This option can be specified more than once.
#network_interface=eth0
# IPv4 address to listen on (e.g. 192.0.2.1/24).
# If omitted, the mask defaults to 24. The IPs are added to those determined
# from the network_interface option above.
# This option can be specified more than once.
#listening_ip=
# Port number for HTTP traffic (descriptions, SOAP, media transfer).
# This option is mandatory (or it must be specified on the command-line using
# "-p").
port=49200
# URL presented to clients (e.g. http://example.com:80).
#presentation_url=/
# Name that the DLNA server presents to clients.
# Defaults to "hostname: username".
friendly_name=nomduserveur
# Serial number the server reports to clients.
# Defaults to 00000000.
serial=681019810597110
# Model name the server reports to clients.
#model_name=Windows Media Connect compatible (MiniDLNA)
# Model number the server reports to clients.
# Defaults to the version number of minidlna.
#model_number=
# Automatic discovery of new files in the media_dir directory.
#inotify=yes
# List of file names to look for when searching for album art.
# Names should be delimited with a forward slash ("/").
# This option can be specified more than once.
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
# Strictly adhere to DLNA standards.
# This allows server-side downscaling of very large JPEG images, which may
# decrease JPEG serving performance on (at least) Sony DLNA products.
#strict_dlna=no
# Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
#enable_tivo=no
# Notify interval, in seconds.
#notify_interval=895
# Path to the MiniSSDPd socket, for MiniSSDPd support.
#minissdpdsocket=/run/minissdpd.sock
Hors ligne
#3 Le 12/02/2016, à 18:05
- ub821
Re : MiniDLNA affichage réseau, un peu confus
Merci de ton retour
J'ai modifié et c'est toujours identique...
Cordialement
Bernard
Ubuntu 24 / HP-8300, Intel I7-2600, 3.4GHz, Ram 32Go, SSD 1To
Le Blog des bonnes questions à se poser, et comment se les poser...
Hors ligne
#4 Le 16/05/2016, à 09:29
- ub821
Re : MiniDLNA affichage réseau, un peu confus
Bonjour à Toutes et Tous
Je me demande si la base sql, utilisée par minidlna, n'influencerait pas directement l'affichage...
Après avoir chargé sqliteBrowser, j'ai pu visionner le fichier, que minidlna utilise, dans /var/lib/minidlna
A première vue, sans connaissance de sqlite, tout est dedans... et la redondance... bouhhhh... il y en a !
et, peut-être, cela proviendrait de la configuration de ce fichier, les dossiers en surplus...
Vous en pensez quoi... pour ceux qui connaissent sqlite ?
Merci de vos retours
Cordialement
Bernard
Ubuntu 24 / HP-8300, Intel I7-2600, 3.4GHz, Ram 32Go, SSD 1To
Le Blog des bonnes questions à se poser, et comment se les poser...
Hors ligne
#5 Le 16/05/2016, à 10:17
- grandtoubab
Re : MiniDLNA affichage réseau, un peu confus
salut;
si tu bricoles la conf il faut regenerer la base de données
sudo service minidlna force-reload
Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....
Hors ligne
#6 Le 16/05/2016, à 10:25
- ub821
Re : MiniDLNA affichage réseau, un peu confus
Merci grantoubab
Dans la conf il y a pratiquement rien, sur la configuration de la bd...
Et, je ne toucherai à la bd que si j'ai un bon tuto...
Autrement, je préfère passer mon tour...
Cordialement
Bernard
Ubuntu 24 / HP-8300, Intel I7-2600, 3.4GHz, Ram 32Go, SSD 1To
Le Blog des bonnes questions à se poser, et comment se les poser...
Hors ligne
#7 Le 16/05/2016, à 20:20
- jajaX
Re : MiniDLNA affichage réseau, un peu confus
@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 24.04 Noble Numbat (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)
Hors ligne
#8 Le 16/05/2016, à 22:25
- ub821
Re : MiniDLNA affichage réseau, un peu confus
Merci jajaX pour la commande
J'avais lu cette commande, et pensais, peut-être à tort... qu'en faisant celle-ci :
# minidlna -R
elle était équivalente...
De toutes les façons, cela ne me coûte rien de la tester
Résultat demain
Cordialement
Bernard
Ubuntu 24 / HP-8300, Intel I7-2600, 3.4GHz, Ram 32Go, SSD 1To
Le Blog des bonnes questions à se poser, et comment se les poser...
Hors ligne
#9 Le 16/05/2016, à 22:28
- ub821
Re : MiniDLNA affichage réseau, un peu confus
Tiens, il y a une lettre de trop dans :
minidlnad -f /etc/minidlna.conf -R
le d en fin du premier minidlna[d]...
mais, peut-être que sur Ubuntu, il la faut... ? !!!
Cordialement
Bernard
Ubuntu 24 / HP-8300, Intel I7-2600, 3.4GHz, Ram 32Go, SSD 1To
Le Blog des bonnes questions à se poser, et comment se les poser...
Hors ligne
#10 Le 16/05/2016, à 23:01
- jajaX
Re : MiniDLNA affichage réseau, un peu confus
2 rien
cette commande existe =>
minidlnad --help
[2016/05/17 00:00:34] minidlna.c:878: error: Usage:
minidlnad [-d] [-v] [-f config_file]
[-a listening_ip] [-i network_interface]
[-p port] [-s serial] [-m model_number]
[-t notify_interval] [-P pid_filename]
[-u uid_to_run_as]
[-w url] [-R] [-L] [-S] [-V] [-h]
Notes:
Notify interval is in seconds. Default is 895 seconds.
Default pid file is /run/minidlna/minidlna.pid.
With -d minidlna will run in debug mode (not daemonize).
-w sets the presentation url. Default is http address on port 80
-v enables verbose output
-h displays this text
-R forces a full rescan
-L do not create playlists
-S changes behaviour for systemd
-V print the version number
@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 24.04 Noble Numbat (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)
Hors ligne
#11 Le 17/05/2016, à 06:58
- ub821
Re : MiniDLNA affichage réseau, un peu confus
Ah ok !
h'reusement que j'ai pris la précaution de mettre une condition...
Voilà la réponse que debian me fait :
# minidlnad -f /etc/minidlna.conf -R
bash: minidlnad : commande introuvable
#
Ou bien, cela peut signifier qu'il manque un élément à debian pour répondre...
Mais déjà, je vais mesurer si la fonction agit... réponse dans quelques minutes...
Cordialement
Bernard
Ubuntu 24 / HP-8300, Intel I7-2600, 3.4GHz, Ram 32Go, SSD 1To
Le Blog des bonnes questions à se poser, et comment se les poser...
Hors ligne
#12 Le 17/05/2016, à 09:22
- jajaX
Re : MiniDLNA affichage réseau, un peu confus
le fichier "minidlnad" est dans "/usr/bin" sur ma kubuntu.
sur debian, aucune idée !
@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 24.04 Noble Numbat (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)
Hors ligne
#13 Le 17/05/2016, à 09:40
- ub821
Re : MiniDLNA affichage réseau, un peu confus
sur debian, ce fichier est absent de cet emplacement !
j'ai lancé une recherche sur tous les dossiers, et : rien trouvé !!!
Cordialement
Bernard
Ubuntu 24 / HP-8300, Intel I7-2600, 3.4GHz, Ram 32Go, SSD 1To
Le Blog des bonnes questions à se poser, et comment se les poser...
Hors ligne
#14 Le 17/05/2016, à 09:41
- ub821
Re : MiniDLNA affichage réseau, un peu confus
Pour la fonction indiquée, aucune influence sur l'affichage, toujours identique qu'auparavant... !
Cordialement
Bernard
Ubuntu 24 / HP-8300, Intel I7-2600, 3.4GHz, Ram 32Go, SSD 1To
Le Blog des bonnes questions à se poser, et comment se les poser...
Hors ligne
#15 Le 17/05/2016, à 14:15
- jajaX
Re : MiniDLNA affichage réseau, un peu confus
t'es sur qu'il est correctement installé ?
car si j'en crois cette page, le fichier est bien au même endroit =>
/usr/bin/minidlnad
@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 24.04 Noble Numbat (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)
Hors ligne
#16 Le 17/05/2016, à 17:08
- ub821
Re : MiniDLNA affichage réseau, un peu confus
Pour l'installation, c'est debian wheezy qui s'en charge...
perso, je n'ai aucun intervention !
La page que tu m'indiques est celle de Jessie
et je ne trouve pas la liste des paquets minidlna pour Wheezy... !
Cordialement
Bernard
Ubuntu 24 / HP-8300, Intel I7-2600, 3.4GHz, Ram 32Go, SSD 1To
Le Blog des bonnes questions à se poser, et comment se les poser...
Hors ligne
#17 Le 17/05/2016, à 17:53
- jajaX
Re : MiniDLNA affichage réseau, un peu confus
ah ok, ben là...
@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 24.04 Noble Numbat (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)
Hors ligne
#18 Le 17/05/2016, à 18:20
- cqfd93
Re : MiniDLNA affichage réseau, un peu confus
Modération
Bonjour,
Cette question concerne Debian et pour cela il y a 3 forums francophones (debian-fr, Debian-Facile ou debian-fr.xyz). Donc je la sors du support Ubuntu.
− cqfd93 −
Hors ligne
Pages : 1