Closed maxileith closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
8d883fb
) 88.90% compared to head (1e2dcd6
) 88.91%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I have just rebased the branch ✔️
Okay, I will update the PR.
I believe we should do this here:
if not self.atv.features.in_state(FeatureName.App, FeatureState.Unavailable
should be if not self.atv.features.in_state(FeatureState.Unavailable, FeatureName.App)
Great! 👍
Is there anything left to do in order to get this merged and released? :)
I am willing to help where I can.
Hi,
I have noticed a bug which causes the
atvscript push_updates
command to never report the App that is currently playing. I believe this bug was caused in https://github.com/postlund/pyatv/pull/1962 which solves https://github.com/postlund/pyatv/issues/1930.The solution in https://github.com/postlund/pyatv/pull/1962 is supposed to be checking wether or not the
App
feature is available and only then return it. https://github.com/postlund/pyatv/blob/b35b7ba9bcc93c11754c61ebd99f0cb88d0ce3f2/pyatv/scripts/atvscript.py#L48 However, I think that this is supposed to look like one if these two options:The output of
atvscript -s xxx.xxx.xxx.xxx push_updates
before ...... and after (see attributes
app
andapp_id
) ...