Skip to content

PyKodi 0.5.0

Choose a tag to compare

@olympia olympia released this 27 Nov 19:38
· 24 commits to master since this release
506e748

Changes in behaviour:

  • jsonrpc-async 2.2.0 or newer is required, and jsonrpc-base is now listed as a direct requirement (#44, #52).
  • Kodi.call_method() takes the method name only by position. A call written as call_method(method="...") does not work anymore, and in exchange a param with the name method now reaches Kodi (#46).
  • Kodi.set_shuffle() returns False without sending anything when no player is active, and True once the request went out (#47).
  • CannotConnectError carries a message: the timeout of connect(), or the text of the transport error together with the error it wraps, never the login (#48).

New: get_stream_info() looks for the HDR tags in the name of the folder of the playing file too, and gives Player.Folderpath back under infolabels (#45). is_error_response() and is_unauthorized() tell what a ProtocolError or a TransportError means (#50). CI also runs the tests with the lowest allowed versions of the dependencies (#51).

What's Changed

  • Require jsonrpc-async 2.2.0 by @olympia in #44
  • Look for HDR hints in the folder name too by @olympia in #45
  • Let call_method pass a param named method by @olympia in #46
  • Tell from set_shuffle whether the request was sent by @olympia in #47
  • Give CannotConnectError a message by @olympia in #48
  • Let the set_shuffle test pass with jsonrpc-base 2.1.0 by @olympia in #49
  • Add helpers that classify ProtocolError and TransportError by @olympia in #50
  • Run the tests with the lowest allowed dependencies by @olympia in #51
  • Require jsonrpc-base directly by @olympia in #52
  • Prepare the PyKodi 0.5.0 release by @olympia in #53

Full Changelog: v0.4.0...v0.5.0