我已经做了我的搜索,找不到这个具体问题的答案。我有我的迷你设置和运行-但它并没有真正正确地完成。
首先,当我打开我的模糊播放器上的服务器时,我的所有电影都会被列出两次--当它们肯定不会被保存在我的外部两次时。
第二,当我打开服务器时--而不是阅读“电影”、“电视”、“音乐”等等--它只是把我所有的电影、电视和其他文件夹混为一谈,没有真正的组织。当我设置我的Windows时,我从来没有遇到过这个问题,所以我知道它的配置更不正确--比我的外部驱动器更让我毛骨悚然。
这是我的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.
media_dir=/media/somnambulist/Ghost In You
# 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/somnambulist/Ghost In You/Movies
media_dir=V,/media/somnambulist/Ghost In You/TV
media_dir=P,/home/somnambulist/Pictures
# Path to the directory that should hold the database and album art cache.
db_dir=/home/somnambulist/serverart
# Path to the directory that should hold the log file.
log_dir=/home/somnambulist/serverlog
# 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=B
# Network interface(s) to bind to (e.g. eth0), comma delimited.
#network_interface=
# IPv4 address to listen on (e.g. 192.0.2.1).
#listening_ip=
# 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=Somnambulist Media Server
# 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/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
# 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`这是我在终端运行时遇到的错误:
sudo service minidlna restart
sudo service minidlna force-reload强制重新启动错误:
Restarting DLNA/UPnP-AV media server minidlna
[2013/08/12 21:19:27] minidlna.c:474: error: Media directory "/media/somnambulist/Ghost In You/Movies" not accessible! [Permission denied]
[2013/08/12 21:19:27] minidlna.c:474: error: Media directory "/media/somnambulist/Ghost In You/TV" not accessible! [Permission denied]重装力错误:
Restarting DLNA/UPnP-AV media server minidlna
[2013/08/12 21:19:46] minidlna.c:474: error: Media directory "/media/somnambulist/Ghost In You/Movies" not accessible! [Permission denied]
[2013/08/12 21:19:46] minidlna.c:474: error: Media directory "/media/somnambulist/Ghost In You/TV" not accessible! [Permission denied]
rm: cannot remove ‘/home/somnambulist/serverart/files.db’: Permission denied
rm: cannot remove ‘/home/somnambulist/serverart/art_cache/media/somnambulist/Ghost In You/Movies/Slumdog Millionaire/Slumdog.Millionaire.Cover.jpg’: Permission denied
rm: cannot remove ‘/home/somnambulist/serverart/art_cache/media/somnambulist/Ghost In You/Movies/Zack and Miri Make a Porno/ZackAndMiriMakeAPornoCover.jpg’: Permission denied
[2013/08/12 21:19:46] minidlna.c:744: warn: Failed to clean old file cache.
[ OK ]我已经花了几个小时在这一点上,阅读各种文件-甚至有一个朋友谁是相对Ubuntu-聪明的尝试帮助我通过聊天-没有这样的运气。
提前感谢您的帮助。
发布于 2013-11-11 21:55:43
错误在这里
rm: cannot remove ‘/home/somnambulist/serverart/files.db’: Permission denied
rm: cannot remove ‘/home/somnambulist/serverart/art_cache/media/somnambulist/Ghost In You/Movies/Slumdog Millionaire/Slumdog.Millionaire.Cover.jpg’: Permission denied
rm: cannot remove ‘/home/somnambulist/serverart/art_cache/media/somnambulist/Ghost In You/Movies/Zack and Miri Make a Porno/ZackAndMiriMakeAPornoCover.jpg’: Permission denied
[2013/08/12 21:19:46] minidlna.c:744: warn: Failed to clean old file cache.minidlna无法删除旧文件,因此失败。我也有同样的问题。删除旧的Art_cache文件夹,然后重试。
发布于 2013-08-18 19:21:58
我不是一个专家,既不是在ubuntu或minidlna -但我得到了我的迷你服务器最终运行在ubuntu服务器12.04 (今天!)因此遇到了一些问题(并且知道如果你接近目标而不是目标的话,一个人会有多绝望)。
第一个嫌疑人: minidlna混淆了内部数据库中的一些东西。因此,删除files.db,在Ubuntu12.04下您需要类似的东西(可能在顶部有sudo ):
rm /var/lib/minidlna/files.db并重新启动minidlna +等待(它将重新创建文件)
第二个嫌疑人:你的道路上有一些空白:
/media/somnambulist/Ghost In YouLinux和一些编程语言在这方面有点挑剔--这可能会在minidlna内部引起一些问题,以防它没有得到适当的处理。
试一试:
/media/somnambulist/Ghost_In_You(即更改目录的名称加上minidlna.conf文件中的设置)
对于第二个嫌疑人,您可能还需要再次删除files.db。
不管结果是什么,对第二个嫌疑人-请张贴结果,以便其他人也可以受益。第一个嫌疑人/线人已经在网上找到了。
没有保证,但值得一试。
发布于 2013-09-01 09:17:22
尝试从umask=007更改为umask=002并重新装入分区。那会对你有用的。
https://askubuntu.com/questions/331877
复制相似问题