Method | Description | |
---|---|---|
MpdFile ( string file, int time, string album, string artist, string title, string track, string name, string genre, string date, string composer, string performer, string comment, int disc, int pos, int id ) : System |
Creates a new MpdFile.
|
|
ToString ( ) : string |
A string containing all the properties of the file.
|
|
build ( MpdResponse response ) : MpdFile |
Returns a MpdFile object from a MpdResponse object.
|
|
buildList ( MpdResponse response ) : List |
Builds a list of MpdFile objects from a MpdResponse object.
|
Method | Description | |
---|---|---|
appendInt ( StringBuilder builder, string name, int value ) : void | ||
appendString ( StringBuilder builder, string name, string value ) : void |
public MpdFile ( string file, int time, string album, string artist, string title, string track, string name, string genre, string date, string composer, string performer, string comment, int disc, int pos, int id ) : System | ||
file | string | The name and path of the file. |
time | int | The length of the file in seconds. |
album | string | The album of the file. |
artist | string | The artist of the file. |
title | string | The title of the file. |
track | string | The value of the track property of the file. |
name | string | The name of the song. |
genre | string | The genre of the song. |
date | string | The date the song was released. |
composer | string | The composer of the song. |
performer | string | The performer of the song. |
comment | string | A comment to the file. |
disc | int | The number of the disc on a multidisc album. |
pos | int | The index of the file in a playlist. |
id | int | The id of the file in a playlist. |
return | System |
public static build ( MpdResponse response ) : MpdFile | ||
response | MpdResponse | The response of the MPD server. |
return | MpdFile |
public static buildList ( MpdResponse response ) : List |
||
response | MpdResponse | The MpdResponse object to build the list of MpdFiles from. |
return | List |