# playlist module

Playlist module.

Contains all functions and classes related to the playlists.

mrv2.playlist.addClip(clip: mrv2.FileMedia) → None

  Add a clip to currently selected Playlist EDL.

mrv2.playlist.list() → list[mrv2.FileMedia]

  List playlist items.

mrv2.playlist.save(fileName: str) → None

  Save current .otio file with relative paths.

mrv2.playlist.select(*args, **kwargs)

  Overloaded function.

  1. select(fileItem: mrv2.FileMedia) -> None

  Select a playlist by FileModelItem.

  2. select(fileName: str) -> None

  Select a playlist by fileName.

  3. select(playlistIndex: int) -> None

  Select a playlist by index.