Update the current server settings. More...
Update the current server settings.
Path: /settings/update
[in] | profileid | The id of the device profile (typically a GUI but not necessarily). Special values are: autodetect never alwaysaudio c\ alwaysvideo |
[in] | transcodingwhen | A set of literals indicating when to transcode. Possible values are: pprofile , never , always |
[in] | transcodingoptimize | A set of literals indicating what should be optimized. Possible values are speed , quality |
[in] | compression | How much to compress when transcoding. Possible values are: low , medium , high |
[in] | transcodevideowidth | The maximum width of the video resulting from transcoding |
[in] | transcodevideoheight | The maximum height of the video resulting from transcoding |
[in] | transcodeimagewidth | The maximum width of the image resulting from transcoding |
[in] | transcodeimageheight | The maximum height of the image resulting from transcoding |
[in] | downsampletomatchspeed | A boolesan value incdicating if media with bitrate that is higher than the connection speed should be downsampled to lower bitrate |
[in] | timeshiftinterval | The time in minutes that live streams should be cached for pausing and rewinding purposes |
[in] | disabledecodingclock | A boolesan value incdicating if the transcoding should happen as fast as possible or just as fast as needed to meet real-time playback requirements |
[in] | connectionspeed | The speed of the connection. Possible values are WIRED , WIFI_G , WIFI_B |
[in] | connectionquality | The quality of the connection (mainly relevant to wireless connections). Possible values are: low , medium , high |
[in] | wmencodedshow | A boolean values indicating if ecoding to WMV should be done via DirectShow or via ffmpeg |
[in] | wmprofile | The Windows Media profile to use when doing an encoding to WMV via DirectShow. Possible values are mp43 , wmv7 , wmv8 , wmv9 |
[in] | stereoMix | A boolean value indicating id live audio capturing should rely on stereo mix |
[in] | driftCompThresh | Audio drift compensaton threashold to be used when capturing audio via stereo mix. A value of zero means no compensation is to be performed. |
[in] | sortfolderbyfile | A boolean values indicating if items organized by folder structure should be sorted by their file name or title extracted from their tags |
[in] | prettytags | A boolean values indicating if tags should be modified for beter readibility |
[in] | longtitle | A boolean values indicating if long titles should be used such tha the folder to which files belong is made a apart of the file name. This is only useful with devices that can only display one long list of items (Xbox 360 used ot be that way). |
[in] | readavitags | A boolean values indicating if tags should b read from AVI tags or ignored |
[in] | refreshstarttime | The time of day in which automatic library refresh should be done first time after the service started (offset in minutes for midnight). |
[in] | refreshinterval | The interval for subsequent automatic library refreshes (offset in minutes for midnight). A value of zero means never refresh automatically. |
[in] | cachesize | Maximum allowed size for cache area in megabytes |
[in] | root | The root menu to make active. There can be only one active set of menus at any given point in time, however several sets of menus can co-exist and be maintained up to date. |
[in] | listenport | The TCP port on which the server should listen |
[in] | listenip | The IP address of the network interface on which the server should listen (leave empty for all interfaces) |
[in] | listenallowremote | A boolean value indicating if remote connection to the server are allowed (remote connection are connections outside the server LAN) |
[in] | autostart | A boolean values indicating if the sharing should automatically start after a reboot |
[in] | proxyhttp | A boolean values indicating if HTTP requests should be proxied |
[in] | adminUser | A username for administrating the application and for remote access |
[in] | adminPassword | A password for administrating the application and for remote access |
[in] | maxdlcount | Maximum number of concurrent downloads that can occur in the background |
[in] | feeddlcount | Maximum number of items enclosed in a given feed that should be pre-downloaded (as opposed to be downloaded upon an actual request to play them) |
[in] | maxdlbps | Maximum bandwidth in bps that background download are allowed to consume |
[in] | maxitemsperfeed | Maximum number of items per RSS/ATOM/RDF feed or playlists that TVersity should display |
response
and two attributes status
and message
. The status can be either success
or failure
and the message describes the cause of the error in a user friendly manner.