Returned media information

The ReturnValue property returned by callback is an iterator containing the requested media information. Each item (object) in the iterator corresponds to one media file, that is, each item contains the information for a specific file. The exact set of object properties depends on the media file type defined for filtering in the GetList call.

The following table lists the object properties returned for different media types. Media files do not always have all the property values defined. In that case, the properties are optional. Only properties that contain a value are returned. For example, if a music file does not contain artist information, the Artist property is not returned as part of the result object for that file.

Table: ReturnValue properties according to media type

Property

Value

Image

Sound

Video

Music

Streaming URL

<item>.Type

string

X

X

X

X

X

<item>.FileName

string

X

X

X

X

X

<item>.FileExtension

string

X

X

X

X

X

<item>.Drive

string

X

X

X

X

X

<item>.FileSize

number

X

X

X

X

X

<item>.FileDate

time

X

X

X

X

X

<item>.FileNameAndPath

string

X

X

X

X

X

<item>.SongName

string

     

X

 

<item>.Artist

string

     

X

 

<item>.Album

string

     

X

 

<item>.TrackNumber

string

     

X

 

<item>.Genre

string

     

X

 

<item>.Composer

string

     

X

 

<item>.LinkFirstURL

string

       

X

<item>.MimeType

string

X

X

X

X

X