Skip to content

Config: Settings

Felix Franz edited this page Oct 25, 2017 · 5 revisions

This file provides options for the whole application (e.g. web port). A default version of this file is created during the installation, feel free to change it.

Location

The settings.json can be found in following directory: {vlccontrollerDirectory}/conf/settings.json

General structure

This is a key value file in a json Format. Every key has associated value. Each key is a String, values can also be Numbers (as shown in following example). Strings have to be written between two quotation marks. Just look at following example to understand this file format, for more information you can look at Wikipedia.

{
	"key": "value",
	"nextkey": "nextValue",
	"numberKey": 42
}

Possible setting entries

  • loggingLevel: Sets logging level of vlccontroller (amount of information shown in the console)
    • default: INFO
    • possible values:
      • OFF (show nothing)
      • SEVERE (show nearly nothing)
      • WARNING
      • INFO
      • CONFIG
      • FINE
      • FINER
      • FINEST (show nearly everything)
      • ALL (show everything)
  • port: Web-Port you can access the web interface & api
    • default: 8080
    • possible values: every number from 1-65535
  • connectorTimeout: Timeout (in ms) for Connectors to connect to player instances
    • default: 1000
    • possible values: every positive number larger than 0
  • openBrowserOnStart: Opens the browser with the local ip after server was started
    • default: true
    • possible values: true, false
  • maxVLCConnectionThreads: theats used to run commands simultanious on vlc media player
    • default: 10
    • possible values: every positive number larger than 0
  • shutdownTime: time (in seconds) the program window stays is opened after pressing Ctrl+C
    • default: 30
    • possible values: every positive number larger or equal 0

Clone this wiki locally