mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
YT use htmlEntityDecode with title
Origin commit data
------------------
Branch: ni/coolstream
Commit: b68841cee9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-06-01 (Sat, 01 Jun 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -4120,7 +4120,7 @@ void CMovieBrowser::loadYTitles(int mode, std::string search, std::string id)
|
||||
for (unsigned i = 0; i < ylist.size(); i++) {
|
||||
MI_MOVIE_INFO movieInfo;
|
||||
movieInfo.channelName = ylist[i].author;
|
||||
movieInfo.epgTitle = ylist[i].title;
|
||||
movieInfo.epgTitle = htmlEntityDecode(ylist[i].title);
|
||||
movieInfo.epgInfo1 = ylist[i].category;
|
||||
movieInfo.epgInfo2 = ylist[i].description;
|
||||
movieInfo.length = ylist[i].duration/60 ;
|
||||
|
@@ -766,6 +766,7 @@ std::string& htmlEntityDecode(std::string& text)
|
||||
{"„", "„"},
|
||||
{"•", "•"},
|
||||
{"…", "…"},
|
||||
{"'", "'"},
|
||||
{NULL, NULL}
|
||||
};
|
||||
for (int i = 0; dt[i].code != NULL; i++)
|
||||
|
Reference in New Issue
Block a user