MediaPlayerInterfaceNowPlayingAttribute
HTTP API schema
Media identity observed on this route. Active false means the provider session is on another target; it does not prove the speaker is silent through other providers.
MediaPlayerInterfaceNowPlayingAttribute fields
- active
booleanRequired - mediaIdMediaId
- contextMediaIdMediaId
- name
string - providerstring
Media service that holds the active session, when the route can name it (a TV reports the app that owns its media session, for example YouTube or Spotify). Omitted when the app is not a known service; use appId then.
Allowed values
SPOTIFYAMAZON_MUSICAPPLE_MUSICAUDIBLETUNE_INPANDORAIHEART_RADIOSIRIUSXMDEEZERTIDALYOUTUBENETFLIXPRIME_VIDEODAILYMOTION
- appId
string Device-native identifier of the app that holds the session, such as an Android package name (com.google.android.youtube.tv). Opaque; compare for equality only.
minLength: 1
- positionMs
integer Provider-observed position within the current media item in milliseconds. Omitted when unknown. Compare fresh observations with media identity and playback state; a track transition does not prove continuity.
minimum: 0
- queuePosition
integer 1-based position of the current item in the session's queue, such as the image a show-images slideshow shows. Omitted when the session has no queue the route can read.
minimum: 1
- queueLength
integer Number of items in the session's queue, such as the images of a show-images slideshow. Omitted when the session has no queue the route can read.
minimum: 1