Sha256: 6b0bd38e151b26213ab73e326940bc25461aad482918bc1f6186e9f35f493f90

Contents?: true

Size: 1.36 KB

Versions: 13

Compression:

Stored size: 1.36 KB

Contents

# Media

Controls the currently playing media in the car. For these commands to work, the car must be on.

## POST `/api/1/vehicles/{id}/command/media_toggle_playback`

Toggles the media between playing and paused. For the radio, this mutes or unmutes the audio.

### Response

```json
{
  "reason": "",
  "result": true
}
```

## POST `/api/1/vehicles/{id}/command/media_next_track`

Skips to the next track in the current playlist.

### Response

```json
{
  "reason": "",
  "result": true
}
```

## POST `/api/1/vehicles/{id}/command/media_prev_track`

Skips to the previous track in the current playlist. Does nothing for streaming from Stitcher.

### Response

```json
{
  "reason": "",
  "result": true
}
```

## POST `/api/1/vehicles/{id}/command/media_next_fav`

Skips to the next saved favorite in the media system.

### Response

```json
{
  "reason": "",
  "result": true
}
```

## POST `/api/1/vehicles/{id}/command/media_prev_fav`

Skips to the previous saved favorite in the media system.

### Response

```json
{
  "reason": "",
  "result": true
}
```

## POST `/api/1/vehicles/{id}/command/media_volume_up`

Turns up the volume of the media system.

### Response

```json
{
  "reason": "",
  "result": true
}
```

## POST `/api/1/vehicles/{id}/command/media_volume_down`

Turns down the volume of the media system.

### Response

```json
{
  "reason": "",
  "result": true
}
```

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tesla_api-3.1.0 docs/vehicle/commands/media.md
tesla_api-3.0.7 docs/vehicle/commands/media.md
tesla_api-3.0.6 docs/vehicle/commands/media.md
tesla_api-3.0.5 docs/vehicle/commands/media.md
tesla_api-3.0.4 docs/vehicle/commands/media.md
tesla_api-3.0.3 docs/vehicle/commands/media.md
tesla_api-3.0.2 docs/vehicle/commands/media.md
tesla_api-3.0.1 docs/vehicle/commands/media.md
tesla_api-3.0.0 docs/vehicle/commands/media.md
tesla_api-2.0.0 docs/vehicle/commands/media.md
tesla_api-1.5.0 docs/vehicle/commands/media.md
tesla_api-1.4.1 docs/vehicle/commands/media.md
tesla_api-1.4.0 docs/vehicle/commands/media.md