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

name can be changed while playing movies

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-13 21:17:36 +01:00
committed by Thilo Graf
parent 463c4ec154
commit 3c6711d2d5

View File

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