User Tools

Site Tools


This is an old revision of the document!


The GetMediaList function returns a list of media items for the given camera. If forceReload is true then the media list is loaded from the camera, else a possible locally cached media list is returned. If no local cached media list is available then the list is loaded from the camera.

Media list item

A media list item has the following fields:

  • mediakey: A unique key identifying the media item. This key must be used for all media related operations.
  • filename: The filename of the media item.
  • filesize: The file size of the media item in bytes.
  • datecreated: The creation date of the media item with the format “yyyy-MM-dd hh:mm:ss”.


array: GetMediaList(string cameraName[, bool forceReload=true])


var result = GetMediaList("GoPro Hero 4");
// returns a list with all media items.
// False is returned if the given camera is not connected
// or if loading of the media list fails.
getmedialist.1473142565.txt.gz · Last modified: 2016/09/06 08:16 by act