Skip to content

Commit

Permalink
Merge branch 'Leia' into Matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuehlma committed Apr 15, 2020
2 parents 167bab2 + b81a303 commit 26b9d6f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion pvr.zattoo/addon.xml.in
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="pvr.zattoo"
version="19.2.16"
version="19.2.17"
name="Zattoo PVR Client"
provider-name="trummerjo,rbuehlma">
<requires>
Expand Down Expand Up @@ -32,6 +32,8 @@
<fanart>fanart.jpg</fanart>
</assets>
<news>
v19.2.17
- Warn missing categories only once
v19.2.16
- Fix Zattoo login
v19.2.15
Expand Down Expand Up @@ -86,6 +88,8 @@ v19.0.1
- Load description from xmltv file
v19.0.0
- Update to PVR addon API v6.0.0
v18.1.16
- Warn missing categories only once
v18.1.15
- Fix Zattoo login
v18.1.14
Expand Down
3 changes: 2 additions & 1 deletion src/categories.cpp
Expand Up @@ -67,7 +67,7 @@ std::string Categories::Category(int category) const
return "";
}

int Categories::Category(const std::string& category) const
int Categories::Category(const std::string& category)
{
if (category.empty()) {
return 0;
Expand All @@ -76,6 +76,7 @@ int Categories::Category(const std::string& category) const
if (it != m_categoriesByName.end())
return it->second;
XBMC->Log(LOG_NOTICE, "Missing category: %s", category.c_str());
m_categoriesByName[category]=0;
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion src/categories.h
Expand Up @@ -33,7 +33,7 @@ class Categories
Categories();

std::string Category(int category) const;
int Category(const std::string& category) const;
int Category(const std::string& category);

private:
void LoadEITCategories();
Expand Down

0 comments on commit 26b9d6f

Please sign in to comment.