Long story short: MiniDLNA installed, manual refreshing via -R does NOT work. But inotify works. Partially. I start MiniDLNA - 0 files. I move all my files from the default location away and move them back instantly - all files indexed. After a restart of MiniDLNA (reboot or systemctl) - 0 files again. Moving also works again.
3 Answers
I made an workaround: Adding (sleep 5; sudo mv /var/lib/minidlna/* /var/cache/minidlna/empty; sudo mv /var/cache/minidlna/empty/* /var/lib/minidlna) &
to the do_start function of /etc/init.d/minidlna. I can atleast use MiniDLNA now - but that is not a proper solution.
-
I know this isn't a proper answer, but after I had similar problems, I just installed Serviio on my Pi 4 and and it just works. Serves material (mkv etc) to my 2012 Samsung smart TV, recognises
srt
subtitles, mp3, FLAC, etc. Guide here Jul 9, 2020 at 19:00 -
I would prefer a open source solution. Gerbera fails, incompatible with armv6.– nift4Jul 10, 2020 at 15:42
-
Are your ownwerships and permissions correct for the folders you are trying to refresh? Jul 10, 2020 at 16:30
-
-
MiniDLNA is hardly maintained (last release ~3 years ago) and the solution is just switching the Server Software.
After updating media, renaming directories containing mp3 files followed by force-reload solves problem.