write ID3v2 frames to mp3 files / do not limit track and date fields

This commit is contained in:
Andrzej Rybczak
2009-08-26 01:16:04 +02:00
parent 8787c19666
commit e89d2492bf
2 changed files with 45 additions and 36 deletions

View File

@@ -226,7 +226,7 @@ void MPD::Song::SetTrack(const std::string &str)
{
if (itsSong->track)
str_pool_put(itsSong->track);
itsSong->track = str.empty() ? 0 : str_pool_get(IntoStr(StrToInt(str)).c_str());
itsSong->track = str.empty() ? 0 : str_pool_get(str.c_str());
}
void MPD::Song::SetTrack(int track)