Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[tvheadend] make channel.radio to not reset to false during update if tvheadend not provided channel services #139

Closed
wants to merge 1 commit into from

2 participants

@7floor

According to https://www.lonelycoder.com/redmine/projects/tvheadend/wiki/Htsp

channelUpdate
Same as channelAdd, but all fields (except channelId) are optional.

This is per design, that on channel update, services can be not provided (I guess they will be provided only if changed).
In this case, without fix, all radio channels will become TV channels later or sooner.

My fix deals with that bug without altering overall logic we discussed in other PR.

@opdenkamp opdenkamp closed this in 425a394
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 4, 2013
  1. @7floor

    [tvheadend] make channel.radio to not reset to false during update if…

    7floor authored
    … tvheadend not provided channel services
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  addons/pvr.hts/src/HTSPData.cpp
View
2  addons/pvr.hts/src/HTSPData.cpp
@@ -912,7 +912,7 @@ void CHTSPData::ParseChannelUpdate(htsmsg_t* msg)
}
htsmsg_t *services;
- bool bIsRadio(false);
+ bool bIsRadio = channel.radio;
if((services = htsmsg_get_list(msg, "services")))
{
htsmsg_field_t *f;
Something went wrong with that request. Please try again.