controlapi/logolist: use well-known tags for channelid's

Origin commit data
------------------
Commit: f7fefac508
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-24 (Wed, 24 Feb 2016)

Origin message was:
------------------
- controlapi/logolist: use well-known tags for channelid's
This commit is contained in:
vanhofen
2016-02-24 13:41:45 +01:00
parent b1fa8daf5e
commit 5286a99f23

View File

@@ -936,8 +936,8 @@ void CControlAPI::LogolistCGI(CyhookHandler *hh)
{
item = hh->outPair("name", hh->outValue(channel->getName()), true);
id = hh->outPair("short", string_printf(PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS, channel->getChannelID() & 0xFFFFFFFFFFFFULL), true);
id += hh->outPair("long", string_printf(PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS, channel->getChannelID()), false);
id = hh->outPair("id", string_printf(PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS, channel->getChannelID()), true);
id += hh->outPair("short_id", string_printf(PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS, channel->getChannelID() & 0xFFFFFFFFFFFFULL), false);
item += hh->outObject("id", id, files);
if (files)