Skip to content

Android Auto: When playing a stream the time does not increment

Description

During stream playback the time does not increment and is frozen at zero on the Android Auto head-unit. This issue is only apparent if you either use a physical head-unit, or the desktop-head-unit emulator. Android Auto for Phone does not show the time in clock format on screen, so this issue is not apparent.

Android API documentation requires a negative value for infinite / unknown duration media.

Refer to: MediaMetadata.METADATA_KEY_DURATION API Doc

Expected behavior

Time should count up from zero for the duration of stream playback.

Actual behavior

Time is shown as 00:00 during stream playback.

Steps to reproduce

  1. Add a stream to VLC
  2. Add the stream to a playlist
  3. Launch Android Auto
  4. Load the playlist and start streaming
  5. Observe the progress on screen is frozen at zero.

Context

App version

3.3.1

App Mode

Auto