---
title: "pykodi 0.6.0 Breaking Changes on PyPI | Since.dev"
description: "What each pykodi release removed, renamed or changed: 52 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pykodi
last_updated: 2026-12-04
---

# pykodi breaking changes

pykodi 0.6.0 (December 4, 2026) is its newest release with breaking changes, 40 of them. The first: A pending request fails at once when Kodi closes the websocket in pykodi 0.6.0. Every breaking API change we have recorded in pykodi on PyPI: 52 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.6.0`, released December 4, 2026. [Source repository](https://github.com/xbmc/PyKodi)

Its 0.4.0 release requires [Python 3.11](https://since.dev/calendar/python/3.11.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.4.0](#v-0-4-0) to [0.6.0](#v-0-6-0): 47 breaking changes in 2 versions.

## pykodi 0.6.0 breaking changes

pykodi 0.6.0, released December 4, 2026: 40 breaking changes.

- **Behavior changed**  

With jsonrpc-websocket 4.1.0 or newer, a pending request fails immediately when Kodi closes the websocket without a reply, instead of waiting for the timeout. Code that expects the timeout must handle the earlier failure. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `CannotConnectError`  

The message now comes unchanged from the jsonrpc-base error. Code that matches on the old message text must be updated. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `get_albums`  

get_albums now raises ValueError when album_id is given, and when more than one ID argument is given together with filter. Remove those arguments or use a single supported filter. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `get_songs`  

get_songs now raises ValueError when more than one ID argument is given together with filter. Use only one of the ID arguments or the filter. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `is_error_response`  

The method now returns True only for a JSON-RPC error object sent by Kodi. Code that relied on it returning True for other failures will see False. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `media_seek`  

With an active player, media_seek raises ValueError for negative, non-finite or too large positions and rounds the position to whole milliseconds. Validate positions before calling it. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `next_track`  

With no active player the command is not sent and the method returns False. Check the return value if code assumes the command always goes out. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `pause`  

With no active player the command is not sent and the method returns False. Check the return value if code assumes the command always goes out. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `play`  

With no active player the command is not sent and the method returns False. Check the return value if code assumes the command always goes out. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `play_pause`  

With no active player the command is not sent and the method returns False. Check the return value if code assumes the command always goes out. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `previous_track`  

With no active player the command is not sent and the method returns False. Check the return value if code assumes the command always goes out. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Behavior changed** `stop`  

With no active player the command is not sent and the method returns False. Check the return value if code assumes the command always goes out. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.6.0)
- **Signature changed** `pykodi.Kodi.clear_playlist`  

Was async def clear_playlist(self) -> None; now async def clear_playlist(self, playlist_id: int = 0) -> None. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.get_albums`  

