mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-04 20:28:35 +02:00
zapit: change lastChannelRadio/lastChannelTV from number to channel_id
This commit is contained in:
@@ -106,13 +106,13 @@ CZapitClient::CCurrentServiceInfo CZapitClient::getCurrentServiceInfo()
|
||||
return response;
|
||||
}
|
||||
|
||||
void CZapitClient::getLastChannel(unsigned int &channumber, char &mode)
|
||||
void CZapitClient::getLastChannel(t_channel_id &channel_id, int &mode)
|
||||
{
|
||||
send(CZapitMessages::CMD_GET_LAST_CHANNEL);
|
||||
|
||||
CZapitClient::responseGetLastChannel response;
|
||||
CBasicClient::receive_data((char* )&response, sizeof(response));
|
||||
channumber = response.channelNumber + 1;
|
||||
channel_id = response.channel_id;
|
||||
mode = response.mode;
|
||||
|
||||
close_connection();
|
||||
|
Reference in New Issue
Block a user