From 199019d450bdf12881c4fb0a237f4529a71c2efe Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Fri, 24 Feb 2012 19:43:18 +0100 Subject: [PATCH] epgview: add event ID and table as last line to epg window Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/63170645047afbe818bfb3374dbbc705fe908a01 Author: Stefan Seyfried Date: 2012-02-24 (Fri, 24 Feb 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/epgview.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 54be78c0e..973d385b4 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -590,7 +590,6 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start processTextToArray(GetGenre(epgData.contentClassification[0])); // UTF-8 // processTextToArray( epgData.userClassification.c_str() ); - // -- display more screenings on the same channel // -- 2002-05-03 rasc if (hasFollowScreenings(channel_id, epgData.title)) { @@ -599,6 +598,15 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start FollowScreenings(channel_id, epgData.title); } + /* neat for debugging duplicate event issues etc. */ + char *epgid; + if (asprintf(&epgid, "EPG ID:%04llX.%02X", (epgData.eventID)&0x0FFFF, epgData.table_id) >= 0) + { + processTextToArray(""); // UTF-8 + processTextToArray(epgid); + free(epgid); + } + COSDFader fader(g_settings.menu_Content_alpha); fader.StartFadeIn();