(Resolvido)minidlna inicia,ativo,sem visualização problema

Reporte aqui dúvidas sobre aplicativos diversos, instalação e utilização para Mageia

Re: minidlna não inicia,erro.

Mensagempor overlock_br » Dom Jun 11, 2017 8:14 pm

Pessoal,depois de muito fuçar consegui ativar o programa;
Código: Selecionar todos
● minidlna.service - MiniDLNA is a DLNA/UPnP-AV server software
   Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
   Active: active (running) since Dom 2017-06-11 20:05:44 BRT; 5s ago
 Main PID: 2697 (minidlnad)
   CGroup: /system.slice/minidlna.service
           └─2697 /usr/sbin/minidlnad -S

Jun 11 20:05:44 localhost minidlnad[2697]: SELECT VALUE from SETTINGS where KEY = 'UPDATE_ID'
Jun 11 20:05:44 localhost minidlnad[2697]: minidlna.c:355: warn: Creating new database at /var/cache/minidlna/files.db
Jun 11 20:05:44 localhost minidlnad[2697]: minidlna.c:1065: warn: HTTP listening on port 8200
Jun 11 20:05:44 localhost minidlnad[2697]: scanner.c:726: warn: Scanning /opt/minidlna
Jun 11 20:05:44 localhost minidlnad[2697]: metadata.c:686: warn: Opening /opt/minidlna/SPN.S12E20.WEB-DL.720p.DUAL.W...input]
Jun 11 20:05:44 localhost minidlnad[2697]: scanner.c:490: warn: Unsuccessful getting details for /opt/minidlna/SPN.S...M.mkv!
Jun 11 20:05:45 localhost minidlnad[2697]: scanner.c:813: warn: Scanning /opt/minidlna finished (33 files)!
Jun 11 20:05:45 localhost minidlnad[2697]: playlist.c:125: warn: Parsing playlists...
Jun 11 20:05:45 localhost minidlnad[2697]: playlist.c:259: warn: Finished parsing playlists.
Jun 11 20:05:46 localhost minidlnad[2697]: inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or c...tches.
Hint: Some lines were ellipsized, use -l to show in full.

Porem consigo visualizar a pasta na tv,segue meu minidlna.conf;
Código: Selecionar todos
# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interfaces to serve, comma delimited
network_interface=enp4s0

# specify the user account name or uid to run as
#user=jmaggard

# set this to the directory you want scanned.
# * if you want multiple directories, you can have multiple media_dir= lines
# * 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. 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)
#   + "PV" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera)
media_dir=/opt/minidlna

# set this to merge all media_dir base contents into the root container
# note: the default is no
#merge_media_dirs=no

# set this if you want to customize the name that shows up on your clients
friendly_name=Mageia

# 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

# set this to change the verbosity of the information that is logged
# each section can use a different level: off, fatal, error, warn, info, or debug
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn

# 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$

# 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

# specify the path to the MiniSSDPd socket
minissdpdsocket=/var/run/minissdpd.sock

# 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"
#   + Or, you can specify the ObjectID of your desired root container (eg. 1$F for Music/Playlists)
# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
#root_container=.

# always force SortCriteria to this value, regardless of the SortCriteria passed by the client
serial=12345678
model_number=1

# specify the path to the MiniSSDPd socket
minissdpdsocket=/var/run/minissdpd.sock

# 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"
#   + Or, you can specify the ObjectID of your desired root container (eg. 1$F for Music/Playlists)
# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
#root_container=.

# always force SortCriteria to this value, regardless of the SortCriteria passed by the client
#force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title

# maximum number of simultaneous connections
# note: many clients open several simultaneous connections while streaming
#max_connections=50

Não consigo fazer funfar dei permissão nas pastas,nos arquivos,usuario no grupo acredito que a porta do firewall não esta bloqueada o que pode ser?
| Linux User # 480186 | Mageia 5.1 kDe | kernel rt | | kernel-tmb | Positivo Premium K2620 | ::xzd
Avatar do usuário
overlock_br
Colaborador Mageia
Colaborador Mageia
 
Mensagens: 28
Registrado em: Ter Set 02, 2014 6:48 pm

Re: minidlna não inicia,erro.

Mensagempor atf » Seg Jun 12, 2017 9:40 am

