add crop function (removes all song from playlist except the playing one) + some fixes

This commit is contained in:
unknown
2008-08-11 01:46:53 +02:00
parent 868cefc013
commit 4c7331999a
2 changed files with 36 additions and 13 deletions

View File

@@ -68,8 +68,8 @@ class Song
void SetArtist(string str) { itsArtist = str; }
void SetTitle(string str) { itsTitle = str; }
void SetAlbum(string str) { itsAlbum = str; }
void SetTrack(string str) { itsTrack = str; }
void SetDate(string str) { itsYear = str; }
void SetTrack(string str) { itsTrack = IntoStr(StrToInt(str)); }
void SetYear(string str) { itsYear = IntoStr(StrToInt(str)); }
void SetGenre(string str) { itsGenre = str; }
void SetComment(string str) { itsComment = str; }
void SetPosition(int pos) { itsPosition = pos; }