Skip to content

[Bug]: Wrong app state reported to Android, causing problems with automations #1648

@MikeVRT

Description

@MikeVRT

Problem description

The Nova Video Player reports illogical states to Android:

  • "playing" state after launch and in all menus, and continues reporting this state during playback
  • "idle" state when a video is paused
    As a result, it’s difficult to use reliable automations based on the app state.

Steps to reproduce the issue

Run Nova Media Player. At least check the states in the menu, during playback, and when paused.
In Home Assistant, for example, the player state comes from the Android Debug Bridge integration.
It can also be checked directly via Android’s MediaSession API through a MediaSession (media_session_state, wake_lock_size).

Expected behavior

  • After app launch and in menus: idle
  • Playing a video: playing
  • Paused: paused

Your phone/tablet/androidTV model

X96 Max, Mi Stick 4K, etc.

Operating system version

ATV based on Android 9, Android 11 and any version, I guess

Application version and app store

armeabi-v7a-release 2642732-6.4.19 from GitHub

Additional system information

No response

Debug logs

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions