movieplayer: try to fix display of servicename; ...

name can be changed while playing movies


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1209b51c97
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-13 (Mon, 13 Nov 2017)

Origin message was:
------------------
- movieplayer: try to fix display of servicename; ...

name can be changed while playing movies


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-13 21:17:36 +01:00
parent ae5be7682d
commit da8b6a0bbd

View File

@@ -491,7 +491,6 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
return menu_return::RETURN_REPAINT;
}
std::string oldservicename = CVFD::getInstance()->getServicename();
while(!isHTTP && !isUPNP && SelectFile()) {
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
CVFD::getInstance()->showServicename(file_name.c_str());
@@ -509,7 +508,7 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
}
while (repeat_mode || filelist_it != filelist.end());
}
CVFD::getInstance()->showServicename(oldservicename.c_str());
CVFD::getInstance()->showServicename(CVFD::getInstance()->getServicename());
bookmarkmanager->flush();