Serverconfig.xml¶
The serverconfig.xml is read when the server is started and contains a number of important settings. If the server is run without a serverconfig.xml file it will create one for you after you answer some questions.
\<CatalogFile> Fully qualified local path to the fast video catalog 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.
\<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 to it would look something like: \\fredrik_asus\videocatalog\videos. This is the path the Fast video cataloger will use to read videos in the catalog i..e 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.
\<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 to it would look something like: \\fredrik_asus\videocatalog\photos. This is the path the Fast video cataloger will use to read companion images in the catalog i..e PhotoFileLocalRoot and PhotoFileShareRoot provide the mapping between the local path of the images on the server and the protocol and path to the photo that will be accessed by remote clients.
\<ActorPhotoFileLocalRoot> Local path to a folder that needs to be the root of all actor companion image files.
\<ActorPhotoFileShareRoot> Remote path to the folder with the companion photos. If you create a windows share to it would look something like: \\fredrik_asus\videocatalog\actorphotos. This is the path the Fast video cataloger will use to read companion images in the catalog i..e ActorPhotoFileLocalRoot and ActorPhotoFileShareRoot provide the mapping between the local path of the images on the server and the protocol and path to the photo that will be accessed by remote clients.
\<NetworkPort> The remote network port that the server will open for clients to connect to the server. Clients will use http and this port for all connections except for reading videos and photos i.e. the large files.
\<ServerUploadFolder> The local root for uploads. When clients upload the server files will be stored here before being moved into the \<VideoFileLocalRoot>. If uploads fails for one or another reasons this is the folders that will contain the failed uploads. I.e. If you close the server this folder should be empty.
HTTP File Hosting Options
\<AllowRemoteConnections> When set to true, the server accepts connections from remote computers. When false, only localhost connections are accepted. Default is true.
Here is an example serverconfig.xml file:
\<?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>\\fredrik_asus\videocatalog\videos\</VideoFileShareRoot>
\<PhotoFileLocalRoot>c:\videocatalog\photos\\</PhotoFileLocalRoot>
\<PhotoFileShareRoot>\\fredrik_asus\videocatalog\photos\</PhotoFileShareRoot>
\<ActorPhotoFileLocalRoot>c:\videocatalog\actorphotos\\</ActorPhotoFileLocalRoot>
\<ActorPhotoFileShareRoot>\\fredrik_asus\videocatalog\actorphotos\</ActorPhotoFileShareRoot>
\<NetworkPort>8754\</NetworkPort>
\<ServerUploadFolder>c:\videocatalog\uploads\</ServerUploadFolder>
\<AllowRemoteConnections>true\</AllowRemoteConnections>
\</ServerConfiguration>