Repository navigation
PyKodi 0.5.0
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 ascall_method(method="...")does not work anymore, and in exchange a param with the namemethodnow reaches Kodi (#46).Kodi.set_shuffle()returnsFalsewithout sending anything when no player is active, andTrueonce the request went out (#47).CannotConnectErrorcarries a message: the timeout ofconnect(), 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