User Tools

Site Tools


getmedialist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
getmedialist [2016/09/06 08:16]
act [Examples]
getmedialist [2016/09/06 08:17] (current)
act [Examples]
Line 25: Line 25:
 <​code>​ <​code>​
 var result = GetMediaList("​GoPro Hero 4"); var result = GetMediaList("​GoPro Hero 4");
-LogText("​Media item size: " + result.filesize);​+if (result.length > 0) 
 +
 +  ​LogText("​Media item size: " + result[0].filesize); 
 +}
 </​code>​ </​code>​
getmedialist.txt · Last modified: 2016/09/06 08:17 by act