Why is the minidlna database not being refreshed?

前端 未结 6 1530
执笔经年
执笔经年 2021-01-31 14:08

I am developing a MiniDLNA server to stream media over WiFi. Existing files are shown properly. However, when I add new files to media folders the changes are not updated acros

6条回答
  •  南方客
    南方客 (楼主)
    2021-01-31 14:45

    In summary, the most reliable way to have MiniDLNA rescan all media files is by issuing the following set of commands:

    $ sudo minidlnad -R
    $ sudo service minidlna restart
    

    Client-side script to rescan server

    However, every so often MiniDLNA will be running on a server. Here is a client-side script to request a rescan on such a server:

    #!/usr/bin/env bash
    ssh -t server.on.lan 'sudo minidlnad -R && sudo service minidlna restart'
    

提交回复
热议问题