Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tooltips: Some more..
  • Loading branch information
Mark Clarkstone authored and perexg committed Feb 4, 2016
1 parent ae77a97 commit 701cd60
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/input/mpegts/linuxdvb/linuxdvb_satconf.c
Expand Up @@ -528,20 +528,27 @@ const idclass_t linuxdvb_satconf_advanced_class =
.type = PT_INT,
.id = "orbital_pos",
.name = N_("Orbital positions"),
.desc = N_("Orbital positions."),
.get = linuxdvb_satconf_class_orbitalpos_get,
.set = linuxdvb_satconf_class_orbitalpos_set,
},
{
.type = PT_BOOL,
.id = "switch_rotor",
.name = N_("Switch before rotor"),
.desc = N_("If the DiseqC switch is located before the rotor "
"(i.e. tuner - switch - rotor), enable this."),
.off = offsetof(linuxdvb_satconf_t, ls_switch_rotor),
.opts = PO_ADVANCED,
},
{
.type = PT_U32,
.id = "max_rotor_move",
.name = N_("Rotor initialization time (seconds)"),
.desc = N_("Upon start, Tvheadend doesn't know the last rotor "
"position. This value defines the initial rotor "
"movement. TVHeadend waits the specified time when "
"the first movement is requested."),
.off = offsetof(linuxdvb_satconf_t, ls_max_rotor_move),
.opts = PO_ADVANCED,
.def.u32 = 120
Expand All @@ -550,27 +557,32 @@ const idclass_t linuxdvb_satconf_advanced_class =
.type = PT_U32,
.id = "min_rotor_move",
.name = N_("Minimum rotor time (seconds)"),
.desc = N_("The minimum delay after the rotor movement "
"command is sent."),
.off = offsetof(linuxdvb_satconf_t, ls_min_rotor_move),
.opts = PO_ADVANCED,
},
{
.type = PT_DBL,
.id = "site_lat",
.name = N_("Site latitude"),
.desc = N_("Site latitude."),
.off = offsetof(linuxdvb_satconf_t, ls_site_lat),
.opts = PO_ADVANCED,
},
{
.type = PT_DBL,
.id = "site_lon",
.name = N_("Site longitude"),
.desc = N_("Site longitude."),
.off = offsetof(linuxdvb_satconf_t, ls_site_lon),
.opts = PO_ADVANCED,
},
{
.type = PT_BOOL,
.id = "site_lat_south",
.name = N_("Southern hemisphere (latitude direction)"),
.desc = N_("Southern hemisphere (latitude direction)."),
.off = offsetof(linuxdvb_satconf_t, ls_site_lat_south),
.opts = PO_ADVANCED,
.def.i = 0
Expand All @@ -579,6 +591,7 @@ const idclass_t linuxdvb_satconf_advanced_class =
.type = PT_BOOL,
.id = "site_lon_west",
.name = N_("Western hemisphere (latitude direction)"),
.desc = N_("Western hemisphere (latitude direction)."),
.off = offsetof(linuxdvb_satconf_t, ls_site_lon_west),
.opts = PO_ADVANCED,
.def.i = 0
Expand All @@ -587,6 +600,7 @@ const idclass_t linuxdvb_satconf_advanced_class =
.type = PT_INT,
.id = "site_altitude",
.name = N_("Altitude (meters)"),
.desc = N_("Altitude (in meters)."),
.off = offsetof(linuxdvb_satconf_t, ls_site_altitude),
.opts = PO_ADVANCED,
.def.i = 0
Expand All @@ -595,6 +609,7 @@ const idclass_t linuxdvb_satconf_advanced_class =
.type = PT_U32,
.id = "motor_rate",
.name = N_("Motor rate (milliseconds/deg)"),
.desc = N_("Motor rate (in milliseconds/deg)."),
.off = offsetof(linuxdvb_satconf_t, ls_motor_rate),
},
{}
Expand Down
29 changes: 29 additions & 0 deletions src/input/mpegts/mpegts_network.c
Expand Up @@ -141,27 +141,32 @@ const idclass_t mpegts_network_class =
.type = PT_STR,
.id = "networkname",
.name = N_("Network name"),
.desc = N_("Name of the network."),
.off = offsetof(mpegts_network_t, mn_network_name),
.notify = idnode_notify_title_changed,
},
{
.type = PT_STR,
.id = "pnetworkname",
.name = N_("Provider network name"),
.desc = N_("Provider`s network name."),
.off = offsetof(mpegts_network_t, mn_provider_network_name),
.opts = PO_ADVANCED | PO_HIDDEN,
},
{
.type = PT_U16,
.id = "nid",
.name = N_("Network ID (limit scanning)"),
.desc = N_("Limited/limit scanning to this network ID only."),
.opts = PO_ADVANCED,
.off = offsetof(mpegts_network_t, mn_nid),
},
{
.type = PT_BOOL,
.id = "autodiscovery",
.name = N_("Network discovery"),
.desc = N_("Discover more muxes using the Network "
"Information Table (if available)."),
.off = offsetof(mpegts_network_t, mn_autodiscovery),
.opts = PO_ADVANCED,
.def.i = 1
Expand All @@ -170,6 +175,10 @@ const idclass_t mpegts_network_class =
.type = PT_BOOL,
.id = "skipinitscan",
.name = N_("Skip initial scan"),
.desc = N_("Skip scanning known muxes on Tvheadend start. "
"If initial scan is allowed and new muxes are "
"found they will be scanned too. See Help for "
"more details."),
.off = offsetof(mpegts_network_t, mn_skipinitscan),
.opts = PO_EXPERT,
.def.i = 1
Expand All @@ -178,6 +187,15 @@ const idclass_t mpegts_network_class =
.type = PT_BOOL,
.id = "idlescan",
.name = N_("Idle scan muxes"),
.desc = N_("When nothing else is happening Tvheadend will "
"continuously rotate among all muxes and tune to "
"them to verify that they are still working when "
"the inputs are not used for streaming. If your "
"adapters have problems with lots of (endless) "
"tuning disable this. Note that this option "
"should be OFF for the normal operation. This type "
"of mux probing is not required and it may cause "
"issues for SAT>IP (limited number of PID filters)."),
.off = offsetof(mpegts_network_t, mn_idlescan),
.def.i = 0,
.notify = mpegts_network_class_idlescan_notify,
Expand All @@ -187,6 +205,7 @@ const idclass_t mpegts_network_class =
.type = PT_BOOL,
.id = "sid_chnum",
.name = N_("Use service IDs as channel numbers"),
.desc = N_("Use the provider's service IDs as channel numbers."),
.off = offsetof(mpegts_network_t, mn_sid_chnum),
.opts = PO_EXPERT,
.def.i = 0,
Expand All @@ -195,6 +214,7 @@ const idclass_t mpegts_network_class =
.type = PT_BOOL,
.id = "ignore_chnum",
.name = N_("Ignore provider's channel numbers"),
.desc = N_("Don`t use the provider`s channel numbers."),
.off = offsetof(mpegts_network_t, mn_ignore_chnum),
.opts = PO_ADVANCED,
.def.i = 0,
Expand All @@ -204,6 +224,7 @@ const idclass_t mpegts_network_class =
.type = PT_U16,
.id = "satip_source",
.name = N_("SAT>IP source number"),
.desc = N_("The SAT>IP source number."),
.off = offsetof(mpegts_network_t, mn_satip_source),
.opts = PO_ADVANCED
},
Expand All @@ -212,6 +233,8 @@ const idclass_t mpegts_network_class =
.type = PT_STR,
.id = "charset",
.name = N_("Character set"),
.desc = N_("The character encoding for this network "
"(e.g. UTF-8)."),
.off = offsetof(mpegts_network_t, mn_charset),
.list = dvb_charset_enum,
.opts = PO_ADVANCED,
Expand All @@ -220,34 +243,40 @@ const idclass_t mpegts_network_class =
.type = PT_BOOL,
.id = "localtime",
.name = N_("EIT broadcast in local time"),
.desc = N_("If EIT events use local time rather than UTC enable "
"this option."),
.off = offsetof(mpegts_network_t, mn_localtime),
.opts = PO_EXPERT,
},
{
.type = PT_INT,
.id = "num_mux",
.name = N_("# Muxes"),
.desc = N_("Total number of muxes found on this network."),
.opts = PO_RDONLY | PO_NOSAVE,
.get = mpegts_network_class_get_num_mux,
},
{
.type = PT_INT,
.id = "num_svc",
.name = N_("# Services"),
.desc = N_("Total number of services found on this network."),
.opts = PO_RDONLY | PO_NOSAVE,
.get = mpegts_network_class_get_num_svc,
},
{
.type = PT_INT,
.id = "num_chn",
.name = N_("# Mapped channels"),
.desc = N_("Total number of mapped channels on this network."),
.opts = PO_RDONLY | PO_NOSAVE,
.get = mpegts_network_class_get_num_chn,
},
{
.type = PT_INT,
.id = "scanq_length",
.name = N_("Scan queue length"),
.desc = N_("The number of muxes left to scan on this network."),
.opts = PO_RDONLY | PO_NOSAVE,
.get = mpegts_network_class_get_scanq_length,
},
Expand Down

0 comments on commit 701cd60

Please sign in to comment.