aiovlc package¶
Control VLC over telnet connection using asyncio.
Subpackages¶
Submodules¶
aiovlc.cli module¶
aiovlc.client module¶
Provide a client for aiovlc.
- class aiovlc.client.Client(password: str, host: str = 'localhost', port: int = 4212, timeout: int = 10)[source]¶
Bases:
objectRepresent a client for aiovlc.
- async get_length() GetLengthOutput[source]¶
Send the get_length command.
- async get_time() GetTimeOutput[source]¶
Send the get_time command.
- async info() InfoOutput[source]¶
Send the info command.
- async login() PasswordOutput[source]¶
Login.
- async status() StatusOutput[source]¶
Send the status command.
- async volume() VolumeOutput[source]¶
Send the volume command.
aiovlc.const module¶
Provide common constants.
aiovlc.exceptions module¶
Provide exceptions for aiovlc.
- exception aiovlc.exceptions.AIOVLCError[source]¶
Bases:
ExceptionRepresent a common error for aiovlc.
- exception aiovlc.exceptions.AuthError[source]¶
Bases:
AIOVLCErrorRepresent an authentication error.
- exception aiovlc.exceptions.CommandError[source]¶
Bases:
AIOVLCErrorRepresent a command error.
- exception aiovlc.exceptions.CommandParameterError[source]¶
Bases:
CommandErrorRepresent an error with a parameter when calling the command.
- exception aiovlc.exceptions.CommandParseError[source]¶
Bases:
CommandErrorRepresent an error when parsing the command output.
- exception aiovlc.exceptions.ConnectError[source]¶
Bases:
AIOVLCErrorRepresent a connection error for aiovlc.
- exception aiovlc.exceptions.ConnectReadError(error: Exception, partial_bytes: bytes | None = None)[source]¶
Bases:
ConnectErrorThe client failed to read.