Client-side Module Bookmark

Function Summary

CopyToPanel()
Copies the bookmark's values to the playx_* convars.
Delete()
Delete the bookmark.
Play()
Play the bookmark.
Update(title, provider, uri, keyword, startAt, lowFramerate)
Update a bookmark with new values.

Functions

CopyToPanel

Bookmark:CopyToPanel()

Copies the bookmark's values to the playx_* convars. The panel uses these convars in the fields, so this function effectively copies the values to the panel.


Delete

Bookmark:Delete()

Delete the bookmark.

Return value:

  • Success (true/false)

Play

Bookmark:Play()

Play the bookmark.


Update

Bookmark:Update(title, provider, uri, keyword, startAt, lowFramerate)

Update a bookmark with new values.

Parameters:

  • title
  • provider
  • uri
  • keyword
  • startAt
  • lowFramerate

Return values:

  1. Success (true/false)
  2. Error message if error