0.8.0 #51
crowbarz
announced in
Announcements
0.8.0
#51
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TL;DR
Access to params and properties have changed in this release due to the main class being split up. All AVR updates are now scheduled via the command queue. The order of queries sent during AVR zone refresh have changed order. Some unused methods have been removed. The
Zones
enum and theparam
module have been renamed toZone
andparams
respectively.Breaking Changes
PioneerAVR
class has been split out to the classes listed below. References to parameter and properties methods and attributes will need to be updated to be accessed via theparams
andproperties
attributes of thePioneerAVR
object. All other public attributes have moved to the new classes.PioneerAVRParams
contains the user and run-time parameter get/set methods. Some method names have changed, please consult the updated documentation for detailsPioneerAVRProperties
contains the cache of AVR properties collected from its responsesPioneerAVRConnection
contains the connection related methods, althoughPioneerAVR
inherits from the new class so the connection methods are still accessible via thePioneerAVR
classZones
enum has been renamedZone
for improved consistencyparam
module has been renamedparams
for improved consistencysource
AVR zone property has been renamedsource_id
, and an additionalsource_name
property has been introduced that contains the mapped name for the source for each zonequery_device_model
method has been introduced to query the device model and set default model parameters. Previously, thequery_device_info
queried all device information including the device model regardless of whether the AVR main zone was powered on. Clients that previously calledquery_device_info
at module startup should now callquery_device_model
.query_device_info
will be automatically called when the main zone is powered on for the first time after connecting, and no longer needs to be called by the clientquery_audio_information
andquery_video_information
commands have been renamedquery_basic_audio_information
andquery_basic_video_information
. These basic query commands, in addition toquery_listening_mode
, are executed with a delay after all zone power and source operations whenever any zone is powered onsystem_query_source_name
has been renamed toquery_source_name
to avoid being sent during AVR device info queriesquery_sources
method has been removed.PioneerAVRParams.get_runtime_param(PARAM_QUERY_SOURCES)
should be used insteadupdate_zones
method has been removed. Change the AVR zones by recreating thePioneerAVR
object with the new zonesPioneerAVR.initial_update
property has moved to run-time paramPARAM_ZONES_INITIAL_REFRESH
and is now a set ofZone
. ThePioneerAVRParams.zones_initial_refresh
property is provided as a convenience to access this run-time parameterPioneerAVRProperties.zones
property now has typingset[Zone]
Major Changes
All Changes
basic
(audio
is now empty)tuner
,system
anddisplay
to endFull Changelog: 0.7.1...0.8.0
This discussion was created from the release 0.8.0.
Beta Was this translation helpful? Give feedback.
All reactions