{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/6"}],"enrichment":{"capability":"Asynchronous Python library to control Logitech Media Server and its connected players over the network, designed for integration with Home Assistant and other automation systems.","skillfed_tags":["async-io","home-automation","media-server"],"use_cases":["Integrate Squeezebox players into Home Assistant automation workflows for voice control and scheduled playback","Build a custom dashboard or mobile app to control multiple networked Squeezebox players from a single interface","Monitor player status and metadata (current album, artist, playback state) in real-time for logging or display","Automate multi-room audio scenarios by coordinating playback across several players asynchronously"],"what_it_does":"pysqueezebox is an async Python client for controlling Logitech Media Server (LMS) and its connected Squeezebox players. It wraps the LMS API in coroutines, making it suitable for event-driven applications like Home Assistant that need to query player status, retrieve metadata, and issue playback commands without blocking. The library exposes Server and Player classes; you instantiate a Server with an aiohttp session and the LMS IP address, then retrieve Player objects by name or enumerate all connected players. Player objects cache state (album, artist, playback status) and must be refreshed with async_update() to reflect current server state.\n\nThe library is built on aiohttp for HTTP communication and requires Python 3.11 or later. Most interaction happens through the Player class, which offers methods like async_play(), async_pause(), and async_update() to control playback and fetch current metadata. Function names follow LMS API conventions rather than Home Assistant naming, so familiarity with the underlying API is helpful. The code was adapted from Home Assistant's original squeezebox integration and is maintained as a separate PyPI package to keep API-specific logic out of Home Assistant itself.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and fills a clear niche for async control of Logitech Media Server. It is well-suited for Home Assistant and other event-driven applications. The permissive Apache license removes licensing concerns. Install if you need programmatic control of Squeezebox players; skip if you only use the LMS web interface."},"id":"pysqueezebox","links":{"html":"https://skillfed.io/packages/pysqueezebox","md":"https://skillfed.io/packages/pysqueezebox.md","pypi":"https://pypi.org/project/pysqueezebox/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-13","license_spdx":null,"license_treatment":"permissive","name":"pysqueezebox","python_support":"supports_current","summary":"Asynchronous library to control Logitech Media Server"},"popularity":{"monthly_downloads":74577,"position":14815,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.14.0"}
