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
On this page
Latest version 0.6.0, released December 4, 2026. Source repository
Its 0.4.0 release requires Python 3.11 or later. Python end of life dates.
pykodi 0.6.0 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - Signature changed
pykodi.kodi.Kodi.next_track
Was async def next_track(self) -> None; now async def next_track(self) -> bool. pypi.org - Signature changed
pykodi.kodi.Kodi.pause
Was async def pause(self) -> None; now async def pause(self) -> bool. pypi.org - Signature changed
pykodi.kodi.Kodi.play
Was async def play(self) -> None; now async def play(self) -> bool. pypi.org - Signature changed
pykodi.kodi.Kodi.play_pause
Was async def play_pause(self) -> None; now async def play_pause(self) -> bool. pypi.org - Signature changed
pykodi.kodi.Kodi.previous_track
Was async def previous_track(self) -> None; now async def previous_track(self) -> bool. pypi.org - Signature changed
pykodi.kodi.Kodi.stop
Was async def stop(self) -> None; now async def stop(self) -> bool. pypi.org - 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 - Signature changed
pykodi.Kodi.next_track
Was async def next_track(self) -> None; now async def next_track(self) -> bool. pypi.org - Signature changed
pykodi.Kodi.pause
Was async def pause(self) -> None; now async def pause(self) -> bool. pypi.org - Signature changed
pykodi.Kodi.play
Was async def play(self) -> None; now async def play(self) -> bool. pypi.org - Signature changed
pykodi.Kodi.play_pause
Was async def play_pause(self) -> None; now async def play_pause(self) -> bool. pypi.org - Signature changed
pykodi.Kodi.previous_track
Was async def previous_track(self) -> None; now async def previous_track(self) -> bool. pypi.org - Signature changed
pykodi.Kodi.stop
Was async def stop(self) -> None; now async def stop(self) -> bool. pypi.org
pykodi 0.5.0 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 - Configuration changed
Installs must use jsonrpc-async 2.2.0 or newer; jsonrpc-base is now a direct dependency of PyKodi. github.com - 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 - 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 - 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 - 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 - 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
pykodi 0.4.0 breaking changes
- Removed
The release requires Python 3.11 or newer. Users on older Python versions must upgrade before installing this version. github.com - 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 - 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 - 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 - Configuration changed
The release raises the minimum aiohttp version to 3.10.8. Projects pinned to an older aiohttp must upgrade it. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.