config: add merge_media_dirs option

By default, if there are multiple media directories specified, there
will be entries for each one in the root directory container.  If
there is only one media directory specified, then just its contents
will be in the root container, to save one level of browsing.

Setting this option changes the default behavior so that multiple
media dirs will behave like a single media dir.
This commit is contained in:
Justin Maggard
2014-03-12 11:40:49 -07:00
parent 7c0739ad3f
commit cce9a012b3
6 changed files with 14 additions and 3 deletions

View File

@ -189,6 +189,7 @@ extern uint32_t runtime_flags;
#define DLNA_STRICT_MASK 0x0004
#define NO_PLAYLIST_MASK 0x0008
#define SYSTEMD_MASK 0x0010
#define MERGE_MEDIA_DIRS_MASK 0x0020
#define SETFLAG(mask) runtime_flags |= mask
#define GETFLAG(mask) (runtime_flags & mask)