Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linuxdvb,satip,hdhomerun: make uuid persistent per tuner
  • Loading branch information
perexg committed Nov 18, 2014
1 parent a2d7e17 commit c119b44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/input/mpegts/linuxdvb/linuxdvb_frontend.c
Expand Up @@ -1419,6 +1419,7 @@ linuxdvb_frontend_save ( linuxdvb_frontend_t *lfe, htsmsg_t *fe )
/* Save frontend */
mpegts_input_save((mpegts_input_t*)lfe, m);
htsmsg_add_str(m, "type", dvb_type2str(lfe->lfe_type));
htsmsg_add_str(m, "uuid", idnode_uuid_as_str(&lfe->ti_id));
if (lfe->lfe_satconf) {
htsmsg_t *s = htsmsg_create_map();
linuxdvb_satconf_save(lfe->lfe_satconf, s);
Expand Down
1 change: 1 addition & 0 deletions src/input/mpegts/satip/satip_frontend.c
Expand Up @@ -1549,6 +1549,7 @@ satip_frontend_save ( satip_frontend_t *lfe, htsmsg_t *fe )
/* Save frontend */
mpegts_input_save((mpegts_input_t*)lfe, m);
htsmsg_add_str(m, "type", dvb_type2str(lfe->sf_type));
htsmsg_add_str(m, "uuid", idnode_uuid_as_str(&lfe->ti_id));
if (lfe->ti_id.in_class == &satip_frontend_dvbs_class) {
satip_satconf_save(lfe, m);
htsmsg_delete_field(m, "networks");
Expand Down
2 changes: 1 addition & 1 deletion src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c
@@ -1,4 +1,3 @@

/*
* Tvheadend - HDHomeRun DVB frontend
*
Expand Down Expand Up @@ -514,6 +513,7 @@ tvhdhomerun_frontend_save ( tvhdhomerun_frontend_t *hfe, htsmsg_t *fe )
/* Save frontend */
mpegts_input_save((mpegts_input_t*)hfe, m);
htsmsg_add_str(m, "type", dvb_type2str(hfe->hf_type));
htsmsg_add_str(m, "uuid", idnode_uuid_as_str(&hfe->ti_id));

/* Add to list */
snprintf(id, sizeof(id), "%s #%d", dvb_type2str(hfe->hf_type), hfe->hf_tunerNumber);
Expand Down

0 comments on commit c119b44

Please sign in to comment.