Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
service grid: show also disabled channel numbers
  • Loading branch information
perexg committed Jun 20, 2015
1 parent dc78ee6 commit b35cb8e
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/service.c
Expand Up @@ -89,17 +89,6 @@ service_class_channel_set
service_mapper_create);
}

static htsmsg_t *
service_class_channel_enum
( void *obj, const char *lang )
{
htsmsg_t *m = htsmsg_create_map();
htsmsg_add_str(m, "type", "api");
htsmsg_add_str(m, "uri", "channel/list");
htsmsg_add_str(m, "event", "channel");
return m;
}

static const char *
service_class_get_title ( idnode_t *self, const char *lang )
{
Expand Down Expand Up @@ -184,7 +173,7 @@ const idclass_t service_class = {
.name = N_("Channel"),
.get = service_class_channel_get,
.set = service_class_channel_set,
.list = service_class_channel_enum,
.list = channel_class_get_list,
.rend = service_class_channel_rend,
.opts = PO_NOSAVE
},
Expand Down

0 comments on commit b35cb8e

Please sign in to comment.