- timerlist/controlapi: handle epg_id as channel_id

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-04-27 13:07:55 +02:00
committed by Thilo Graf
parent 31bbb45946
commit a5a3ec04cc
2 changed files with 2 additions and 2 deletions

View File

@@ -2720,7 +2720,7 @@ void CControlAPI::SendTimers(CyhookHandler *hh)
timer_item += hh->outObject("audio", audio, true);
timer_item += hh->outPair("recording_dir", timer->recordingDir, true);
timer_item += hh->outPair("epg_id", string_printf("%d", (int)timer->epgID), false);
timer_item += hh->outPair("epg_id", string_printf(PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS, timer->epgID), false);
}
break;