Não me lembro muito bem disso mas, se não me engano, os diretórios que contêm os arquivos têm que ser especificados. Veja , no manual, o item "root_container".
Afonso Teixeira de Freitas
LinuxUser#142898
Avatar do usuário
atf
Moderador
Moderador
 
Mensagens: 125
Registrado em: Sex Dez 30, 2016 4:56 pm
Localização: Rio de Janeiro - RJ

Re: minidlna não inicia,erro.

Mensagempor overlock_br » Seg Jun 12, 2017 5:41 pm

Eu configurei esse item que vc mencionou e nada ainda,estou quase desistindo,tentei de tudo que consegui encontrar alguem tem mais alguma sugestão?

Não quero trocar de distro gosto da mageia mas preciso desse programa e em todas as outros distros consegui fazer funcionar sem problema,e no fedora tambem não consegui fazer funcionar,me ajudem por favor.

atf,

Se possivel mostra como vc configurou o programa pelas etapas por favor.
| Linux User # 480186 | Mageia 5.1 kDe | kernel rt | | kernel-tmb | Positivo Premium K2620 | ::xzd
Avatar do usuário
overlock_br
Colaborador Mageia
Colaborador Mageia
 
Mensagens: 28
Registrado em: Ter Set 02, 2014 6:48 pm

(Resolvido)minidlna inicia,ativo,sem visualização problema

Mensagempor overlock_br » Seg Jun 26, 2017 4:48 pm

Consegui resolver apos tentar de tudo no sistema,resolvi da seguinte forma:
Código: Selecionar todos
[root@localhost ~]# systemctl status minidlna.service
● minidlna.service - MiniDLNA is a DLNA/UPnP-AV server software
   Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
   Active: active (running) since Seg 2017-06-26 16:31:59 BRT; 9min ago
 Main PID: 6022 (minidlnad)
   CGroup: /system.slice/minidlna.service
           └─6022 /usr/sbin/minidlnad -S

Jun 26 16:41:05 localhost minidlnad[6022]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
Jun 26 16:41:10 localhost minidlnad[6022]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
Jun 26 16:41:15 localhost minidlnad[6022]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
Jun 26 16:41:20 localhost minidlnad[6022]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
Jun 26 16:41:25 localhost minidlnad[6022]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
Jun 26 16:41:30 localhost minidlnad[6022]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
Jun 26 16:41:35 localhost minidlnad[6022]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
Jun 26 16:41:40 localhost minidlnad[6022]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
Jun 26 16:41:45 localhost minidlnad[6022]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
Jun 26 16:41:50 localhost minidlnad[6022]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
[root@localhost ~]#


Desabilitei o firewall,adicionei meu user ao grupo minidlna e no grupo minidlna autorizei ele executar o systemd e esta funcioando perfeito.

Meu minidlna.conf:

Código: Selecionar todos
cat /etc/minidlna.conf
# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interfaces to serve, comma delimited
#network_interface=enp4s0

# specify the user account name or uid to run as
#user=jmaggard

# set this to the directory you want scanned.
# * if you want multiple directories, you can have multiple media_dir= lines
# * 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. 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)
#   + "PV" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera)
media_dir=/opt/minidlna

# set this to merge all media_dir base contents into the root container
# note: the default is no
#merge_media_dirs=no

# set this if you want to customize the name that shows up on your clients
friendly_name=My 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

# set this to change the verbosity of the information that is logged
# each section can use a different level: off, fatal, error, warn, info, or debug
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn

# 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/thumb.jpg

# 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

# specify the path to the MiniSSDPd socket
#minissdpdsocket=/var/run/minissdpd.sock

# 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"
#   + Or, you can specify the ObjectID of your desired root container (eg. 1$F for Music/Playlists)
# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
#root_container=.

# always force SortCriteria to this value, regardless of the SortCriteria passed by the client
#force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title

# maximum number of simultaneous connections
# note: many clients open several simultaneous connections while streaming
#max_connections=50
| Linux User # 480186 | Mageia 5.1 kDe | kernel rt | | kernel-tmb | Positivo Premium K2620 | ::xzd
Avatar do usuário
overlock_br
Colaborador Mageia
Colaborador Mageia
 
Mensagens: 28
Registrado em: Ter Set 02, 2014 6:48 pm

Anterior

Voltar para Software

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante

cron