Hallo,
ich versuche nun schon seit etlichen Stunden auf meinen Raspbmc den minidlna server anständig zum laufen zu bringen. Hier komm ich auch schon zu meiner ersten Frage, ist Raspbmc überhaupt geeigenet um darauf ein minidlna server zu betreiben? Hab gelesen das apt-get usw dem Raspbmc garnicht gut tut, aber welches Betriebsystem sollte ansonsten dafür herhalten, ich benötige XBMC und Minidlna (für Samsung TV).
EDIT: Benutze mittlerweile Raspbian
So nun zum aktuellen Problem:
Anscheinend läuft der minidlna Server und wird auch automatisch gestartet, leider wird er unter Windows von keinem (verschiedenen) Programmen gefunden. Allerdings sollte das kein Windows Problem sein, auf meinem anderen Raspbian lief heute noch minidlna und da ging es einwandfrei.
Also laufen tut er laut:
Mit diesem Befehl (der eigentlich zum einlesen der Datein nach der Installation ist)
bekomme ich es dann sogar hin das die die Medienbib unter Windows angezeigt wird und ich die Videos via MediaMonkey unter Windows abspielen kann.
Allerdings schießt nun zugleich auch die Auslastung durch minidlna (min. 70% laut top) in die Höhe, achja zuvor wird minidlna im top garnicht angezeigt. Jedoch geht die Auslastung nach eine Weile runter ich schätze mal weil er alles eingelesen hat, dann werden die Videos zwar weiter im Windows angezeigt aber können nicht mehr abgespielt werden O.o . Also solange er die Datenbank aktualisiert bzw neu einliest lassen sich die Videos anzeigen und abspielen, ist das geschehen lassen sich die Videos nicht mehr abspielen außer man lässt sie erneut einlesen. Wie bekomm ich es hin das dass ganze reibungslos läuft?
Meine minidlna config
# 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' ins$
media_dir=V,/media/HDD1/media/Filme
media_dir=V,/media/HDD1/media/Serien
media_dir=V,/media/HDD1/media/Dokumentationen
# 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=/media/HDD1/system/minidlna/
# 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 $
#root_container=.
# Network interface(s) to bind to (e.g. eth0), comma delimited.
network_interface=wlan0
# IPv4 address to listen on (e.g. 192.0.2.1).
listening_ip=192.168.1.14
# Port number for HTTP traffic (descriptions, SOAP, media transfer).
port=8200
# 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=raspbmc
# 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
# 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/AlbumAr$
# 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=60
# Path to the MiniSSDPd socket, for MiniSSDPd support.
#minissdpdsocket=/run/minissdpd.sock
Alles anzeigen
Folgendes Script regelt den Autostart (sudo nano /etc/init/minidlna.conf)
# DLNA Service
description "minidlna"
#change IFACE to the right interface, see /etc/minidlna.conf
start on net-device-up IFACE=wlan0
stop on runlevel [!2345]
#respawn the process if it crashes
respawn
# tell upstart we're creating a daemon
# upstart manages PID creation for you.
expect fork
env ARGS='-f /etc/minidlna.conf'
env MINIDLNA='/usr/sbin/minidlna'
exec $MINIDLNA $ARGS
Alles anzeigen
Das ist evtl auch noch hilfreich
update-rc.d: using dependency based boot sequencing
insserv: script pyload: service pyload already provided!
Herzlichen Dank schonmal
Gruß
Bartman