Class KodiFavouritesNamespace

Constructors

Methods

  • Adds an item to the favourites.

    Parameters

    • title: string

      The title of the favourite.

    • type: FavouriteType

      The type of the favourite (e.g., 'video', 'music').

    • Optionalpath: string

      Optional path for media, script, and androidapp favourites types.

    • Optionalwindow: string

      Optional window name for window favourite type.

    • Optionalwindowparameter: string

      Optional window parameter.

    • Optionalthumbnail: string

      Optional thumbnail URL for the favourite.

    Returns Promise<string>

    A promise resolving to a string, typically empty on success.