Minidlna not indexing new files

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I've installed minidlna on my Turris Omnia router, which runs OpenWrt:



# /usr/bin/minidlna -V
Version 1.2.1

# uname -a
Linux turris 4.4.167-4a7a81f8db0ad743e54c68e1845c60b6-1 #1 SMP Tue Dec 18 11:40:26 CET 2018 armv7l GNU/Linux


When I add a file (via FTP) to the directory that is watched by the service, it isn't indexed (even after 900 seconds). When I delete a file, however, the indexed is updated immediately.



I've found that the only way to get new context indexed is to delete the /var/run/minidlna directory, then restart the service.



I looked at the content of /var/run/minidlna/files.db and verified that the new file is not in the database.



To complicate matters, it doesn't appear that the log_level setting has any effect on /var/log/minidlna--it's pretty terse.



How do I fix this?



/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 log_level 'general,artwork,database,inotify,scanner,metadata,http,ssdp=debug'
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 'V,/mnt/raid/Media/Series'
list media_dir 'V,/mnt/raid/Media/Videos'
list media_dir 'P,/mnt/raid/Media/Pictures'
list media_dir 'A,/mnt/raid/Media/Music'
option enabled '1'









share|improve this question


























    1















    I've installed minidlna on my Turris Omnia router, which runs OpenWrt:



    # /usr/bin/minidlna -V
    Version 1.2.1

    # uname -a
    Linux turris 4.4.167-4a7a81f8db0ad743e54c68e1845c60b6-1 #1 SMP Tue Dec 18 11:40:26 CET 2018 armv7l GNU/Linux


    When I add a file (via FTP) to the directory that is watched by the service, it isn't indexed (even after 900 seconds). When I delete a file, however, the indexed is updated immediately.



    I've found that the only way to get new context indexed is to delete the /var/run/minidlna directory, then restart the service.



    I looked at the content of /var/run/minidlna/files.db and verified that the new file is not in the database.



    To complicate matters, it doesn't appear that the log_level setting has any effect on /var/log/minidlna--it's pretty terse.



    How do I fix this?



    /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 log_level 'general,artwork,database,inotify,scanner,metadata,http,ssdp=debug'
    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 'V,/mnt/raid/Media/Series'
    list media_dir 'V,/mnt/raid/Media/Videos'
    list media_dir 'P,/mnt/raid/Media/Pictures'
    list media_dir 'A,/mnt/raid/Media/Music'
    option enabled '1'









    share|improve this question
























      1












      1








      1








      I've installed minidlna on my Turris Omnia router, which runs OpenWrt:



      # /usr/bin/minidlna -V
      Version 1.2.1

      # uname -a
      Linux turris 4.4.167-4a7a81f8db0ad743e54c68e1845c60b6-1 #1 SMP Tue Dec 18 11:40:26 CET 2018 armv7l GNU/Linux


      When I add a file (via FTP) to the directory that is watched by the service, it isn't indexed (even after 900 seconds). When I delete a file, however, the indexed is updated immediately.



      I've found that the only way to get new context indexed is to delete the /var/run/minidlna directory, then restart the service.



      I looked at the content of /var/run/minidlna/files.db and verified that the new file is not in the database.



      To complicate matters, it doesn't appear that the log_level setting has any effect on /var/log/minidlna--it's pretty terse.



      How do I fix this?



      /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 log_level 'general,artwork,database,inotify,scanner,metadata,http,ssdp=debug'
      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 'V,/mnt/raid/Media/Series'
      list media_dir 'V,/mnt/raid/Media/Videos'
      list media_dir 'P,/mnt/raid/Media/Pictures'
      list media_dir 'A,/mnt/raid/Media/Music'
      option enabled '1'









      share|improve this question














      I've installed minidlna on my Turris Omnia router, which runs OpenWrt:



      # /usr/bin/minidlna -V
      Version 1.2.1

      # uname -a
      Linux turris 4.4.167-4a7a81f8db0ad743e54c68e1845c60b6-1 #1 SMP Tue Dec 18 11:40:26 CET 2018 armv7l GNU/Linux


      When I add a file (via FTP) to the directory that is watched by the service, it isn't indexed (even after 900 seconds). When I delete a file, however, the indexed is updated immediately.



      I've found that the only way to get new context indexed is to delete the /var/run/minidlna directory, then restart the service.



      I looked at the content of /var/run/minidlna/files.db and verified that the new file is not in the database.



      To complicate matters, it doesn't appear that the log_level setting has any effect on /var/log/minidlna--it's pretty terse.



      How do I fix this?



      /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 log_level 'general,artwork,database,inotify,scanner,metadata,http,ssdp=debug'
      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 'V,/mnt/raid/Media/Series'
      list media_dir 'V,/mnt/raid/Media/Videos'
      list media_dir 'P,/mnt/raid/Media/Pictures'
      list media_dir 'A,/mnt/raid/Media/Music'
      option enabled '1'






      openwrt






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 26 at 22:03









      craigcraig

      888




      888




















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f496937%2fminidlna-not-indexing-new-files%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f496937%2fminidlna-not-indexing-new-files%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown






          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?