58 |
!(c == '*') && !(c == '+') && !(c == ',') && !(c == '-') && |
!(c == '*') && !(c == '+') && !(c == ',') && !(c == '-') && |
59 |
!(c == '.') && !(c == '/') && !(c == ':') && !(c == ';') && |
!(c == '.') && !(c == '/') && !(c == ':') && !(c == ';') && |
60 |
!(c == '<') && !(c == '=') && !(c == '>') && !(c == '?') && |
!(c == '<') && !(c == '=') && !(c == '>') && !(c == '?') && |
61 |
!(c == '@') && !(c == '[') && !(c == '\\') && !(c == ']') && |
!(c == '@') && !(c == '[') && !(c == ']') && |
62 |
!(c == '^') && !(c == '_') && !(c == '`') && !(c == '{') && |
!(c == '^') && !(c == '_') && !(c == '`') && !(c == '{') && |
63 |
!(c == '|') && !(c == '}') && !(c == '~') |
!(c == '|') && !(c == '}') && !(c == '~') |
64 |
) { |
) { |
2416 |
try { |
try { |
2417 |
DbDirectory info = InstrumentsDb::GetInstrumentsDb()->GetDirectoryInfo(Dir); |
DbDirectory info = InstrumentsDb::GetInstrumentsDb()->GetDirectoryInfo(Dir); |
2418 |
|
|
2419 |
result.Add("DESCRIPTION", InstrumentsDb::toEscapedText(info.Description)); |
result.Add("DESCRIPTION", _escapeLscpResponse(info.Description)); |
2420 |
result.Add("CREATED", info.Created); |
result.Add("CREATED", info.Created); |
2421 |
result.Add("MODIFIED", info.Modified); |
result.Add("MODIFIED", info.Modified); |
2422 |
} catch (Exception e) { |
} catch (Exception e) { |
2600 |
result.Add("SIZE", (int)info.Size); |
result.Add("SIZE", (int)info.Size); |
2601 |
result.Add("CREATED", info.Created); |
result.Add("CREATED", info.Created); |
2602 |
result.Add("MODIFIED", info.Modified); |
result.Add("MODIFIED", info.Modified); |
2603 |
result.Add("DESCRIPTION", InstrumentsDb::toEscapedText(info.Description)); |
result.Add("DESCRIPTION", _escapeLscpResponse(info.Description)); |
2604 |
result.Add("IS_DRUM", info.IsDrum); |
result.Add("IS_DRUM", info.IsDrum); |
2605 |
result.Add("PRODUCT", InstrumentsDb::toEscapedText(info.Product)); |
result.Add("PRODUCT", _escapeLscpResponse(info.Product)); |
2606 |
result.Add("ARTISTS", InstrumentsDb::toEscapedText(info.Artists)); |
result.Add("ARTISTS", _escapeLscpResponse(info.Artists)); |
2607 |
result.Add("KEYWORDS", InstrumentsDb::toEscapedText(info.Keywords)); |
result.Add("KEYWORDS", _escapeLscpResponse(info.Keywords)); |
2608 |
} catch (Exception e) { |
} catch (Exception e) { |
2609 |
result.Error(e); |
result.Error(e); |
2610 |
} |
} |