system/ytparser.cpp: try to fix category, if more than one present

Origin commit data
------------------
Commit: f4a07e730e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-05-30 (Thu, 30 May 2013)
This commit is contained in:
[CST] Focus
2013-05-30 09:57:13 +04:00
parent ab0c4b8879
commit f6c5ee5524

View File

@@ -305,6 +305,7 @@ bool cYTFeedParser::parseFeedXml(std::string &answer)
vinfo.description = getXmlData(media).c_str();
}
else if (name == "media:category") {
if (vinfo.category.size() < 3)
vinfo.category = getXmlData(media).c_str();
}
else if (name == "yt:videoid") {