mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
adding alternative logo for webchannels
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -130,6 +130,7 @@ class CZapitChannel
|
|||||||
/* WebTV/WebRadio */
|
/* WebTV/WebRadio */
|
||||||
std::string url;
|
std::string url;
|
||||||
std::string desc;
|
std::string desc;
|
||||||
|
std::string altlogo;
|
||||||
|
|
||||||
/* pids of this channel */
|
/* pids of this channel */
|
||||||
std::vector <CZapitAbsSub* > channelSubs;
|
std::vector <CZapitAbsSub* > channelSubs;
|
||||||
@@ -293,6 +294,8 @@ class CZapitChannel
|
|||||||
bool Locked() { return (bLocked || !!bLockCount); }
|
bool Locked() { return (bLocked || !!bLockCount); }
|
||||||
t_channel_id getEpgID(void) const { return epg_id; }
|
t_channel_id getEpgID(void) const { return epg_id; }
|
||||||
void setEPGid(t_channel_id pEPGid) { epg_id = pEPGid; } //remap epg_id
|
void setEPGid(t_channel_id pEPGid) { epg_id = pEPGid; } //remap epg_id
|
||||||
|
std::string getAlternateLogo(void) const { return altlogo; }
|
||||||
|
inline void setAlternateLogo(const std::string &pLogo) { altlogo = pLogo; }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CmpChannelBySat: public std::binary_function <const CZapitChannel * const, const CZapitChannel * const, bool>
|
struct CmpChannelBySat: public std::binary_function <const CZapitChannel * const, const CZapitChannel * const, bool>
|
||||||
|
@@ -109,6 +109,7 @@ void CZapitChannel::Init()
|
|||||||
bLockCount = 0;
|
bLockCount = 0;
|
||||||
bLocked = DEFAULT_CH_LOCKED;
|
bLocked = DEFAULT_CH_LOCKED;
|
||||||
bUseCI = false;
|
bUseCI = false;
|
||||||
|
altlogo = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
CZapitChannel::~CZapitChannel(void)
|
CZapitChannel::~CZapitChannel(void)
|
||||||
|
Reference in New Issue
Block a user