diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 4852dea8e..79ecdb16a 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -297,8 +297,6 @@ void CEpgData::showText(int startPos, int ypos, bool has_cover, bool fullClear) if (tmdb_active) { provider_logo = NEUTRINO_ICON_TMDB; - if (tmdb_stars <= 10) - tmdb_stars *= 10; // recalculate tmdb_stars value for starbar stars = tmdb_stars; } else if (imdb_active) diff --git a/src/gui/tmdb.h b/src/gui/tmdb.h index 6675955f4..b1f4e40ef 100644 --- a/src/gui/tmdb.h +++ b/src/gui/tmdb.h @@ -73,7 +73,7 @@ class cTmdb bool getBigCover(std::string cover) { return DownloadUrl("http://image.tmdb.org/t/p/w342" + minfo.poster_path, cover);} bool getSmallCover(std::string cover) { return DownloadUrl("http://image.tmdb.org/t/p/w185" + minfo.poster_path, cover);} int getResults() { return minfo.result;} - int getStars() { return (int) (atof(minfo.vote_average.c_str())+0.5);} + int getStars() { return (int) (atof(minfo.vote_average.c_str())*10);} }; #endif