所以我最近安装了一个家庭服务器来练习远程访问、媒体文件共享等...目前 SSH 或 Samba 服务在网络中的所有设备中完美运行,但是我希望使用媒体播放器应用程序从我的 xbox 查看特定文件夹。
我将 minidlna.conf 文件设置为我认为正确的设置,因为我最近设置了 samba。重新启动服务,强制重新加载,验证状态,它显示为活动状态。
没什么,什么也没有。
我显然不是专家,但我相信这与 .conf 文件中的端口有关,但我不知道应该在哪个端口。我应该在路由器上打开新端口吗?从调制解调器打开端口有多安全?
这是我的 minidlna.conf:
# 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=V,/home/obama420
media_dir=v,/srv/HomeNetwork/DefetnetlynotPORN/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
Network interface(s) to bind to (e.g. eth0), comma delimited.
# This option can be specified more than once.
#network_interface=enp0s25
# 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=3074
# 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=Home_Server
我不确定我可以提供哪些其他信息以便任何人更轻松地帮助我解决这个问题。
提前致谢。