]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Add channel UUID to JSON response
authorChristian KarriƩ <christian@karrie.info>
Mon, 26 May 2014 15:00:00 +0000 (17:00 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 26 May 2014 19:54:39 +0000 (21:54 +0200)
src/webui/extjs.c

index 550cfbbb70dc356455e6240931054bb3d3e64423..907fe901e4dee93ef0f94607aa0f352a7e677d43 100755 (executable)
@@ -1323,6 +1323,7 @@ extjs_dvrlist(http_connection_t *hc, const char *remain, void *opaque,
 
     htsmsg_add_str(m, "channel", DVR_CH_NAME(de));
     if(de->de_channel != NULL) {
+      htsmsg_add_str(m, "channelid", channel_get_uuid(de->de_channel));
       if (de->de_channel->ch_icon)
         htsmsg_add_imageurl(m, "chicon", "imagecache/%d",
                             de->de_channel->ch_icon);