Skip to content

Commit

Permalink
Fix a bug that causes atvscript push_updates to never report the app
Browse files Browse the repository at this point in the history
  • Loading branch information
maxileith authored and postlund committed Dec 24, 2023
1 parent 8d883fb commit 454afc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyatv/scripts/atvscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def playstatus_update(self, updater, playstatus: Playing) -> None:
"""Inform about changes to what is currently playing."""
app = (
self.atv.metadata.app
if not self.atv.features.in_state(FeatureState.Unavailable)
if not self.atv.features.in_state(FeatureState.Unavailable, FeatureName.App)
else None
)
print(
Expand Down

0 comments on commit 454afc0

Please sign in to comment.