I have MiniDLNA installed and it's working perfectly. However what I want is MiniDLNA to be able to index files stored on USB Devices as soon as the USB device is plugged in and remove those files from the index as soon as the USB device is removed. I am using usbmount to mount USB devices automatically.
Asked
Active
Viewed 1,636 times
0
radiantshaw
- 101
- 3
1 Answers
0
Just create media_dir for each /media/usb1 /media/usb2 etc inotify should be able to discover new files in those directories and remove them if the directory content disappears.
jdwolf
- 131
- 4
inotifydoesn't seem to be working. – radiantshaw Oct 19 '17 at 17:50