# app.rocksky.player.getCurrentlyPlaying

> Published by [rocksky.app](https://lexicon.garden/identity/did:plc:vegqomyce4ssoqs7zwqvgqty)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.player.getCurrentlyPlaying)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.player.getCurrentlyPlaying/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vegqomyce4ssoqs7zwqvgqty/app.rocksky.player.getCurrentlyPlaying/examples)

## Definitions

### `app.rocksky.player.getCurrentlyPlaying`

**Type**: `query`

Get the currently playing track

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` (at-identifier) | No | Handle or DID of the actor to retrieve the currently playing track for. If not provided, defaults to the current user. |
| `playerId` | `string` | No |  |

#### Output

**Encoding**: `application/json`

## Raw Schema

```json
{
  "id": "app.rocksky.player.getCurrentlyPlaying",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "ref": "app.rocksky.player.defs#currentlyPlayingViewDetailed",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "actor": {
            "type": "string",
            "format": "at-identifier",
            "description": "Handle or DID of the actor to retrieve the currently playing track for. If not provided, defaults to the current user."
          },
          "playerId": {
            "type": "string"
          }
        }
      },
      "description": "Get the currently playing track"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
