moviebrowser: add lcd4linux support

Origin commit data
------------------
Branch: ni/coolstream
Commit: e36d9d3cd1
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-09-12 (Mon, 12 Sep 2022)

Origin message was:
------------------
- moviebrowser: add lcd4linux support

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2022-09-12 21:38:16 +02:00
parent 051c38fb94
commit 81b78aa081
4 changed files with 53 additions and 3 deletions

View File

@@ -240,6 +240,16 @@ int CLCD4l::RemoveFile(const char *file)
return ret;
}
int CLCD4l::CreateEventFile(std::string content, bool convert)
{
return CreateFile(EVENT, content, convert);
}
int CLCD4l::RemoveEventFile()
{
return RemoveFile(EVENT);
}
int CLCD4l::CreateMenuFile(std::string content, bool convert)
{
return CreateFile(MENU, content, convert);
@@ -777,6 +787,11 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
Logo = ICONSDIR "/" NEUTRINO_ICON_PLAY ICONSEXT;
Service = g_Locale->getText(LOCALE_MAINMENU_AVINPUTMODE);
}
else if (parseID == NeutrinoModes::mode_moviebrowser)
{
Logo = ICONSDIR "/" NEUTRINO_ICON_MOVIEPLAYER ICONSEXT;
Service = g_Locale->getText(LOCALE_MOVIEBROWSER_HEAD);
}
else if (parseID == NeutrinoModes::mode_ts)
{
if (ModeTshift)
@@ -1071,6 +1086,10 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
// TODO: Event = Bildname
}
#endif
else if (parseID == NeutrinoModes::mode_moviebrowser)
{
// do nothing; Event is processed in moviebrowser
}
else if (parseID == NeutrinoModes::mode_ts)
{
if (CMoviePlayerGui::getInstance().p_movie_info)