Skip to content
Jorge Serrano Pérez edited this page Feb 21, 2023 · 11 revisions

Ucs Metadata Utility documentation

UCS v8.2 Last stable version

Requirements

You should install

Installation

Download the zip file that contains the App with the last version, and uncompress it in a folder of your computer

Running UCS Metadata Utility

To run UCS Metadata Utility you can open a

on

or a

on

In the console or terminal window, go to the folder with the App, and inside of it, write the command

If executing the command you get the error Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5000: address already in use. or similar, use a different port executing the command

Something like where port is a different default port (5000), as for example dotnet UcsMetadataUtility.dll --urls=http://localhost:5004

Creating a batch file to run UCS Metadata Utility

Is possible to create a batch file to simplify the execution of UCS Metadata Utility

Windows

  • Create a .bat file and add the next content
cd C:\UcsMetadataUtility\
start http://localhost:5000/
dotnet UcsMetadataUtility.dll 

Note: change the path, or the port, as is explained in this document

macOS

  • Create a .sh file and add the next content
#!/bin/bash
cd /UcsMetadataUtility/
open "http://localhost:5004/" 
dotnet UcsMetadataUtility.dll --urls=http://localhost:5004

Note: change the path, or the port, as is explained in this document

Settings for UCS Metadata Utility

UCS Metadata Utility has a settings file named

You can edit this file to change some settings that the App uses. Other indirect feature is that you can change these values in runtime. To refresh the values, you will have to refresh the Home page only

The JSON file has a content similar to the next one:

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*",
  "UCSMetadata": {
    "FileNameText": "",
    "DescriptionText": "",
    "SeparatorBetweenFields": "_"
  }
}

Here, the relevant part is the next one:

"UCSMetadata": {
  "FileNameText": "",
  "DescriptionText": "",
  "SeparatorBetweenFields": "_"
}

The explanation of each property here is:

  • The FileNameText property is a fix text that will appear in the File Name Metadata textbox each time that you decide to clean the File Name part, or refresh the Home page
  • The DescriptionText property has the same effect that FileNameText but for the Description Metadata textbox
  • The SeparatorBetweenFields property is used by the File Name Metadata textbox when we want to copy the result to the clipboard, so if you decide use the character _ and in the File Name Metadata textbox for a WAV file name, you have the text Hello World for example, you will copy to the clipboard the text Hello_World.WAV

UCS Category List

UCS Metadata Utility loads dynamically a file named . This is a CSV file with the UCS official content.

You can update, edit, add, replace, this file. UCS Metadata Utility will load in the startup always

Little manual and screenshots

Access here for more details