Log when a http streams starts and stops

This commit is contained in:
John Törnblom 2012-03-05 17:51:52 +01:00
parent 839b164d7b
commit 115089def3

View file

@ -178,6 +178,7 @@ http_stream_run(http_connection_t *hc, streaming_queue_t *sq, th_subscription_t
break;
case SMT_START: {
tvhlog(LOG_DEBUG, "webui", "Start streaming %s", hc->hc_url_orig);
if(s->ths_service->s_servicetype == ST_RADIO)
http_output_content(hc, "audio/x-matroska");
else
@ -196,6 +197,7 @@ http_stream_run(http_connection_t *hc, streaming_queue_t *sq, th_subscription_t
break;
case SMT_NOSTART:
tvhlog(LOG_DEBUG, "webui", "Couldn't start stream for %s", hc->hc_url_orig);
run = 0;
break;