mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
activate streaminfo2 for non COOL_HARDWARE
Origin commit data
------------------
Branch: ni/coolstream
Commit: 96598252a9
Author: GetAway <get-away@t-online.de>
Date: 2018-11-13 (Tue, 13 Nov 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -116,13 +116,13 @@ libneutrino_gui_a_SOURCES = \
|
|||||||
xmltv_setup.cpp \
|
xmltv_setup.cpp \
|
||||||
zapit_setup.cpp
|
zapit_setup.cpp
|
||||||
|
|
||||||
#if BOXTYPE_ARMBOX
|
if BOXTYPE_COOL
|
||||||
#libneutrino_gui_a_SOURCES += \
|
|
||||||
# streaminfo2.cpp
|
|
||||||
#else
|
|
||||||
libneutrino_gui_a_SOURCES += \
|
libneutrino_gui_a_SOURCES += \
|
||||||
streaminfo1.cpp
|
streaminfo1.cpp
|
||||||
#endif
|
else
|
||||||
|
libneutrino_gui_a_SOURCES += \
|
||||||
|
streaminfo2.cpp
|
||||||
|
endif
|
||||||
|
|
||||||
if ENABLE_EXTUPDATE
|
if ENABLE_EXTUPDATE
|
||||||
libneutrino_gui_a_SOURCES += \
|
libneutrino_gui_a_SOURCES += \
|
||||||
|
@@ -39,9 +39,11 @@
|
|||||||
#include <gui/info_menue.h>
|
#include <gui/info_menue.h>
|
||||||
#include <gui/imageinfo_ni.h> //NI
|
#include <gui/imageinfo_ni.h> //NI
|
||||||
#include <gui/dboxinfo.h>
|
#include <gui/dboxinfo.h>
|
||||||
|
#if HAVE_COOL_HARDWARE
|
||||||
#include <gui/streaminfo1.h>
|
#include <gui/streaminfo1.h>
|
||||||
//#include <gui/streaminfo2.h>
|
#else
|
||||||
|
#include <gui/streaminfo2.h>
|
||||||
|
#endif
|
||||||
#if 0
|
#if 0
|
||||||
#include <gui/buildinfo.h>
|
#include <gui/buildinfo.h>
|
||||||
#endif
|
#endif
|
||||||
|
@@ -2756,6 +2756,24 @@ void CMoviePlayerGui::selectChapter()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CMoviePlayerGui::getAPIDDesc(unsigned int i)
|
||||||
|
{
|
||||||
|
std::string apidtitle;
|
||||||
|
if (i < numpida)
|
||||||
|
getAudioName(apids[i], apidtitle);
|
||||||
|
if (apidtitle == "")
|
||||||
|
apidtitle = "Stream " + to_string(i);
|
||||||
|
return apidtitle;
|
||||||
|
}
|
||||||
|
|
||||||
|
unsigned int CMoviePlayerGui::getAPID(void)
|
||||||
|
{
|
||||||
|
for (unsigned int i = 0; i < numpida; i++)
|
||||||
|
if (apids[i] == currentapid)
|
||||||
|
return i;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
void CMoviePlayerGui::selectSubtitle()
|
void CMoviePlayerGui::selectSubtitle()
|
||||||
{
|
{
|
||||||
if (!is_file_player)
|
if (!is_file_player)
|
||||||
|
@@ -261,6 +261,8 @@ class CMoviePlayerGui : public CMenuTarget
|
|||||||
void setLastMode(int m) { m_LastMode = m; }
|
void setLastMode(int m) { m_LastMode = m; }
|
||||||
void Pause(bool b = true);
|
void Pause(bool b = true);
|
||||||
void selectAudioPid(void);
|
void selectAudioPid(void);
|
||||||
|
unsigned int getAPID(void);
|
||||||
|
std::string getAPIDDesc(unsigned int i);
|
||||||
bool SetPosition(int pos, bool absolute = false);
|
bool SetPosition(int pos, bool absolute = false);
|
||||||
void selectSubtitle();
|
void selectSubtitle();
|
||||||
void showSubtitle(neutrino_msg_data_t data);
|
void showSubtitle(neutrino_msg_data_t data);
|
||||||
|
@@ -49,8 +49,11 @@
|
|||||||
#include "subchannel_select.h"
|
#include "subchannel_select.h"
|
||||||
#include "favorites.h"
|
#include "favorites.h"
|
||||||
#include "audio_select.h"
|
#include "audio_select.h"
|
||||||
|
#if HAVE_COOL_HARDWARE
|
||||||
#include "streaminfo1.h"
|
#include "streaminfo1.h"
|
||||||
//#include "streaminfo2.h"
|
#else
|
||||||
|
#include "streaminfo2.h"
|
||||||
|
#endif
|
||||||
#include "epgplus.h"
|
#include "epgplus.h"
|
||||||
#include "epgview.h"
|
#include "epgview.h"
|
||||||
#include "eventlist.h"
|
#include "eventlist.h"
|
||||||
|
Reference in New Issue
Block a user