The Now Playing service publishes information about media players to this object
Attribute | Data type | Description |
---|---|---|
active_name | String | Registered name of the active player (none if there's no registered name or player). |
active_pid | Number | Process ID of the active player (0 if there's no active player). |
active_prio | String | Registered priority of the active player (none if there's no registered priority or player). Values are low or high for media players, but always phone if the phone app is active. |
background_player_name | Number (for number of names); string (for names) |
Provides the registered names of the backgrounded (previously active) players. The format of this message is as follows: background_player_name:number_of_names:name1,name2,... The value for number_of_names is 0 if there are no backgrounded players. |
background_player_pid | Number (for number of PIDs); number (for PID) |
Provides the PIDs of the backgrounded (previously active) players. The format of this message is as follows: background_player_pid:number_of_pids:pid1,pid2,... The value for number_of_pids is 0 if there are no backgrounded players. |
background_player_prio | Number (for number of players); string (for priority) |
Provides the registered priorities of the backgrounded (previously active) players. The format of this message is as follows: background_player_prio:number_of_players:prio1,prio2,... The value for number_of_players is 0 if there are no backgrounded players. |
bg_name (Deprecated—use background_player_name instead.) | String | Registered name of the previously active (backgrounded) player (none if there's no registered name or backgrounded player). |
bg_pid | Number | Process ID of the previously active (backgrounded) player (0 if there's no backgrounded player). |
bg_prio (Deprecated—use background_player_prio instead.) | String | Registered priority of the previously active (backgrounded) player (none if there's no registered priority or backgrounded player). |
preactive__name | String | Registered name of the preactive player (none if there's no preactive player). |
preactive__pid | Number | Process ID of the preactive player (0 if there's no preactive player). |
preactive__prio | String | Registered priority of the preactive player (none if there's no registered priority or player). |
@status active_name::none active_pid:n:0 active_prio::none background_player_name:0: background_player_pid:0: background_player_prio:0: bg_name::none bg_pid:n:0 bg_prio::none preactive__name::none preactive__pid:n:0 preactive__prio::none
@status active_name::NPC:lnu4ank1hq8 active_pid:n:18440228 active_prio::low background_player_name:0: background_player_pid:0: background_player_prio:0: bg_name::none bg_pid:n:0 bg_prio::none preactive__name::none preactive__pid:n:0 preactive__prio::none
@status active_name::phone active_pid:n:6267049 active_prio::phone background_player_name:1:NPC:lnu4ank1hq8 background_player_pid:1:18440228 background_player_prio:1:low bg_name::NPC:lnu4ank1hq8 bg_pid:n:18440228 bg_prio::low preactive__name::none preactive__pid:n:0 preactive__prio::none
@status active_name::camera active_pid:n:18624535 active_prio::low background_player_name:0: background_player_pid:0: background_player_prio:0: bg_name::none bg_pid:n:0 bg_prio::none preactive__name::phone preactive__pid:n:6267049 preactive__prio::phone
@status active_name::plr04 active_pid:n:18710747 active_prio::high background_player_name:4:plr03,plr02,plr01,hiprioplayer background_player_pid:4:18710732,18710728,18710564,18706455 background_player_prio:4:high,high,high,high bg_name::plr03 bg_pid:n:18710732 bg_prio::high preactive__name::none preactive__pid:n:0 preactive__prio::none