0 down vote favorite
I added new files to the share that is used by my router’s minidlna service. For some reason, these files are not being indexed. I’ve tried restarting the daemon and disabling/enabling the service.
The log /var/log/minidlna.log
doesn’t seem to indicate any issues:
# cat /var/log/minidlna.log
[2018/10/02 08:13:33] minidlna.c:1048: warn: Starting MiniDLNA version 1.2.1.
[2018/10/02 08:13:33] minidlna.c:1089: warn: HTTP listening on port 8200
[2018/10/02 08:29:54] minidlna.c:155: warn: received signal 15, good-bye
[2018/10/02 08:30:11] minidlna.c:1048: warn: Starting MiniDLNA version 1.2.1.
[2018/10/02 08:30:11] minidlna.c:1089: warn: HTTP listening on port 8200
Symptoms:
- the new files are valid and can be played on a workstation with VLC
- other files in the
Series
directory are listed and can be played (via DLNA client) - the files’ permissions in the
Series
directory are-rw-r--r--
- the
Movies
directory is not visible to the service despite beingdrwxr-xr-x
(the same as theSeries
folder) - all folders and files are owned by
root
-
grep
s of/var/log/messages
don’t find anything related tominidlna
The configuration file /etc/config/minidlna
:
# cat /etc/config/minidlna
config minidlna 'config'
option port '8200'
option interface 'br-lan'
option db_dir '/var/run/minidlna'
option log_dir '/var/log'
option inotify '1'
option notify_interval '900'
option serial '12345678'
option model_number '1'
option root_container '.'
option 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'
option friendly_name 'Turris'
list media_dir 'V,/mnt/raid/Media/Movies'
list media_dir 'P,/mnt/raid/Media/Pictures'
list media_dir 'V,/mnt/raid/Media/Series'
list media_dir 'V,/mnt/raid/Media/Videos'
list media_dir 'A,/mnt/raid/Media/Music'
option enabled '1'
** edit 0 **
Adding an additional file to the Series folder (via FTP) causes the service to stop working:
** /edit 0 **
** edit 1 **
Deleting files from /Series does NOT cause a problem.
** /edit 1 **
What is the issue and how do I fix it?