Sziasztok!
Szerintetek miért van az, hogy miniDLNA alatt a TV nem nyitja meg az /mnt/pidrive/downloads/film.mkv-t? Ha mappa alá jön le a cucc /mnt/pidrive/downloads/film/film.mkv akkor nincs probléma.
chmod/chown természetesen rendben van:
sudo chown -R pi:pi /mnt/pidrive
sudo chmod -R 775 /mnt/pidrive
fstab:
UUID=5a967c5f-620e-43ca-a402-3b0b92eacc32 /mnt/pidrive ext4 defaults,nofail,noatime,nodiratime 0 1
samb.conf:
[pidrive]
comment = pidrive
path = /mnt/pidrive
browseable = yes
writeable = yes
only guest = no
read only = no
force user = debian-transmission
create mask = 0775
directory mask = 0775
public = no
Van valakinek ötlete, hogy mi lehet a probléma? minidlna.log alatt nincs semmi említésre méltó, csak hogy elindult, meg, hogy sasolja az xy portot...
- 1589 megtekintés
Hozzászólások
> samb.conf
Ez nem smb.conf akart lenne? Amúgy mindegy, mert minidlna használata esetén a minidlna.conf tartalma számít, abban nézz körül.
Ahhoz, hogy a downloads könyvtárból is indulhasson a film.mkv lejátszása, ilyesminek kellene lennie a minidlna.conf fájlban:
media_dir=V,/mnt/pidrive/downloads
- A hozzászóláshoz be kell jelentkezni
A samba tartalmát véletlenűl másoltam be sorry... a minidlna.conf így néz ki:
# 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)
media_dir=/mnt/pidrive/Downloads
# 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=B
# Network interface(s) to bind to (e.g. eth0), comma delimited.
# This option can be specified more than once.
#network_interface=
# 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=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=Raspberry
# 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=300
# Path to the MiniSSDPd socket, for MiniSSDPd support.
#minissdpdsocket=/run/minissdpd.sock
--
Debian GNU/Linux
- A hozzászóláshoz be kell jelentkezni
A minidlna.confban "Downloads" van, a valós útvonalban meg "downloads".
A konfigfájlban írd át a "D"-t "d"-re, akkor jónak kell lennie.
(Természetesen a módosítás után indítsd újra a minidlna szolgáltatást.)
- A hozzászóláshoz be kell jelentkezni
Az útvonal csak egy gyors példa volt, és valójában megegyezik a conf-ban található Downloads-al. A másik, hogy mint írtam teljesen tökéletesen működik minden kivéve ezt az egyet, amikor egy közvetlen a Downloads alatt lévő fájlt/filmet próbálok indítani. (ha rosszul lenne megadva az útvonal akkor egyáltalán nem működne)
Egyébként érdekes, mert ha B container helyett V -t állítok be, akkor minden gond nélkül elindítja a filmet! Erre kellene rájönnöm, mármint hogy mi a különbség (neki) ilyenkor a két Container között.
root_container=B
--
Debian GNU/Linux
- A hozzászóláshoz be kell jelentkezni
És miért nem . az a root_container?
=====
tl;dr
Egy-két mondatban leírnátok, hogy lehet ellopni egy bitcoin-t?
- A hozzászóláshoz be kell jelentkezni
Mert akkor nem a downloads gyökerét hozza be a TV, viszont nekem arra lenne szükségem nem pedig 5-6 gombnyomásra egy film elindításához. :)
Egyébként elképzelhető, hogy ez ilyen, nem lehet vele mit kezdeni...
--
Debian GNU/Linux
- A hozzászóláshoz be kell jelentkezni