mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CRecordInstance: Turns message when recording start/end on or off
This commit is contained in:
committed by
M. Liebmann
parent
9fb64f13ce
commit
ae2a01a37a
@@ -146,7 +146,7 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel)
|
||||
|
||||
time_t msg_start_time = time(0);
|
||||
CHintBox hintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_RECORDING_START));
|
||||
if (!(autoshift && g_settings.auto_timeshift))
|
||||
if ((!(autoshift && g_settings.auto_timeshift)) && g_settings.recording_startstop_msg)
|
||||
hintBox.paint();
|
||||
|
||||
tsfile = std::string(filename) + ".ts";
|
||||
@@ -253,7 +253,7 @@ bool CRecordInstance::Stop(bool remove_event)
|
||||
recMovieInfo->length = (int) round((double) (end_time - start_time) / (double) 60);
|
||||
|
||||
CHintBox hintBox(LOCALE_MESSAGEBOX_INFO, rec_stop_msg.c_str());
|
||||
if (!(autoshift && g_settings.auto_timeshift))
|
||||
if ((!(autoshift && g_settings.auto_timeshift)) && g_settings.recording_startstop_msg)
|
||||
hintBox.paint();
|
||||
|
||||
printf("%s: channel %" PRIx64 " recording_id %d\n", __func__, channel_id, recording_id);
|
||||
|
Reference in New Issue
Block a user