mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
cosmetics: align epg_id notation to channel_id
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4343c2d5da
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-04-27 (Sat, 27 Apr 2019)
Origin message was:
------------------
- cosmetics: align epg_id notation to channel_id
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -242,7 +242,7 @@ void CSectionsdClient::dumpStatus()
|
||||
}
|
||||
|
||||
#if 0
|
||||
bool CSectionsdClient::getComponentTagsUniqueKey(const event_id_t uniqueKey, CSectionsdClient::ComponentTagList& tags)
|
||||
bool CSectionsdClient::getComponentTagsUniqueKey(const t_event_id uniqueKey, CSectionsdClient::ComponentTagList& tags)
|
||||
{
|
||||
if (send(sectionsd::ComponentTagsUniqueKey, (char*)&uniqueKey, sizeof(uniqueKey)))
|
||||
{
|
||||
@@ -283,7 +283,7 @@ bool CSectionsdClient::getComponentTagsUniqueKey(const event_id_t uniqueKey, CSe
|
||||
}
|
||||
}
|
||||
|
||||
bool CSectionsdClient::getLinkageDescriptorsUniqueKey(const event_id_t uniqueKey, CSectionsdClient::LinkageDescriptorList& descriptors)
|
||||
bool CSectionsdClient::getLinkageDescriptorsUniqueKey(const t_event_id uniqueKey, CSectionsdClient::LinkageDescriptorList& descriptors)
|
||||
{
|
||||
if (send(sectionsd::LinkageDescriptorsUniqueKey, (char*)&uniqueKey, sizeof(uniqueKey)))
|
||||
{
|
||||
@@ -368,16 +368,16 @@ bool CSectionsdClient::getCurrentNextServiceKey(const t_channel_id channel_id, C
|
||||
char* dp = pData;
|
||||
|
||||
// current
|
||||
current_next.current_uniqueKey = *((event_id_t *)dp);
|
||||
dp+= sizeof(event_id_t);
|
||||
current_next.current_uniqueKey = *((t_event_id *)dp);
|
||||
dp+= sizeof(t_event_id);
|
||||
current_next.current_zeit = *(CSectionsdClient::sectionsdTime*) dp;
|
||||
dp+= sizeof(CSectionsdClient::sectionsdTime);
|
||||
current_next.current_name = dp;
|
||||
dp+=strlen(dp)+1;
|
||||
|
||||
// next
|
||||
current_next.next_uniqueKey = *((event_id_t *)dp);
|
||||
dp+= sizeof(event_id_t);
|
||||
current_next.next_uniqueKey = *((t_event_id *)dp);
|
||||
dp+= sizeof(t_event_id);
|
||||
current_next.next_zeit = *(CSectionsdClient::sectionsdTime*) dp;
|
||||
dp+= sizeof(CSectionsdClient::sectionsdTime);
|
||||
current_next.next_name = dp;
|
||||
@@ -419,7 +419,7 @@ CChannelEventList CSectionsdClient::getChannelEvents(const bool tv_mode, t_chann
|
||||
{
|
||||
CChannelEvent aEvent;
|
||||
|
||||
aEvent.eventID = *((event_id_t *) dp);
|
||||
aEvent.eventID = *((t_event_id *) dp);
|
||||
dp+=sizeof(aEvent.eventID);
|
||||
|
||||
aEvent.startTime = *((time_t *) dp);
|
||||
@@ -486,7 +486,7 @@ bool CSectionsdClient::getEventsServiceKeySearchAdd(CChannelEventList& eList,con
|
||||
{
|
||||
CChannelEvent aEvent;
|
||||
|
||||
aEvent.eventID = *((event_id_t *) dp);
|
||||
aEvent.eventID = *((t_event_id *) dp);
|
||||
dp+=sizeof(aEvent.eventID);
|
||||
|
||||
aEvent.startTime = *((time_t *) dp);
|
||||
@@ -532,7 +532,7 @@ CChannelEventList CSectionsdClient::getEventsServiceKey(const t_channel_id chann
|
||||
{
|
||||
CChannelEvent aEvent;
|
||||
|
||||
aEvent.eventID = *((event_id_t *) dp);
|
||||
aEvent.eventID = *((t_event_id *) dp);
|
||||
dp+=sizeof(aEvent.eventID);
|
||||
|
||||
aEvent.startTime = *((time_t *) dp);
|
||||
@@ -654,7 +654,7 @@ bool CSectionsdClient::getActualEPGServiceKey(const t_channel_id channel_id, CEP
|
||||
|
||||
char* dp = pData;
|
||||
|
||||
epgdata->eventID = *((event_id_t *)dp);
|
||||
epgdata->eventID = *((t_event_id *)dp);
|
||||
dp+= sizeof(epgdata->eventID);
|
||||
|
||||
epgdata->title = dp;
|
||||
@@ -692,7 +692,7 @@ bool CSectionsdClient::getActualEPGServiceKey(const t_channel_id channel_id, CEP
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSectionsdClient::getEPGid(const event_id_t eventid, const time_t starttime, CEPGData * epgdata)
|
||||
bool CSectionsdClient::getEPGid(const t_event_id eventid, const time_t starttime, CEPGData * epgdata)
|
||||
{
|
||||
sectionsd::commandGetEPGid msg;
|
||||
|
||||
@@ -710,7 +710,7 @@ bool CSectionsdClient::getEPGid(const event_id_t eventid, const time_t starttime
|
||||
|
||||
char* dp = pData;
|
||||
|
||||
epgdata->eventID = *((event_id_t *)dp);
|
||||
epgdata->eventID = *((t_event_id *)dp);
|
||||
dp+= sizeof(epgdata->eventID);
|
||||
|
||||
epgdata->title = dp;
|
||||
@@ -747,7 +747,7 @@ bool CSectionsdClient::getEPGid(const event_id_t eventid, const time_t starttime
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSectionsdClient::getEPGidShort(const event_id_t eventid, CShortEPGData * epgdata)
|
||||
bool CSectionsdClient::getEPGidShort(const t_event_id eventid, CShortEPGData * epgdata)
|
||||
{
|
||||
if (send(sectionsd::epgEPGidShort, (char*)&eventid, sizeof(eventid)))
|
||||
{
|
||||
|
Reference in New Issue
Block a user