mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
src/gui/dboxinfo.cpp
src/gui/infoviewer_bb.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9e8dd73320
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-02 (Mon, 02 Oct 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1371,10 +1371,10 @@ std::string CMovieBrowser::getScreenshotName(std::string movie, bool is_dir)
|
||||
else
|
||||
found = movie.find_last_of(".");
|
||||
|
||||
if (found == string::npos)
|
||||
if (found == std::string::npos)
|
||||
return "";
|
||||
|
||||
vector<std::string>::iterator it = PicExts.begin();
|
||||
std::vector<std::string>::iterator it = PicExts.begin();
|
||||
while (it < PicExts.end()) {
|
||||
ret = movie;
|
||||
ext = *it;
|
||||
@@ -1429,7 +1429,7 @@ void CMovieBrowser::refreshChannelLogo(void)
|
||||
if (m_channelLogo && m_channelLogo->hasLogo())
|
||||
{
|
||||
// TODO: move into an own handler, eg. header, so channel logo should be paint in header object
|
||||
m_channelLogo->setWidth(min(m_channelLogo->getWidth(), w_logo_max), true);
|
||||
m_channelLogo->setWidth(std::min(m_channelLogo->getWidth(), w_logo_max), true);
|
||||
if (m_channelLogo->getHeight() > h_logo_max)
|
||||
m_channelLogo->setHeight(h_logo_max, true);
|
||||
|
||||
@@ -2950,7 +2950,7 @@ bool CMovieBrowser::addFile(CFile &file, int dirItNr)
|
||||
|
||||
movieInfo.file = file;
|
||||
if(!m_movieInfo.loadMovieInfo(&movieInfo)) {
|
||||
movieInfo.channelName = string(g_Locale->getText(LOCALE_MOVIEPLAYER_HEAD));
|
||||
movieInfo.channelName = std::string(g_Locale->getText(LOCALE_MOVIEPLAYER_HEAD));
|
||||
movieInfo.epgTitle = file.getFileName();
|
||||
}
|
||||
movieInfo.dirItNr = dirItNr;
|
||||
|
Reference in New Issue
Block a user