• void AddToPlaylist(NeonScriptPlaylist playlist, NeonScriptTrack track)
    Adds a single track to the specified playlist.
    Parameters
    NameDescription
    playlistThe playlist to add the tracks to
    trackThe tracks to add to the playlist
  • void AddToPlaylist(NeonScriptPlaylist playlist, IEnumerable<NeonScriptTrack> tracks)
    Adds a collection of tracks to the specified playlist.
    Parameters
    NameDescription
    playlistThe playlist to add the tracks to
    tracksThe tracks to add to the playlist
  • Task AddToPlaylistAsync(NeonScriptPlaylist playlist, NeonScriptTrack track)
    Adds a single track to the specified playlist.
    Parameters
    NameDescription
    playlistThe playlist to add the tracks to
    trackThe tracks to add to the playlist
  • Task AddToPlaylistAsync(NeonScriptPlaylist playlist, IEnumerable<NeonScriptTrack> tracks)
    Adds a collection of tracks to the specified playlist.
    Parameters
    NameDescription
    playlistThe playlist to add the tracks to
    tracksThe tracks to add to the playlist
  • NeonScriptPlaylist CreatePlaylist(String name, NeonScriptPlaylistFolder folder)
    Creates a new playlist with the specified name and folder.
    Parameters
    NameDescription
    nameThe name of the playlist to create
    folderThe folder to create the playlist in
  • NeonScriptPlaylistFolder CreatePlaylistFolder(String name, NeonScriptPlaylistFolder parentFolder) obsolete
    Creates a new playlist folder with the specified name and parent folder.
    Parameters
    NameDescription
    nameName of the playlist to create
    parentFolderParent folder name
  • Task<NeonScriptPlaylistFolder> CreatePlaylistFolderAsync(String name, NeonScriptPlaylistFolder parentFolder)
    Creates a new playlist folder with the specified name and parent folder.
    Parameters
    NameDescription
    nameName of the playlist to create
    parentFolderParent folder name
  • void DeletePlaylist(NeonScriptPlaylist playlist)
    Deletes the specified playlist.
    Parameters
    NameDescription
    playlistThe 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
    NameDescription
    playlistTypeThe type of playlist to create: ScriptExportPlaylistType.M3U, ScriptExportPlaylistType.M3U8, ScriptExportPlaylistType.PLS
    filenameThe filename of the resulting playlist
    relativePathTrue if relative paths should be used for the items in the playlist
    tracksThe tracks to export
    extendedInformationTrue if extended information should be generated
  • IEnumerable<NeonScriptPlaylist> FilesInPlaylist(String playlist)
    Returns all files in the specified playlist.
    Parameters
    NameDescription
    playlistThe 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
    NameDescription
    playlistThe playlist to get the tracks for
  • Task<IEnumerable<NeonScriptTrack>> TracksInPlaylistAsync(NeonScriptPlaylist playlist)
    Returns all tracks in the specified playlist. (async version)
    Parameters
    NameDescription
    playlistThe playlist to get the tracks for
  • IEnumerable<NeonScriptPlaylistFolder> PlaylistFolders() obsolete
    Returns all playlist folders.
  • IEnumerable<NeonScriptPlaylist> Playlists() obsolete
    Returns all playlists available.