diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-10-10 23:50:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 23:50:38 +0200 |
commit | 4798cb4aa37749678ec9f02fc071670b0528a0c0 (patch) | |
tree | a7091f5d8c504bf765657acfa62d0f7e24179b4b | |
parent | bd9e79b974c557a2a4e4452e1f72b1c60d6ccd7f (diff) | |
parent | 2bedcdfa166a9fd6e9bbc873ca1a1d8843952cef (diff) |
Merge pull request #6588 from stokito/luci-app-minidlna
luci-app-minidlna: move album covers to advanced tab
-rw-r--r-- | applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js b/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js index 3c01938da2..dd80a840b2 100644 --- a/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js +++ b/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js @@ -77,7 +77,7 @@ return view.extend({ o = s.taboption('general', form.DynamicList, 'media_dir', _('Media directories'), _('Set this to the directory you want scanned. If you want to restrict the directory to a specific content type, you can prepend the type (\'A\' for audio, \'V\' for video, \'P\' for images), followed by a comma, to the directory (eg. A,/mnt/media/Music). Multiple directories can be specified.')); - o = s.taboption('general', form.DynamicList, 'album_art_names', _('Album art names'), _('This is a list of file names to check for when searching for album art.')); + o = s.taboption('advanced', form.DynamicList, 'album_art_names', _('Album art names'), _('This is a list of file names to check for when searching for album art.')); o.cfgvalue = function(section_id) { return L.toArray(uci.get('minidlna', section_id, 'album_art_names')).join('/').split(/\//); }; @@ -88,7 +88,6 @@ return view.extend({ o = s.taboption('advanced', form.Value, 'db_dir', _('Database directory'), _('Set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache.')); o = s.taboption('advanced', form.Flag, 'inotify', _('Enable inotify'), _('Set this to enable inotify monitoring to automatically discover new files.')); - o.default = o.enabled; o = s.taboption('advanced', form.Flag, 'enable_tivo', _('Enable TIVO'), _('Set this to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO.')); |