• string CalculateAcoustId(String filename)
    Calculates the AcoustId for the given file.
    Parameters
    NameDescription
    filenameThe filename
  • void CalculateAlbumGain(IEnumerable<NeonScriptTrack> tracks)
    Calculates the album gain for a collection of tracks.
    Parameters
    NameDescription
    tracksA list of NeonScriptTracks
  • void CalculateAlbumGain(String filename)
    Calculates the album gain for the given file.
    Parameters
    NameDescription
    filenameThe filename
  • int CalculateBpm(String filename)
    Calculates the BPM (Beats Per Minute) for the given file.
    Parameters
    NameDescription
    filenameThe filename
  • string CalculateMusicKey(String filename)
    Calculate the music key for the given file.
    Parameters
    NameDescription
    filenameThe filename
  • void CalculateTrackGain(String filename)
    Calculates the track gain for the given file.
    Parameters
    NameDescription
    filenameThe 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
    NameDescription
    valueThe text to captialize
    modeThe mode to use
  • void Error(String message)
    Logs an error message to the log system.
    Parameters
    NameDescription
    messageThe message to log
  • string Fetch(String url, String agent, String authorization)
    Downloads data from an URL.
    Parameters
    NameDescription
    urlThe url to download data from
    agentUser-agent (optional)
    authorizationAuthorization token (optional)
  • Task<string> FetchAsync(String url, String agent, String authorization)
    Downloads data from an URL. (Async version)
    Parameters
    NameDescription
    urlThe url to download data from
    agentUser-agent (optional)
    authorizationAuthorization 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
    NameDescription
    inDataThe text to encode
  • void ImportAlbumReviewsFromHelium11()
    Imports album reviews from Helium 11.
  • void Log(String message)
    Logs a message to the log system.
    Parameters
    NameDescription
    messageThe message to log
  • string RatingToString(Int32 rating)
    Converts a rating value to a string.
    Parameters
    NameDescription
    ratingThe value to convert
  • void RunScript(String filename, IEnumerable<NeonScriptTrack> tracks) obsolete
    Runs a script file with the specified tracks.
    Parameters
    NameDescription
    filenameThe script to run
    tracksThe tracks to run the script on
  • Task RunScriptAsync(String filename, IEnumerable<NeonScriptTrack> tracks)
    Runs a script file with the specified tracks. (async version)
    Parameters
    NameDescription
    filenameThe script to run
    tracksThe tracks to run the script on
  • string StringReplaceCaseInsensitive(String data, String replace, String with)
    Replaces a string in a case-insensitive manner.
    Parameters
    NameDescription
    dataThe source string
    replaceThe term to replace
    withThe term to replace with