-
Notifications
You must be signed in to change notification settings - Fork 0
Home
You should install
Download the zip file that contains the App with the last version, and uncompress it in a folder of your computer
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
Is possible to create a batch file to simplify the execution of UCS Metadata Utility
- 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
- Create a .sh file and add the next content
#!/bin/bash
cd /UcsMetadataUtility/
open "http://localhost:5004/"
dotnet UcsMetadataUtility.dll --urls=http://localhost:5004Note: change the path, or the port, as is explained in this document
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 textHello Worldfor example, you will copy to the clipboard the textHello_World.WAV
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
Jorge Serrano ©2022