muserv provides default configuration settings. The only additional configuration that must be made are the music directories.
The completeness and consistency of the configuration can be checked via the command
muserv test
Below, all configuration parameters are described.
Parameter | Default Value | Description |
---|---|---|
|
None. Must be configured. |
List of music directories as absolute paths. The muserv system user must have read access. There is no default |
|
|
Some tags can have multiple values. |
|
|
To keep the muserv content up to date if anything in the music directory is changed, muserv provides an update mechanism that runs regularly.
|
|
|
Time in seconds after which muserv checks for changes in the music direcrtory. |
|
Latest albums and Genre → AlbumArtist → Album → Track |
Here, the content hierarchies that are shown in the UPnP clients are configured. Possible hierarchies are:
UPnP clients show the hierarchies in the same sequence as they are configured here. Some hierarachies are preconfigured. Just adjust or remove them or add additional hierarchies. Each hierarchy needs a name. That’s the name that is also displayed by the clients. The name of the preconfigured hierarchies can be adjusted. Hierarchies are configured as list of levels (in the first hierarchy "Genre" represents one level, for example). For each level two configurations must be made:
Example (latest albums by genre): { "name": "Latest Albums by Genre", "levels": [ { "type": "genre", "sort": ["+"] }, { "type": "album", "sort": ["-lastChange"] }, { "type": "track", "sort": ["+discNo","+trackNo"] } ] }, Note that within an album, tracks are sorted first by disc number and then by track number. With this configuration, albums with multiple discs can be handled. |
|
|
Whether the playlist hierarchy shall be shown or not. If it shall be shown, it’s listed directy after the other configured hierarchies but before the folder hierarchy (if that is configured to be shown). |
|
|
The name of the playlist hierarchy that is shown by UPnP clients. |
|
|
Whether the folder hierarchy shall be shown or not. If it shall be shown, it’s the last hierarchy sequence of hierarchies that UPnP clients display. |
|
|
The name of the folder hierarchy that is shown by UPnP clients. |
Parameter | Default Value | Description |
---|---|---|
|
All interfaces are used |
Network interfaces to serve. |
|
|
Port for HTTP requests to the server (device and service descriptions, SOAP, media transfer etc.). |
|
|
Server name that is shown by UPnP clients. |
|
A new identifier is created |
Unique identifier for the server. It must be of the form |
|
|
Time interval in seconds for the renewal of the alive notification. |
|
For each of the (sub) parameters a default value is set. |
This clubs together parameters that are required for the XML description of the root device. |
|
|
Cache directory for muserv (absolute path). The muserv system user must have write access to this directory. |
|
|
File to persist status information (absolute path). |
|
|
Log directory (absolute path). The muserv system user must have write access to it. |
|
|
Here, the verbosity of the muserv log can be configured. Possible values are (ordered by increasing verbosity): |