pysqueezebox
Asynchronous library to control Logitech Media Server
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later and a running Logitech Media Server instance on the network.
- Low install friction with a single runtime dependency (aiohttp).
- Actively maintained with recent commits and a stable release cadence; requires Python 3.11 or later.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions.
last release 2026-03-13 (154 days) · last repo commit 2026-03-13 · 17 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,577 downloads/mo, #14,815 on PyPI
Alternatives
Verify before relying
pip install pysqueezebox
from pysqueezebox import Server
import aiohttp
import asyncio
async def main():
async with aiohttp.ClientSession() as session:
lms = Server(session, '192.168.1.2')
player = await lms.async_get_player(name="Bedroom")
await player.async_update()
print(player.album)
await player.async_play()
asyncio.run(main())- Whether the library supports all Logitech Media Server API endpoints or only a subset
- Performance characteristics when controlling multiple players simultaneously
- Compatibility with specific Logitech Media Server versions
What it is and 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.
The 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.
Use it for
- 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
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
pysqueezebox on PyPI
Before you install
Low install friction with a single runtime dependency (aiohttp). Actively maintained with recent commits and a stable release cadence; requires Python 3.11 or later.
Requires Python 3.11 or later and a running Logitech Media Server instance on the network.
License in practice
Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install pysqueezebox
from pysqueezebox import Server
import aiohttp
import asyncio
async def main():
async with aiohttp.ClientSession() as session:
lms = Server(session, '192.168.1.2')
player = await lms.async_get_player(name="Bedroom")
await player.async_update()
print(player.album)
await player.async_play()
asyncio.run(main())
Verify before relying
- Whether the library supports all Logitech Media Server API endpoints or only a subset
- Performance characteristics when controlling multiple players simultaneously
- Compatibility with specific Logitech Media Server versions
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageaiohttp |
| Maintenance | Actively maintained 154 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,577 / month, #14,815 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software License |
Evidence: pysqueezebox-0.14.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “logitech media server control”
- pysqueezeboxAsynchronous Python library to control Logitech Media Server and its…
- aioslimprotoAsync Python implementation of the SLIMProto protocol for controlling…
- aioharmonyaioharmony is an asyncio library for programmatically controlling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also aiomusiccast · aioslimproto · pykaleidescape · pyblu · pypck · aiovlc · epson-projector · pyheos · soco · python-mpd2