2016-06-16, 01:15
I am testing EPG.Ninja's guide data against VBox PVR Client.
The XML File has;
When viewed in PVR IPTV Simple Client, it shows correctly. But in the VBox PVR Client, it shows as Other/Unknown
I looked at the code, and whilst I am no programmer.... it looks like it picks up categories?
What is going wrong?
The XML File has;
Code:
<date>20131011</date>
<category lang="en">Reality</category>
</programme>
When viewed in PVR IPTV Simple Client, it shows correctly. But in the VBox PVR Client, it shows as Other/Unknown
I looked at the code, and whilst I am no programmer.... it looks like it picks up categories?
Code:
// Categories. Skip "movie" and "series" since most people treat categories
// as genres
for (element = xml->FirstChildElement("category");
element != NULL; element = element->NextSiblingElement("category"))
{
auto *category = element->GetText();
if (!category)
continue;
std::string genre(category);
if (genre == "movie" || genre == "series")
continue;
m_categories.push_back(genre);
}
What is going wrong?