- Task DeleteAllTags(IEnumerable<NeonScriptTrack> tracks) Deletes all tags from the specified tracks. (Async version)Parameters
Name Description tracks The tracks to delete the tags for - Task DeleteAllTagsForFile(NeonScriptTrack track) Deletes all tags from the specified track. (Async version)Parameters
Name Description track The tracks to delete the tags for - Task DeleteAllTagsForFileSync(NeonScriptTrack track) Deletes all tags from the specified track.Parameters
Name Description track The tracks to delete the tags for - void DeleteAllTagsSync(IEnumerable<NeonScriptTrack> tracks) Deletes all tags from the specified tracks.Parameters
Name Description tracks The tracks to delete the tags for - Task DeleteSpecificTags(IEnumerable<NeonScriptTrack> tracks, ScriptTagDeleteTypes[] tags) Deletes specific tags from the specified tracks. This method is more efficient than deleting tags per file since the database will only be updated once the operation is completed. Only tags of the specific types defined in tagTypes will be deleted. (Async version)Parameters
Name Description tracks The tracks to delete the tags for tags An array of tag-types to remove - Task DeleteSpecificTagsForFile(NeonScriptTrack track, ScriptTagDeleteTypes[] tags) Deletes specific tags from the specified track. (Async version)Parameters
Name Description track The track to delete the tags for tags An array of tag-types to remove - Task DeleteSpecificTagsForFileSync(NeonScriptTrack track, ScriptTagDeleteTypes[] tags) Deletes specific tags from the specified track.Parameters
Name Description track The track to delete the tags for tags An array of tag-types to remove - Task DeleteSpecificTagsSync(IEnumerable<NeonScriptTrack> tracks, ScriptTagDeleteTypes[] tags) Deletes specific tags from the specified tracks. This method is more efficient than deleting tags per file since the database will only be updated once the operation is completed. Only tags of the specific types defined in tagTypes will be deleted.Parameters
Name Description tracks The tracks to delete the tags for tags An array of tag-types to remove - void FilenameToTag(IEnumerable<NeonScriptTrack> tracks, String template) Populates the tracks with data returned from the filename to tag system, based on the input template. If the template is empty, the best match will automatically be used.Parameters
Name Description tracks The tracks to extract data from template The template to use - void GetMCLIPL(String filename, String@ mcl, String@ ipl) Get the musician credits list and the involved peoples list from the tags for the filename.Parameters
Name Description filename The source filename mcl Resulting musician credits list ipl Resulting involved peoples list - void RenameFile(NeonScriptTrack track, String newFilename) Renames the file of the specified track to the new filename. The file will be renamed on disk and updated in the database.Parameters
Name Description track The track to rename newFilename The new filename - void RenameFiles(IEnumerable<NeonScriptTrack> tracks, IEnumerable<String> newFilenames) Renames the list of sourcefiles in the tracks object, with the new names defined in the string list, newFilenames. Files will be renamed on disk and updated in the database.Parameters
Name Description tracks The tracks to rename newFilenames The new filenames - void SaveTagPictureToAlbumFolder(NeonScriptAlbum album, Boolean overwrite) Saves the album picture to the tags of the specified album.Parameters
Name Description album The source album overwrite If set, any existing pictures will be overwritten - void SetMCLIPL(String filename, String mcl, String ipl) Sets the musician credits list and the involved peoples list in the tags for the filename.Parameters
Name Description filename The source filename mcl The musician credits list value to set ipl The involved proples value to set - string TagToFilename(NeonScriptTrack track, String template) Returns a string with a new filename rendered using the TagToFilename engine, based on the templating system.Parameters
Name Description track The track to use as a source template The template to use - string TagToString(NeonScriptTrack track, String template) Returns a string rendered through the TagToFileName engine, without path, filename and extension.Parameters
Name Description track The track to use as a source template The template to use - void UpdateAudioMetadata(IEnumerable<NeonScriptTrack> tracks) This call will read the following audio meta data properties from the file: - Bitrate - Frequency - VBR/CBR - Filesize - Songlength - BPS The read values will be updated in the database as well as on each track object.Parameters
Name Description tracks The tracks to update - Task UpdateFiletypeAsync(IEnumerable<String> sourceFiles, IEnumerable<String> newFiles) Updates multiple entries in the database by the sourceFile parameter to the newFile parameter. This method can be used to update an entry from one file-type to another, for example MP3 to FLAC. During the update tags will be converted from the sourceFile to the newFile. All statistical data will be preserved. (Async version)Parameters
Name Description sourceFiles The source files newFiles The new file names - Task UpdateFiletypeAsync(String sourceFile, String newFile) Updates one entry in the database by the sourceFile parameter to the newFile parameter. This method can be used to update an entry from one file-type to another, for example MP3 to FLAC. During the update tags will be converted from the sourceFile to the newFile. All statistical data will be preserved. (Async version)Parameters
Name Description sourceFile The source file newFile The new file - Task UpdateFiletypeSync(IEnumerable<String> sourceFiles, IEnumerable<String> newFiles) Updates multiple entries in the database by the sourceFile parameter to the newFile parameter. This method can be used to update an entry from one file-type to another, for example MP3 to FLAC. During the update tags will be converted from the sourceFile to the newFile. All statistical data will be preserved.Parameters
Name Description sourceFiles The source files newFiles The new file names - Task UpdateFiletypeSync(String sourceFile, String newFile) Updates one entry in the database by the sourceFile parameter to the newFile parameter. This method can be used to update an entry from one file-type to another, for example MP3 to FLAC. During the update tags will be converted from the sourceFile to the newFile. All statistical data will be preserved.Parameters
Name Description sourceFile The source file newFile The new file - void UpdateReplayGain(IEnumerable<NeonScriptTrack> tracks) Updates the ReplayGain values for the specified tracks. AlbumGain and TrackGain with the stored values, if any.Parameters
Name Description tracks The tracks to update
Scripting - Tags, Files Print
Created by: Mikael Stalvik
Modified on: Tue, 19 Aug, 2025 at 4:30 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.