Track objects
| Return type: | integer |
|---|---|
| Returns: | The availability status of this track. |
| Return type: | int |
|---|---|
| Returns: | The disc number of this track. |
Note
This function returns valid data only for tracks appearing in a browse artist or browse album result (otherwise returns 0).
| Return type: | int |
|---|---|
| Returns: | The duration of this track, in milliseconds. |
| Return type: | int |
|---|---|
| Returns: | An error code associated with this track. For example if it could not load. |
| Return type: | int |
|---|---|
| Returns: | The position of this track on its disc. |
Note
This function returns valid data only for tracks appearing in a browse artist or browse album result (otherwise returns 0).
| Return type: | int |
|---|---|
| Returns: | Load status for this track. |
Note
If the track is not loaded yet, all other functions operating on the track return default values.
| Return type: | bool |
|---|---|
| Returns: | True if track is a local file. |
Note
The track must be loaded or this function will always return False.
| Return type: | String |
|---|---|
| Returns: | The name of this track. |
| Return type: | int |
|---|---|
| Returns: | The popularity of this track. |