Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ReflectionCommands

Index

Constructors

constructor

Properties

Private protocol

protocol: MPDProtocol

Methods

commands

  • commands(): Promise<string[]>
  • Shows which commands the current user has access to.

    Returns Promise<string[]>

config

  • config(): Promise<Map<string, string>>
  • Dumps configuration values that may be interesting for the client. This command is only permitted to "local" clients (connected via UNIX domain socket). The following response attributes are available:

    • music_directory: The absolute path of the music directory.

    Returns Promise<Map<string, string>>

decoders

  • Returns a list of decoder plugins with their supported suffixes and MIME types.

    Returns Promise<Decoder[]>

notCommands

  • notCommands(): Promise<string[]>
  • Shows which commands the current user has access to.

    Returns Promise<string[]>

tagTypes

  • tagTypes(): Promise<string[]>
  • This method is identical to the method by the same name in the ConnectionCommands class. It is only provided here for backward compatibility.

    Returns Promise<string[]>

urlHandlers

  • urlHandlers(): Promise<string[]>
  • Gets a list of available URL handlers.

    Returns Promise<string[]>

Generated using TypeDoc