A possible solution to simplify handle_query_volume
get current volume from mixer
convert to Mycroft level
This resolves the issues I was seeing where levels 6-11 would be reported back as one level lower. Level 1 would report back as 8. However I don't really understand why the existing line was __get_volume_level and passing in the message so I may not be catching all cases.
A possible solution to simplify handle_query_volume
This resolves the issues I was seeing where levels 6-11 would be reported back as one level lower. Level 1 would report back as 8. However I don't really understand why the existing line was __get_volume_level and passing in the message so I may not be catching all cases.