Portál AbcLinuxu, 6. května 2025 11:32
/etc/minidlna.conf
ale /etc/sysconfig/minidlna
. Můj obsah je zde :## Path: Network/minidlna ## Description: Define port for HTTP traffic ## Type: integer ## Default: "8200" ## Config: minidlna # Here you can change the default port for HTTP traffic (descriptions, SOAP, media transfer). # # Note: the default is 8200 port="8200" ## Path: Network/minidlna ## Description: Define network interfaces to serve ## Type: string ## Default: "eth0" ## Config: minidlna # Here you can define the network interfaces to serve, comma delimited. # # Note: the default is eth0 network_interface="wlp3s0" ## Path: Network/minidlna ## Description: Define user account name or uid ## Type: string ## Default: "root" ## Config: minidlna # Here you can specify the user account name or uid to run as. # # Note: the default is root user="root" ## Path: Network/minidlna ## Description: Define media directories to be scanned ## Type: string ## Default: "/mnt" ## Config: minidlna # Here you can define your media directories you want scanned # # Set this to the directories you want scanned. # # * if you want to restrict a media_dir to specific content types, you # can prepend the types, followed by a comma, to the directory: # # + "A" for audio (eg. A,/home/jmaggard/Music) # + "V" for video (eg. V,/home/jmaggard/Videos) # + "P" for images (eg. P,/home/jmaggard/Pictures) # + "PV" for pictures and video (eg. AV,/home/jmaggard/digital_camera) # # * if you want to scan multiple directories, you have to separate # the directories with a vertical bar: # # eq. A,/home/jmaggard/Music | V,/home/jmaggard/Videos | P,/home/jmaggard/Pictures # # Note: the default is /mnt #media_dir="/mnt" media_dir="V,/mnt/Video" ## Path: Network/minidlna ## Description: Define MiniDLNA server name ## Type: string ## Default: "MiniDLNA" ## Config: minidlna # Here you can customize the MiniDLNA server name that shows up on your clients. # # Note: the default is MiniDLNA friendly_name="HP MiniDLNA" ## Path: Network/minidlna ## Description: Define log level ## Type: string ## Default: "general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn" ## Config: minidlna # Here you can set the verbosity of the information that is logged. # # Each section can use a different level. # Possible levels are: off, fatal, error, warn, info or debug # # Note: the default is general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn log_level="general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn" ## Path: Network/minidlna ## Description: Define file names to check for when searching for album art ## Type: string ## Default: "Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg" ## Config: minidlna # Here you can set a list of file names to check for when searching for album art. # Note: names should be delimited with a forward slash ("/") # # Note: the default is Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/ # AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/ # Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg 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" ## Path: Network/minidlna ## Description: Define inotify monitoring to automatically discover new files ## Type: yesno ## Default: "yes" ## Config: minidlna # Here you can enable/disable inotify monitoring to automatically discover new files. # # Note: the default is yes inotify="yes" ## Path: Network/minidlna ## Description: Define support for streaming .jpg and .mp3 files to a TiVo supporting HMO ## Type: yesno ## Default: "no" ## Config: minidlna # Here you can enable/disable support for streaming .jpg and .mp3 files to a TiVo supporting HMO. # # Note: the default is no enable_tivo="no" ## Path: Network/minidlna ## Description: Define strictly adhere to DLNA standards ## Type: yesno ## Default: "no" ## Config: minidlna # Here you can enable/disable 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. # # Note: the default is no strict_dlna="no" ## Path: Network/minidlna ## Description: Define http address for default presentation url on port 80 ## Type: string ## Default: "" ## Config: minidlna # Here you can set the http address for default presentation url on port 80. # # Note: the default is none presentation_url="" ## Path: Network/minidlna ## Description: Define notify interval in seconds ## Type: integer ## Default: "900" ## Config: minidlna # Here you can change the notify interval in seconds. # # Note: the default is 900 notify_interval="900" ## Path: Network/minidlna ## Description: Define serial number the daemon will report to clients ## Type: integer ## Default: "12345678" ## Config: minidlna # Here you can change the serial number the daemon will report to clients in its XML description. # # Note: the default is 12345678 serial="12345678" ## Path: Network/minidlna ## Description: Define model number the daemon will report to clients ## Type: integer ## Default: "1" ## Config: minidlna # Here you can change the model number the daemon will report to clients in its XML description. # # Note: the default is 1 model_number="1" ## Path: Network/minidlna ## Description: Define the path to the MiniSSDPd socket ## Type: string ## Default: "" ## Config: minidlna # Here you can set the path to the MiniSSDPd socket. # # Example: /var/run/minissdpd.sock # # Note: the default is none minissdpdsocket="" ## Path: Network/minidlna ## Description: Define different container as root of the tree possible values ## Type: string ## Default: "." ## Config: minidlna # Here you can 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 # # Note: the default is "." root_container="." ## Path: Network/minidlna ## Description: Define rescan of all media directories on minidlna startup ## Type: yesno ## Default: "no" ## Config: minidlna # Here you can enable/disable a rescan of all media directories on minidlna startup. # # This can sometimes be useful as some new media files are not recognized # while minidlna is active (possibly an bug in minidlna). # # Note: the default is no rescan="yes"Problém je v tom, že když server DLNA spustím pomocí
minidlnad -R
Tak se spustí, je vidět i v síti, v televizi apod.,ale není vidět žádný obsah. Mám v té konfiguraci někde chybu? V logu [2014/02/20 21:03:32] minidlna.c:975: warn: Starting MiniDLNA version 1.1.1. [2014/02/20 21:03:32] minidlna.c:345: warn: Creating new database at /var/cache/minidlna/files.db [2014/02/20 21:03:32] minidlna.c:1014: warn: HTTP listening on port 8200 [2014/02/20 21:03:32] playlist.c:125: warn: Parsing playlists... [2014/02/20 21:03:32] playlist.c:256: warn: Finished parsing playlists.mi přijde, že je vše OK. Dík za názory
Řešení dotazu:
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.