- string CalculateAcoustId(String filename) Calculates the AcoustId for the given file.Parameters
Name Description filename The filename - void CalculateAlbumGain(IEnumerable<NeonScriptTrack> tracks) Calculates the album gain for a collection of tracks.Parameters
Name Description tracks A list of NeonScriptTracks - void CalculateAlbumGain(String filename) Calculates the album gain for the given file.Parameters
Name Description filename The filename - int CalculateBpm(String filename) Calculates the BPM (Beats Per Minute) for the given file.Parameters
Name Description filename The filename - string CalculateMusicKey(String filename) Calculate the music key for the given file.Parameters
Name Description filename The filename - void CalculateTrackGain(String filename) Calculates the track gain for the given file.Parameters
Name Description filename The filename - string Capitalize(String value, Int32 mode) Capitalize a string using one of the following modes: 1 = Sentence capitalization 2 = Word capitalization 3 = Uppercase 4 = Lowercase 5 = User defined (per field)Parameters
Name Description value The text to captialize mode The mode to use - void Error(String message) Logs an error message to the log system.Parameters
Name Description message The message to log - string Fetch(String url, String agent, String authorization) Downloads data from an URL.Parameters
Name Description url The url to download data from agent User-agent (optional) authorization Authorization token (optional) - Task<string> FetchAsync(String url, String agent, String authorization) Downloads data from an URL. (Async version)Parameters
Name Description url The url to download data from agent User-agent (optional) authorization Authorization token (optional) - bool HasPendingJobs() Checks if there are any pending jobs in the job queue.
- string HtmlEncode(String inData) Encodes a string for HTML output.Parameters
Name Description inData The text to encode - void ImportAlbumReviewsFromHelium11() Imports album reviews from Helium 11.
- void Log(String message) Logs a message to the log system.Parameters
Name Description message The message to log - string RatingToString(Int32 rating) Converts a rating value to a string.Parameters
Name Description rating The value to convert - void RunScript(String filename, IEnumerable<NeonScriptTrack> tracks) obsoleteRuns a script file with the specified tracks.Parameters
Name Description filename The script to run tracks The tracks to run the script on - Task RunScriptAsync(String filename, IEnumerable<NeonScriptTrack> tracks) Runs a script file with the specified tracks. (async version)Parameters
Name Description filename The script to run tracks The tracks to run the script on - string StringReplaceCaseInsensitive(String data, String replace, String with) Replaces a string in a case-insensitive manner.Parameters
Name Description data The source string replace The term to replace with The term to replace with
Scripting - General Print
Created by: Mikael Stalvik
Modified on: Tue, 19 Aug, 2025 at 4:29 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.