Probleme mit minidlna

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
Benutzeravatar
KarlPhilip
Beiträge: 368
Registriert: 10.05.2017 17:08:41

Probleme mit minidlna

Beitrag von KarlPhilip » 18.03.2020 10:30:52

Ich möchte gerne mit 'minidlna' im lokalen Netzwerk streamen. Allerdingens bleibt der Server komplett unsichtbar auch unter der lokalen Adresse. ich bin sehr ratlos. Bitte helfen.
-- Logs begin at Wed 2020-03-18 08:09:52 CET. --
Mär 18 09:09:39 Debian systemd[1]: Starting LSB: minidlna server...
Mär 18 09:10:30 Debian systemd[1]: Started LSB: minidlna server.
Oben ist ist die Logdatei zu sehen. Jetzt kommt noch meine 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.

# Specify the user name or uid to run as.
user=dirk


# 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)
# * "PV" for pictures and video (eg. media_dir=PV,/var/lib/minidlna/digital_camera)


# Set this to merge all media_dir base contents into the root container
# (The default is no.)
#merge_media_dirs=no

# 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"
# * Or, you can specify the ObjectID of your desired root container
# (eg. 1$F for Music/Playlists)
# If you specify "B" and the client device is audio-only then "Music/Folders"
# will be used as root.
root_container=.
media_dir=V,/home/dirk/Filme

# Network interface(s) to bind to (e.g. eth0), comma delimited.
# This option can be specified more than once.
network_interface=

# 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=8200

# URL presented to clients (e.g. http://example.com:80).
#presentation_url=//http://example.com:80

# Name that the DLNA server presents to clients.
# Defaults to "hostname: username".
friendly_name=Debians DLNA-Server

# Serial number the server reports to clients.
# Defaults to the MAC address of nework interface.
#serial=

# 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.
#notify=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=yes

# SSDP notify interval, in seconds.
notify_interval=10

# Path to the MiniSSDPd socket, for MiniSSDPd support.
minissdpdsocket=/run/minissdpd.sock

# Always set SortCriteria to this value, regardless of the SortCriteria
# passed by the client
# e.g. force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title
#force_sort_criteria=

# maximum number of simultaneous connections
# note: many clients open several simultaneous connections while streaming
max_connections=5

# set this to yes to allow symlinks that point outside user-defined media_dirs.
#wide_links=no
inotify=yes
Hier sollte doch der Hund begraben liegen. Networkinterface habe ich bewusst nicht angegeben, da dann alle Interfaces benutzt werden, ist mein Kenntnisstand.
Der Hauptgrund für Stress ist der tägliche Kontakt mit Idioten. Albern Einstein

Benutzeravatar
orcape
Beiträge: 1525
Registriert: 07.11.2008 18:37:24
Wohnort: 50°36'23.99"N / 12°10'20.66"E

Re: Probleme mit minidlna

Beitrag von orcape » 18.03.2020 12:14:24

Hi Karl,
was willst Du bei dem Server zu sehen bekommen.
Ich habe das Ding zwar unter OpenMediaVault am laufen und da wird es über einen GUI aktiviert, die Freigaben erstellt etc..
Unter Debian direkt, wirst Du aber keinen GUI haben. Das heisst, Du solltest Deine Einstellungen in der Config machen und wenn der Server läuft, sollte das auch mit dem Stream klappen. Vorausgesetzt die Einstellungen, die Pfade stimmen und das ganze befindet sich im gleichen Netzwerk. Sonst checken ob da keine Firewall im Weg ist und gut ist.
Hier mal zum Vergleich meine Einstellungen, Debian, allerdings OpenMediaVault....

Code: Alles auswählen

# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.

