Skip to content

Commit

Permalink
p
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Vanloo committed Feb 19, 2024
1 parent 42f1885 commit 425f0fc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# python-linkplay
LinkPlay library for Python
A Python Library for Seamless LinkPlay Device Control

## Documentation
## Intro

Used documentation
Welcome to python-linkplay, a powerful and user-friendly Python library designed to simplify the integration and control of LinkPlay-enabled devices in your projects. LinkPlay technology empowers a wide range of smart audio devices, making them interconnected and easily controllable. With python-linkpaly, you can harness this capability and seamlessly manage your LinkPlay devices from within your Python applications.

## Key features

1. Unified Control: python-linkplay provides a unified interface for controlling various LinkPlay-enabled devices, streamlining the process of interacting with speakers, smart home audio systems, and more.

2. Device Discovery: Easily discover and connect to LinkPlay devices on your network, ensuring a hassle-free setup and integration into your Python applications.

3. Playback Management: Take charge of audio playback on LinkPlay devices with functions to play, pause, skip tracks, adjust volume, and more, offering a comprehensive set of controls for a seamless user experience.

4. Metadata Retrieval: Retrieve essential metadata such as track information, artist details, and album data, enabling you to enhance the user interface and display relevant information in your applications.

## LinkPlay API documentation

- https://github.com/n4archive/LinkPlayAPI
- https://github.com/nagyrobi/home-assistant-custom-components-linkplay
Expand Down
3 changes: 1 addition & 2 deletions src/linkplay/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import asyncio

import aiohttp

from linkplay.discovery import discover_linkplay_bridges, discover_multirooms
Expand All @@ -9,7 +8,7 @@ async def main():
async with aiohttp.ClientSession() as session:
bridges = await discover_linkplay_bridges(session)
multirooms = await discover_multirooms(bridges)
print(multirooms)
return bridges, multirooms

if __name__ == "__main__":
asyncio.run(main())

0 comments on commit 425f0fc

Please sign in to comment.