perform one more check on song formats

it detects something like this: %. (where . doesn't stand for a valid tag type).
This commit is contained in:
Andrzej Rybczak
2010-08-23 10:51:26 +02:00
parent 523164dd74
commit 638fab8535
4 changed files with 35 additions and 24 deletions

View File

@@ -103,7 +103,7 @@ namespace MPD
Song &operator=(const Song &);
static std::string ShowTime(int);
static void ValidateFormat(const std::string &type, const std::string &format);
static bool isFormatOk(const std::string &type, const std::string &format);
private:
void SetHashAndSlash();