mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
Timeshift (display the infobar)
- Infobar is visible when playback (Timeshift pause = off) is running.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1843 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 76bb470ea0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2011-11-13 (Sun, 13 Nov 2011)
Origin message was:
------------------
* Timeshift (display the infobar)
- Infobar is visible when playback (Timeshift pause = off) is running.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1843 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -459,6 +459,7 @@ extern bool has_hdd;
|
|||||||
#define TIMESHIFT_SECONDS 3
|
#define TIMESHIFT_SECONDS 3
|
||||||
void CMoviePlayerGui::PlayFile(void)
|
void CMoviePlayerGui::PlayFile(void)
|
||||||
{
|
{
|
||||||
|
bool first_start_timeshift = false;
|
||||||
neutrino_msg_t msg;
|
neutrino_msg_t msg;
|
||||||
neutrino_msg_data_t data;
|
neutrino_msg_data_t data;
|
||||||
int position = 0, duration = 0;
|
int position = 0, duration = 0;
|
||||||
@@ -554,11 +555,8 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
isBookmark = false;
|
isBookmark = false;
|
||||||
timesh = false;
|
timesh = false;
|
||||||
start_timeshift = true;
|
start_timeshift = true;
|
||||||
|
first_start_timeshift = true;
|
||||||
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
||||||
g_InfoViewer->showTitle(CNeutrinoApp::getInstance()->channelList->getActiveChannelNumber(),
|
|
||||||
CNeutrinoApp::getInstance()->channelList->getActiveChannelName(),
|
|
||||||
CNeutrinoApp::getInstance()->channelList->getActiveSatellitePosition(),
|
|
||||||
CNeutrinoApp::getInstance()->channelList->getActiveChannel_ChannelID());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isBookmark) {
|
if (isBookmark) {
|
||||||
@@ -1313,6 +1311,14 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (first_start_timeshift) {
|
||||||
|
g_InfoViewer->showTitle(CNeutrinoApp::getInstance()->channelList->getActiveChannelNumber(),
|
||||||
|
CNeutrinoApp::getInstance()->channelList->getActiveChannelName(),
|
||||||
|
CNeutrinoApp::getInstance()->channelList->getActiveSatellitePosition(),
|
||||||
|
CNeutrinoApp::getInstance()->channelList->getActiveChannel_ChannelID());
|
||||||
|
first_start_timeshift = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (exit) {
|
if (exit) {
|
||||||
printf("CMoviePlayerGui::PlayFile: exit, isMovieBrowser %d p_movie_info %x\n", isMovieBrowser, (int) p_movie_info);
|
printf("CMoviePlayerGui::PlayFile: exit, isMovieBrowser %d p_movie_info %x\n", isMovieBrowser, (int) p_movie_info);
|
||||||
if (isMovieBrowser == true && p_movie_info != NULL) {
|
if (isMovieBrowser == true && p_movie_info != NULL) {
|
||||||
|
Reference in New Issue
Block a user