movieplayer: use htmlEntityDecode with name in luaGetUrl

This commit is contained in:
Jacek Jendrzej
2019-08-01 18:44:10 +02:00
parent 88455514c9
commit bad914452c

View File

@@ -986,6 +986,7 @@ bool CMoviePlayerGui::luaGetUrl(const std::string &script, const std::string &fi
} }
} }
if (haveurl) { if (haveurl) {
info.name = htmlEntityDecode(info.name);
streamList.push_back(info); streamList.push_back(info);
} }
haveurl = false; haveurl = false;
@@ -1013,6 +1014,7 @@ bool CMoviePlayerGui::luaGetUrl(const std::string &script, const std::string &fi
} }
} }
if (haveurl) { if (haveurl) {
info.name = htmlEntityDecode(info.name);
streamList.push_back(info); streamList.push_back(info);
} }
} }