Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add weight in subscribe response
  • Loading branch information
Glenn-1990 authored and perexg committed Nov 5, 2015
1 parent 968c4d0 commit 8cab0af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/htsp_server.c
Expand Up @@ -2277,6 +2277,8 @@ htsp_method_subscribe(htsp_connection_t *htsp, htsmsg_t *in)
htsmsg_add_u32(rep, "90khz", 1);
if(hs->hs_prch.prch_sharer->prsh_tsfix)
htsmsg_add_u32(rep, "normts", 1);
if(hs->hs_s)
htsmsg_add_u32(rep, "weight", hs->hs_s->ths_weight >= 0 ? hs->hs_s->ths_weight : 0);

#if ENABLE_TIMESHIFT
if(timeshiftPeriod)
Expand Down

0 comments on commit 8cab0af

Please sign in to comment.