Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 540 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 540 Bytes

PyVolumio

A python interface to control Volumio.

Installation

You can install pyvolumio from PyPI:

pip3 install pyvolumio

Python 3.7 and above are supported.

How to use

from pyvolumio import Volumio
v = Volumio("<host>", <port>)
# you can also pass in your own session
v = Volumio("<host>", <port>, <session>)

info = await v.get_system_info()
state = await v.get_state()

await v.play()
await v.pause()
await v.stop()
await v.volume_up()
...