Skip to content

Server Configuration (serverconfig.xml)

The serverconfig.xml file is read when the server is started and contains important settings. If the server is run without a serverconfig.xml file it will create one for you after you answer some questions.

Configuration Options

Catalog Settings

<CatalogFile> - Fully qualified local path to the Fast Video Cataloger .vcat file. Note that the server reads and writes the exact same file format the standalone version of the program does. It is possible to take a catalog from a single user and share that in a network.

Video File Settings

<VideoFileLocalRoot> - Local path to a folder that needs to be the root of all video files.

<VideoFileShareRoot> - Remote path to the folder with the videos. If you create a Windows share it would look something like: \\server\videocatalog\videos. This is the path the Fast Video Cataloger client will use to read videos in the catalog. VideoFileLocalRoot and VideoFileShareRoot provide the mapping between the local path of the video on the server and the protocol and path to the video that will be accessed by remote clients.

Photo File Settings

<PhotoFileLocalRoot> - Local path to a folder that needs to be the root of all video companion image files.

<PhotoFileShareRoot> - Remote path to the folder with the companion photos. If you create a Windows share it would look something like: \\server\videocatalog\photos.

<ActorPhotoFileLocalRoot> - Local path to a folder that needs to be the root of all actor photo files.

<ActorPhotoFileShareRoot> - Remote path to the folder with the actor photos.

Network Settings

<NetworkPort> - The network port that the server will open for clients to connect. Clients will use this port for all connections except for reading videos and photos (the large files).

<AllowRemoteConnections> - When set to true, the server accepts connections from remote computers. When false, only localhost connections are accepted. Default is true.

Upload Settings

<ServerUploadFolder> - The local root for uploads. When clients upload files they will be stored here before being moved into the <VideoFileLocalRoot>. If uploads fail for any reason this folder will contain the failed uploads.

Example Configuration

<?xml version="1.0"?>
<ServerConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CatalogFile>c:\videocatalog\test.vcat</CatalogFile>
  <VideoFileLocalRoot>c:\videocatalog\videos\</VideoFileLocalRoot>
  <VideoFileShareRoot>\\server\videocatalog\videos</VideoFileShareRoot>
  <PhotoFileLocalRoot>c:\videocatalog\photos\</PhotoFileLocalRoot>
  <PhotoFileShareRoot>\\server\videocatalog\photos</PhotoFileShareRoot>
  <ActorPhotoFileLocalRoot>c:\videocatalog\actorphotos\</ActorPhotoFileLocalRoot>
  <ActorPhotoFileShareRoot>\\server\videocatalog\actorphotos</ActorPhotoFileShareRoot>
  <NetworkPort>8000</NetworkPort>
  <ServerUploadFolder>c:\videocatalog\uploads</ServerUploadFolder>
  <AllowRemoteConnections>true</AllowRemoteConnections>
</ServerConfiguration>