PirateBoxScripts_Webserver/piratebox/piratebox/src/openwrt.example.minidlna
Matthias Strubel ff53b0d5e2 Place the minidlna database to a different location.
The minidlna database is now stored on the USB stick that solves to
major issues:

  - It speeds up PirateBox start because of lease scanning time
  - During Problems of out-of-memory exceptions, on the next
    startup the problematic file is simply skipped.

Closed #77
2015-10-01 17:07:25 +02:00

18 lines
749 B
Plaintext

config minidlna config
option 'enabled' '1'
option port '8200'
option interface 'br-lan'
option friendly_name 'PirateBox DLNA'
option db_dir '/opt/piratebox/share/minidlna'
option log_dir '/var/log'
option inotify '1'
option enable_tivo '0'
option strict_dlna '0'
option presentation_url 'http://piratebox.lan'
option notify_interval '900'
option serial '12345678'
option model_number '1'
option root_container '.'
list media_dir '/mnt/usb/PirateBox/Shared/'
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'