Hallo zusammen,
mein kleiner Homeserver und minidlna treiben mich gerade in den Wahnsinn.
Ich versuche einen DLNA Server aufzusetzen, damit ich Filme auf meinen Windows PC und meine WD TV Live Box streamen kann. Leider klappt das nicht so, wie ich mir das vorgestellt habe und ich komm nicht auf den Fehler den ich gemacht habe. Mein Setup ist etwas komplizierter, da ich auch noch die Software Greyhole einsetze. Ich habe folgende Verzeichnisse.
root@shorty:/var/shares# ls -la insgesamt 40 drwxr-xr-x 7 root root 4096 Mai 21 19:26 . drwxr-xr-x 16 root root 4096 Mai 23 11:42 .. drwxrwxrwx 2 root sambashare 4096 Mai 16 11:23 Backup drwxrwxrwx 18 root sambashare 4096 Mai 23 22:52 Bilder drwxrwxrwx 3 root sambashare 4096 Mai 23 22:19 Filme drwxrwxrwx 2 root sambashare 16384 Mai 13 11:15 lost+found drwxrwxrwx 2 root sambashare 4096 Mai 21 19:26 Musik root@shorty:/var/shares#
Diese Verzeichnisse sind auch gleichzeitig Samba-Shares und werden von Greyhole auf andere Platten gespiegelt. Greyhole kopiert also die Datein auf andere Platten in einem Storage-Pool und setzt dann nur noch Links auf diese Dateien.
So schaut's dann aus:
lrwxrwxrwx 1 root sambashare 37 Mai 23 22:47 P1040738.jpg -> /var/greyhole/sda/Bilder/P1040738.jpg lrwxrwxrwx 1 root sambashare 37 Mai 23 22:47 P1040744.jpg -> /var/greyhole/sda/Bilder/P1040744.jpg lrwxrwxrwx 1 root sambashare 37 Mai 23 22:48 P1040745.jpg -> /var/greyhole/sda/Bilder/P1040745.jpg lrwxrwxrwx 1 root sambashare 37 Mai 23 22:48 P1040756.jpg -> /var/greyhole/sda/Bilder/P1040756.jpg lrwxrwxrwx 1 root sambashare 37 Mai 23 22:48 P1040760.jpg -> /var/greyhole/sda/Bilder/P1040760.jpg lrwxrwxrwx 1 root sambashare 37 Mai 23 22:48 P1040761.jpg -> /var/greyhole/sda/Bilder/P1040761.jpg lrwxrwxrwx 1 root sambashare 37 Mai 23 22:48 P1040763.jpg -> /var/greyhole/sda/Bilder/P1040763.jpg
Und hier liegen dann die Dateien:
root@shorty:/var/greyhole/sda/Bilder# ls -l -rwxrwxrwx 1 root sambashare 416369 Mai 23 09:37 P1040738.jpg -rwxrwxrwx 1 root sambashare 555971 Mai 23 09:37 P1040744.jpg -rwxrwxrwx 1 root sambashare 502446 Mai 23 09:37 P1040745.jpg -rwxrwxrwx 1 root sambashare 267780 Mai 23 09:37 P1040756.jpg -rwxrwxrwx 1 root sambashare 350687 Mai 23 09:37 P1040760.jpg -rwxrwxrwx 1 root sambashare 429762 Mai 23 09:37 P1040761.jpg -rwxrwxrwx 1 root sambashare 449823 Mai 23 09:37 P1040763.jpg -rwxrwxrwx 1 root sambashare 489441 Mai 23 09:37 P1040764.jpg
Gleiches gilt dann für meine Filme.
Hier meine minidlna.conf
# 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)
#media_dir=/opt
media_dir=V,/var/shares/Filme
media_dir=P,/var/shares/Bilder
media_dir=A,/var/shares/Musik
# set this if you want to customize the name that shows up on your clients
friendly_name=Shorty DLNA Server
# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
#db_dir=/var/cache/minidlna
# set this if you would like to specify the directory where you want MiniDLNA to store its log file
#log_dir=/var/log
# 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/thum$
# 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=900
# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
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
#root_container=.Wie geschrieben, sehe ich leider weder die Bilder noch die Filme auf meinem Windows PC. Ich habs mit dem Windows Media center und XBMC versucht. Auch auf meiner WD TV Live Box sehe ich zwar "Shorty DLNA Server" aber keine Datein darin.
Hat irgendjemand eine Idee, was ich falsch mache?
Noch ein Nachtrag: Die sehr weit reichenden Zugriffsrechte (777) bei den Dateien und Links hab ich mal gesetzt, damit ich das zumindest ausschlliessen kann.
Danke schon mal und einen schönen sonnigen Tag
Juergen
2004 – 2013 ubuntuusers.de • Einige Rechte vorbehalten