• void AddFiles(List<String> filesToAdd) JS compatible
    Adds files to the Helium database.
    Parameters
    NameDescription
    filesToAddThe files to add
  • string QuotedString(String data) JS compatible
    Returns a quoted string suitable for use in a database query.
    Parameters
    NameDescription
    data
  • string SuggestedAlbumPath(NeonScriptAlbum album, Boolean fromFile) JS compatible
    Returns the suggested album path according to Helium's album rules.
    Parameters
    NameDescription
    albumThe album to get the path for
    fromFileIf true, the path will be calculated based on the actual (first) file from the album to give more precise results.
  • void UpdateAlbumPath(NeonScriptAlbum album, String path) JS compatible
    Updates the path for an album in the database.
    Parameters
    NameDescription
    albumThe album to update
    pathThe path to set for the album
  • void UpdateAlbumPicture(NeonScriptAlbum album, String filename) JS compatible
    Updates the picture for an album in the database.
    Parameters
    NameDescription
    albumThe album to update
    filenameThe picture filename
  • void UpdateArtistPicture(NeonScriptArtist artist, String filename) JS compatible
    Updates the picture for an artist in the database.
    Parameters
    NameDescription
    artistThe artist to update
    filenameThe picture filename
  • int ActiveUserId() JS compatible
    Returns the ID of the currently active user in Helium.
  • List<NeonScriptAlbum> Albums() JS compatible
    Provides access to the albums in the database.
  • List<NeonScriptArtist> Artists() JS compatible
    Provides access to the artists in the database.
  • List<NeonScriptTrack> Tracks() JS compatible
    Provides access to the tracks in the database.