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

name can be changed while playing movies

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 3c6711d2d5
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

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
vanhofen
2017-11-13 21:17:36 +01:00
committed by Thilo Graf
parent 29c8b8798d
commit d70bcd22b9

View File

@@ -460,7 +460,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());
@@ -478,7 +477,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();