diff --git a/pvr.plutotv/addon.xml.in b/pvr.plutotv/addon.xml.in index c6c180e..4265ff5 100644 --- a/pvr.plutotv/addon.xml.in +++ b/pvr.plutotv/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/pvr.plutotv/changelog.txt b/pvr.plutotv/changelog.txt index a8f1f92..ba0b947 100644 --- a/pvr.plutotv/changelog.txt +++ b/pvr.plutotv/changelog.txt @@ -1,3 +1,6 @@ +v19.0.3 +- Fix creation of broadcast and channel uid + v19.0.2 - Fix memory leak when redirecting HTTP requests - Load channel data on demand, not on add-on startup diff --git a/src/Utils.cpp b/src/Utils.cpp index d1c6b56..9349265 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -62,8 +62,9 @@ int Utils::Hash(const std::string& str) int hash = 0; while (*s) - hash = hash << 1 ^ *s++; - return hash; + hash = ((hash << 5) + hash) + *s++; // hash * 33 + c + + return std::abs(hash); } std::string Utils::CreateUUID()