> For the complete documentation index, see [llms.txt](https://canardoux.gitbook.io/tau/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://canardoux.gitbook.io/tau/doc/pages/tau-api/player/now_playing.md).

# The τ Player API

nowPlaying()

## `nowPlaying()`

* Dart API: [nowPlaying()](https://github.com/Canardoux/tau/tree/6bd245d293bcf9a123677735835549585d32b2ee/doc/pages/tau-api/player/pages/flutter-sound/api/player/FlutterSoundPlayer/nowPlaying.html).

This verb is used to set the Lock screen fields without starting a new playback. The fields 'dataBuffer' and 'trackPath' of the Track parameter are not used. Please refer to 'startPlayerFromTrack' for the meaning of the others parameters. Remark `setUIProgressBar()` is implemented only on iOS.

*Example:*

[Dart](/tau/doc/pages/tau-api/player/now_playing.md#dart)

[Javascript](/tau/doc/pages/tau-api/player/now_playing.md#javascript)

```

    Track track = Track( codec: Codec.opusOGG, trackPath: fileUri, trackAuthor: '3 Inches of Blood', trackTitle: 'Axes of Evil', albumArtAsset: albumArt );
    await nowPlaying(Track);
```

```

        Lorem ipsum ...
```

\</div>
