Browse Source

Merge pull request #10778 from bobafetthotmail/minidlna-fix

minidlna: add static uuid in config
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
fb356f90f1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions
  1. +1
    -1
      multimedia/minidlna/Makefile
  2. +1
    -0
      multimedia/minidlna/files/minidlna.config
  3. +1
    -0
      multimedia/minidlna/files/minidlna.init

+ 1
- 1
multimedia/minidlna/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=minidlna PKG_NAME:=minidlna
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://git.code.sf.net/p/minidlna/git PKG_SOURCE_URL:=https://git.code.sf.net/p/minidlna/git


+ 1
- 0
multimedia/minidlna/files/minidlna.config View File

@ -15,5 +15,6 @@ config minidlna config
option serial '12345678' option serial '12345678'
option model_number '1' option model_number '1'
option root_container '.' option root_container '.'
option uuid '019f9a56-ff60-44c0-9edc-eae88d09fa05'
list media_dir '/mnt' list media_dir '/mnt'
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 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'

+ 1
- 0
multimedia/minidlna/files/minidlna.init View File

@ -70,6 +70,7 @@ minidlna_create_config() {
minidlna_cfg_addstr "$cfg" model_number '1' minidlna_cfg_addstr "$cfg" model_number '1'
minidlna_cfg_addstr "$cfg" minissdpsocket minidlna_cfg_addstr "$cfg" minissdpsocket
minidlna_cfg_addstr "$cfg" root_container '.' minidlna_cfg_addstr "$cfg" root_container '.'
minidlna_cfg_addstr "$cfg" uuid '019f9a56-ff60-44c0-9edc-eae88d09fa05'
config_list_foreach "$cfg" "media_dir" minidlna_cfg_add_media_dir config_list_foreach "$cfg" "media_dir" minidlna_cfg_add_media_dir
return 0 return 0


Loading…
Cancel
Save