Was async def get_albums(self, artist_id: Optional\[int\] = None, album_id: Optional\[int\] = None, properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_albums(self, artist_id: Optional\[int\] = None, album_id... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.get_artists`  

Was async def get_artists(self, properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_artists(self, properties: Optional\[List\[str\]\] = None, \*, filter: Optional\[Dict\[str, Any\]\] = None, limits: Optional\[Dict\[str, int\]\]... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.get_episodes`  

Was async def get_episodes(self, tv_show_id: Optional\[int\], season_id: Optional\[int\], properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_episodes(self, tv_show_id: Optional\[int\], season_id: Optional\[int\]... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.get_movies`  

Was async def get_movies(self, properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_movies(self, properties: Optional\[List\[str\]\] = None, \*, filter: Optional\[Dict\[str, Any\]\] = None, limits: Optional\[Dict\[str, int\]\] =... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.get_songs`  

Was async def get_songs(self, artist_id: Optional\[int\] = None, album_id: Optional\[int\] = None, properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_songs(self, artist_id: Optional\[int\] = None, album_id... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.get_tv_shows`  

Was async def get_tv_shows(self, properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_tv_shows(self, properties: Optional\[List\[str\]\] = None, \*, filter: Optional\[Dict\[str, Any\]\] = None, limits: Optional\[Dict\[str... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.clear_playlist`  

Was async def clear_playlist(self) -> None; now async def clear_playlist(self, playlist_id: int = 0) -> None. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.get_albums`  

Was async def get_albums(self, artist_id: Optional\[int\] = None, album_id: Optional\[int\] = None, properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_albums(self, artist_id: Optional\[int\] = None, album_id... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.get_artists`  

Was async def get_artists(self, properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_artists(self, properties: Optional\[List\[str\]\] = None, \*, filter: Optional\[Dict\[str, Any\]\] = None, limits: Optional\[Dict\[str, int\]\]... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.get_episodes`  

Was async def get_episodes(self, tv_show_id: Optional\[int\], season_id: Optional\[int\], properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_episodes(self, tv_show_id: Optional\[int\], season_id: Optional\[int\]... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.get_movies`  

Was async def get_movies(self, properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_movies(self, properties: Optional\[List\[str\]\] = None, \*, filter: Optional\[Dict\[str, Any\]\] = None, limits: Optional\[Dict\[str, int\]\] =... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.get_songs`  

Was async def get_songs(self, artist_id: Optional\[int\] = None, album_id: Optional\[int\] = None, properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_songs(self, artist_id: Optional\[int\] = None, album_id... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.get_tv_shows`  

Was async def get_tv_shows(self, properties: Optional\[List\[str\]\] = None) -> Dict\[str, Any\]; now async def get_tv_shows(self, properties: Optional\[List\[str\]\] = None, \*, filter: Optional\[Dict\[str, Any\]\] = None, limits: Optional\[Dict\[str... [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.media_seek`  

Was async def media_seek(self, position: float) -> None; now async def media_seek(self, position: float) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.next_track`  

Was async def next_track(self) -> None; now async def next_track(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.pause`  

Was async def pause(self) -> None; now async def pause(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.play`  

Was async def play(self) -> None; now async def play(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.play_pause`  

Was async def play_pause(self) -> None; now async def play_pause(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.previous_track`  

Was async def previous_track(self) -> None; now async def previous_track(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.kodi.Kodi.stop`  

Was async def stop(self) -> None; now async def stop(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.media_seek`  

Was async def media_seek(self, position: float) -> None; now async def media_seek(self, position: float) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.next_track`  

Was async def next_track(self) -> None; now async def next_track(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.pause`  

Was async def pause(self) -> None; now async def pause(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.play`  

Was async def play(self) -> None; now async def play(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.play_pause`  

Was async def play_pause(self) -> None; now async def play_pause(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.previous_track`  

Was async def previous_track(self) -> None; now async def previous_track(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)
- **Signature changed** `pykodi.Kodi.stop`  

Was async def stop(self) -> None; now async def stop(self) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.6.0/)

## pykodi 0.5.0 breaking changes

pykodi 0.5.0, released November 27, 2026: 7 breaking changes.

- **Behavior changed** `Kodi.set_shuffle`  

When no player is active, set_shuffle now returns False and sends nothing; it returns True once the request is sent. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.5.0)
- **Configuration changed**  

Installs must use jsonrpc-async 2.2.0 or newer; jsonrpc-base is now a direct dependency of PyKodi. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.5.0)
- **Signature changed** `Kodi.call_method`  

Code calling call_method(method=...) with the method name as a keyword must pass it positionally instead; a param named method now reaches Kodi. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.5.0)
- **Signature changed** `pykodi.Kodi.call_method`  

Was async def call_method(self, method: str, \*\*kwargs: Any) -> Any; now async def call_method(self, method: str, /, \*\*kwargs: Any) -> Any. [pypi.org](https://pypi.org/project/pykodi/0.5.0/)
- **Signature changed** `pykodi.kodi.Kodi.call_method`  

Was async def call_method(self, method: str, \*\*kwargs: Any) -> Any; now async def call_method(self, method: str, /, \*\*kwargs: Any) -> Any. [pypi.org](https://pypi.org/project/pykodi/0.5.0/)
- **Signature changed** `pykodi.kodi.Kodi.set_shuffle`  

Was async def set_shuffle(self, shuffle: Union\[bool, str\]) -> None; now async def set_shuffle(self, shuffle: Union\[bool, str\]) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.5.0/)
- **Signature changed** `pykodi.Kodi.set_shuffle`  

Was async def set_shuffle(self, shuffle: Union\[bool, str\]) -> None; now async def set_shuffle(self, shuffle: Union\[bool, str\]) -> bool. [pypi.org](https://pypi.org/project/pykodi/0.5.0/)

## pykodi 0.4.0 breaking changes

pykodi 0.4.0, released November 18, 2026: 5 breaking changes.

- **Removed**  

The release requires Python 3.11 or newer. Users on older Python versions must upgrade before installing this version. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.4.0)
- **Behavior changed** `close`  

A connect() still in the websocket handshake is stopped by close() and raises CannotConnectError. Code that expected the pending connect() to succeed must handle this error. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.4.0)
- **Behavior changed** `get_episodes`  

Passing 0 as the season now asks for season 0 only. Previously it returned episodes from every season, so callers relying on the old result must change. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.4.0)
- **Behavior changed** `Kodi.ping`  

Unreachable or failing replies now raise CannotConnectError instead of InvalidAuthError. Code that catches InvalidAuthError from ping() must also handle CannotConnectError. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.4.0)
- **Configuration changed**  

The release raises the minimum aiohttp version to 3.10.8. Projects pinned to an older aiohttp must upgrade it. [github.com](https://github.com/xbmc/PyKodi/releases/tag/v0.4.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
