zapit/src/getservices.cpp: read channel number from xml, not used yet

Origin commit data
------------------
Commit: 25f1eb3532
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-03-16 (Fri, 16 Mar 2012)
This commit is contained in:
[CST] Focus
2012-03-16 20:38:42 +04:00
parent 2982240588
commit 75f3a9f10f

View File

@@ -322,6 +322,7 @@ void CServiceManager::ParseChannels(xmlNodePtr node, const t_transport_stream_id
std::string name;
uint8_t service_type;
unsigned short vpid, apid, pcrpid, pmtpid, txpid, vtype, scrambled;
int number;
std::string desc = "";
desc += "Preset";
t_channel_id chid;
@@ -344,6 +345,7 @@ void CServiceManager::ParseChannels(xmlNodePtr node, const t_transport_stream_id
txpid = xmlGetNumericAttribute(node, "tx", 16);
vtype = xmlGetNumericAttribute(node, "vt", 16);
scrambled = xmlGetNumericAttribute(node, "s", 16);
number = xmlGetNumericAttribute(node, "num", 10);
chid = CREATE_CHANNEL_ID64;
char *ptr = xmlGetAttribute(node, "action");