port=8200
#network_interface=eth0
friendly_name=MiniDLNA Server on OpenMediaVault
db_dir=/var/cache/minidlna
log_dir=/var/log
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.j$
inotify=yes
enable_tivo=no
wide_links=no
strict_dlna=no
notify_interval=60
serial=10001000
model_number=1
root_container=.
log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=error
media_dir=/srv/dev-disk-by-label-Daten/
Du wirst das nicht 1:1 verwenden können, zumindest war die Pfade betrifft, aber es funktioniert. Auch hier ist das Netzwerk-Interface auskommentiert.
Wie gesagt, TV und miniDLNA-Server im gleichen Netzsegment.
Gruß orcape

Benutzeravatar
KarlPhilip
Beiträge: 368
Registriert: 10.05.2017 17:08:41

Re: Probleme mit minidlna

Beitrag von KarlPhilip » 18.03.2020 16:41:19

Hey orcape, erstmal danke für Deine Mühe. Man müßte doch die Freigaben irgendwo im Netzwerk aufrufen können bzw unter localhost:8200 angezeigt bekommen. 127.0.0.1:8200. Oder denke ich falsch.
Der Hauptgrund für Stress ist der tägliche Kontakt mit Idioten. Albern Einstein

miwie
Beiträge: 116
Registriert: 10.07.2002 08:59:23
Kontaktdaten:

Re: Probleme mit minidlna

Beitrag von miwie » 18.03.2020 17:23:47

Und es wurde wirklich schon mit einem entsprechenden UpnP Client (z.B. mit BubbleUPnP auf einem Android Handy) nach einem Dienst mit dem Namen Debians DLNA-Server gesucht?

PS: Im Übrigen bervorzuge ich https://gerbera.io/ als DLNA Server.

Benutzeravatar
KarlPhilip
Beiträge: 368
Registriert: 10.05.2017 17:08:41

Re: Probleme mit minidlna

Beitrag von KarlPhilip » 18.03.2020 18:23:54

Danke Miwie. Ja, es wurde schon mit diversen Clients versucht den Server zu finden bzw. zu nutzen. Unter mint geht es problemlos, aber nicht unter Debian.Es wird an irgendwelchen Rechten liegen.Ja, es wurde schon mit diversen Clients versucht den Server zu finden bzw. zu nutzen.
Der Hauptgrund für Stress ist der tägliche Kontakt mit Idioten. Albern Einstein

miwie
Beiträge: 116
Registriert: 10.07.2002 08:59:23
Kontaktdaten:

Re: Probleme mit minidlna

Beitrag von miwie » 18.03.2020 18:27:10

Ich hatte lange minidlna als DLNA-Server unter Debian im Einsatz, das hat "problemlos" funktioniert, bin schon seit geraumer Zeit allerdings auf Gerbera umgestiegen.

miwie
Beiträge: 116
Registriert: 10.07.2002 08:59:23
Kontaktdaten:

Re: Probleme mit minidlna

Beitrag von miwie » 18.03.2020 18:32:58

Es sind keine Freigaben sondern die Daten werden dem anfragenden Clint via dem UpnP P zur Verfügung gestellt. Unter http://localhost:8200/ siehst du lediglich eine kleine Statistik (Anzahl der vom Server gefundenen Dateien, usw.)

Benutzeravatar
orcape
Beiträge: 1525
Registriert: 07.11.2008 18:37:24
Wohnort: 50°36'23.99"N / 12°10'20.66"E

Re: Probleme mit minidlna

Beitrag von orcape » 18.03.2020 19:24:25

Hi Karl,
ich weiss ja nicht was du mit dem Server machen willst.
Bei mir stellt er nur Video- und Bild-Dateien für den TV bereit. Der erkennt die Verzeichnisstruktur des Servers und ich kann das auf dem TV anschauen.
Das wird dann sicher auch unter Android funktionieren, wenn Du den entsprechenden Client dort installiert hast.
Aber als GUI im Browser wird Dein miniDNLA wohl eher nicht verfügbar werden.
Gruß orcape

Benutzeravatar
KarlPhilip
Beiträge: 368
Registriert: 10.05.2017 17:08:41

Re: Probleme mit minidlna

Beitrag von KarlPhilip » 18.03.2020 20:19:13

