Interface PlaylistItem

Represents a playlist item.

Hierarchy

  • PlaylistItem

Properties

filename: string

The full path or URL of the file.

title: string

If the item has a title (e.g the playlist is loaded from a M3U file), this property contains the title. For normal local files, this property is always null. Developers should obtain the title from the file path or URL instead.

Remarks

The title of the current playing item can be obtained from core.status.title.

isPlaying: boolean

Whether the item is currently playing.

isCurrent: boolean

Use isPlaying instead. See mpv's playlist-current-pos property for more information.

Generated using TypeDoc