From: Adam Sutton Date: Thu, 3 Jan 2013 19:30:06 +0000 (+0000) Subject: htsp: bump version to 8 X-Git-Tag: v3.5~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a454305b332faa6bbf74a0c6dd0a5f824c744d78;p=thirdparty%2Ftvheadend.git htsp: bump version to 8 New imagecache URLs will break XBMCs pvr.hts which already reports v7. --- diff --git a/src/htsp_server.c b/src/htsp_server.c index 23319b3eb..dece14a59 100644 --- a/src/htsp_server.c +++ b/src/htsp_server.c @@ -54,7 +54,7 @@ static void *htsp_server, *htsp_server_2; -#define HTSP_PROTO_VERSION 7 +#define HTSP_PROTO_VERSION 8 #define HTSP_ASYNC_OFF 0x00 #define HTSP_ASYNC_ON 0x01 @@ -458,7 +458,7 @@ htsp_build_channel(channel_t *ch, const char *method, htsp_connection_t *htsp) if ((id = imagecache_get_id(ch->ch_icon))) { size_t p = 0; char url[256]; - if (htsp->htsp_version < 7) { + if (htsp->htsp_version < 8) { addrlen = sizeof(addr); getsockname(htsp->htsp_fd, (struct sockaddr*)&addr, &addrlen); strcpy(url, "http://");