Also unter Mint mit minidnla keine Probleme. Es streamt wie es soll. Unter Debian kriege ich es nicht ans laufen. Das macht auch nichts, muss halt der Mintrechner streamen. Danke für den Tipp mit Gerbera. das schaue ich mir unbedingt an.
Der Hauptgrund für Stress ist der tägliche Kontakt mit Idioten. Albern Einstein

Benutzeravatar
KarlPhilip
Beiträge: 368
Registriert: 10.05.2017 17:08:41

Re: Probleme mit minidlna

Beitrag von KarlPhilip » 19.03.2020 01:57:15

Unter http://localhost:8200 sehe ich halt: "Verbindung Fehlgeschlagen". Ansonsten wird nichts angemeckert. Also wenn noch jemand eine Idee hat. Ich bedanke mich bei allen die mir zu helfen versucht haben. Ich glaube , wir können den Thread jetzt schliessen. Ich will statt HDMI-Kabel, Filme von einer Festplatte auf den TV streamen. Ich habe hier keine Antennen, geschweige denn eine Satantenne. Alles läuft IP basiert, mit den bekannten Einschränkungen. Eigentlich bin ich seit Jahrzehnten Satfan.
Der Hauptgrund für Stress ist der tägliche Kontakt mit Idioten. Albern Einstein

Benutzeravatar
ralli
Beiträge: 3919
Registriert: 02.03.2008 08:03:02

Re: Probleme mit minidlna

Beitrag von ralli » 19.03.2020 08:25:15

Minidlna funktioniert bei mir mit Debian Buster einwandfrei. Hier meine minidlna.conf:

Code: Alles auswählen

# 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 (root by default).
# On Debian system command line option (from /etc/default/minidlna) overrides this.
#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)
#   * "PV" for pictures and video (eg. media_dir=PV,/var/lib/minidlna/digital_camera)

# media_dir=/var/lib/minidlna

media_dir=A,/home/ralph/00ab3e57-56d1-4328-8e7e-5b9b1fca497c/Musik
media_dir=P,/home/ralph/00ab3e57-56d1-4328-8e7e-5b9b1fca497c/Bilder
media_dir=V,/home/ralph/00ab3e57-56d1-4328-8e7e-5b9b1fca497c/Videos


# Set this to merge all media_dir base contents into the root container
# (The default is no.)
#merge_media_dirs=no

# 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"
#   * Or, you can specify the ObjectID of your desired root container
#     (eg. 1$F for Music/Playlists)
# 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=

# 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=8200

# 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=MyMediathek

# Serial number the server reports to clients.
# Defaults to the MAC address of nework interface.
#serial=

# 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

# Which method to use for registering in TiVo: 'bonjour' (default) or
# legacy 'beacon'
#tivo_discovery=bonjour

# SSDP notify interval, in seconds.
#notify_interval=895

# Path to the MiniSSDPd socket, for MiniSSDPd support.
#minissdpdsocket=/run/minissdpd.sock

# Always set SortCriteria to this value, regardless of the SortCriteria
# passed by the client
# e.g. force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title
#force_sort_criteria=

# maximum number of simultaneous connections
# note: many clients open several simultaneous connections while streaming
#max_connections=50

# set this to yes to allow symlinks that point outside user-defined media_dirs.
#wide_links=no
Rechner neu starten und fertig. der Server muß nicht gestartet werden, er wird durch Debian beim Booten automatisch gestartet. Ob es funktioniert kannst Du dann im Browser sehen unter:

http://localhost:8200/

Bei mir:

MiniDLNA status
Media library
Audio files 82
Video files 25
Image files 1222
Connected clients
ID Type IP Address HW Address Connections
0 Generic UPnP 1.0 192.168.178.1 CC:CE:1E:6E:D7:CF 0
1 Unknown 127.0.0.1 FF:FF:FF:FF:FF:FF 0

-1 connections currently open

Gruß ralli
Wer nicht lieben kann, muß hassen. Wer nicht aufbauen kann muß zerstören. Wer keine Brücken baut, muß spalten.

Antworten