---
url: https://docs.moqtail.dev/ts/api/player/interfaces/CatalogReader.md
---
# Interface: CatalogReader

What the catalog element offers the elements it loads. Updates arrive with the player's `catalog` event.

## Properties

### isComplete

> `readonly` **isComplete**: `boolean`

***

### namespace

> `readonly` **namespace**: [`Tuple`](../../model/classes/Tuple.md)

The catalog track's namespace.

***

### tracks

> `readonly` **tracks**: readonly (`object` & `object` & `object`)\[]

The last good catalog.

***

### url

> `readonly` **url**: `string`

The catalog's session URL, `moqt://authority/path[?query]` without a fragment.

## Methods

### timeline()

> **timeline**(`track`): `Promise`<[`TimelineReader`](TimelineReader.md) | `undefined`>

Loads (shared) the media timeline element for the track, or wraps its template. Undefined if neither exists.

#### Parameters

##### track

`object` & `object` & `object`

#### Returns

`Promise`<[`TimelineReader`](TimelineReader.md) | `undefined`>
