htsp: bump version to 8

New imagecache URLs will break XBMCs pvr.hts which already reports v7.
This commit is contained in:
Adam Sutton 2013-01-03 19:30:06 +00:00
parent 8de4efe6e5
commit a454305b33

View file

@ -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://");