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:
@ -57,7 +57,8 @@ enum upnpconfigoptions {
|
||||
ROOT_CONTAINER, /* root ObjectID (instead of "0") */
|
||||
USER_ACCOUNT, /* user account to run as */
|
||||
FORCE_SORT_CRITERIA, /* force sorting by a given sort criteria */
|
||||
MAX_CONNECTIONS /* maximum number of simultaneous connections */
|
||||
MAX_CONNECTIONS, /* maximum number of simultaneous connections */
|
||||
MERGE_MEDIA_DIRS /* don't add an extra directory level when there are multiple media dirs */
|
||||
};
|
||||
|
||||
/* readoptionsfile()
|
||||
|
Reference in New Issue
Block a user