- void AddToPlaylist(NeonScriptPlaylist playlist, NeonScriptTrack track) Adds a single track to the specified playlist.Parameters
Name Description playlist The playlist to add the tracks to track The tracks to add to the playlist - void AddToPlaylist(NeonScriptPlaylist playlist, IEnumerable<NeonScriptTrack> tracks) Adds a collection of tracks to the specified playlist.Parameters
Name Description playlist The playlist to add the tracks to tracks The tracks to add to the playlist - Task AddToPlaylistAsync(NeonScriptPlaylist playlist, NeonScriptTrack track) Adds a single track to the specified playlist.Parameters
Name Description playlist The playlist to add the tracks to track The tracks to add to the playlist - Task AddToPlaylistAsync(NeonScriptPlaylist playlist, IEnumerable<NeonScriptTrack> tracks) Adds a collection of tracks to the specified playlist.Parameters
Name Description playlist The playlist to add the tracks to tracks The tracks to add to the playlist - NeonScriptPlaylist CreatePlaylist(String name, NeonScriptPlaylistFolder folder) Creates a new playlist with the specified name and folder.Parameters
Name Description name The name of the playlist to create folder The folder to create the playlist in - NeonScriptPlaylistFolder CreatePlaylistFolder(String name, NeonScriptPlaylistFolder parentFolder) obsoleteCreates a new playlist folder with the specified name and parent folder.Parameters
Name Description name Name of the playlist to create parentFolder Parent folder name - Task<NeonScriptPlaylistFolder> CreatePlaylistFolderAsync(String name, NeonScriptPlaylistFolder parentFolder) Creates a new playlist folder with the specified name and parent folder.Parameters
Name Description name Name of the playlist to create parentFolder Parent folder name - void DeletePlaylist(NeonScriptPlaylist playlist) Deletes the specified playlist.Parameters
Name Description playlist The playlist to delete - void ExportPlaylist(ScriptExportPlaylistType playlistType, String filename, Boolean relativePath, IEnumerable<NeonScriptTrack> tracks, Boolean extendedInformation) Exports a playlist to the specified file in the specified format.Parameters
Name Description playlistType The type of playlist to create: ScriptExportPlaylistType.M3U, ScriptExportPlaylistType.M3U8, ScriptExportPlaylistType.PLS filename The filename of the resulting playlist relativePath True if relative paths should be used for the items in the playlist tracks The tracks to export extendedInformation True if extended information should be generated - IEnumerable<NeonScriptPlaylist> FilesInPlaylist(String playlist) Returns all files in the specified playlist.Parameters
Name Description playlist The playlist to get the files for - Task<IEnumerable<NeonScriptPlaylistFolder>> GetPlaylistFolders() Returns all playlist folders.
- List<NeonScriptPlaylist> GetPlaylists() Returns all playlists available.
- Task<IEnumerable<NeonScriptPlaylistFolder>> PlaylistFoldersAsync() Returns all playlist folders. (async version)
- Task<IEnumerable<NeonScriptPlaylist>> PlaylistsAsync() Returns all playlists available. (async version)
- IEnumerable<NeonScriptTrack> TracksInPlaylist(NeonScriptPlaylist playlist) Returns all tracks in the specified playlist.Parameters
Name Description playlist The playlist to get the tracks for - Task<IEnumerable<NeonScriptTrack>> TracksInPlaylistAsync(NeonScriptPlaylist playlist) Returns all tracks in the specified playlist. (async version)Parameters
Name Description playlist The playlist to get the tracks for - IEnumerable<NeonScriptPlaylistFolder> PlaylistFolders() obsoleteReturns all playlist folders.
- IEnumerable<NeonScriptPlaylist> Playlists() obsoleteReturns all playlists available.
Scripting - Playlists 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.