Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#1653 closed patch (fixed)

Add IRC freqtable to per-video-source setting

Reported by: sphery <mtdean@…> Owned by: danielk
Priority: trivial Milestone: unknown
Component: mythtv Version:
Severity: low Keywords:
Cc: Ticket locked: no

Description

The IRC frequency table was never added as a selection for the per-video-source frequency table setting. The attached trivial patch adds it.

Attachments (2)

mythtv-irc_video_source_freqtable_override.patch (461 bytes) - added by sphery <mtdean@…> 18 years ago.
mythtv-frequency_table_comboboxes.patch (3.0 KB) - added by sphery <mtdean@…> 18 years ago.
Different approach for populating comboboxes (fixes the original issue with a different approach)

Download all attachments as: .zip

Change History (6)

Changed 18 years ago by sphery <mtdean@…>

comment:1 Changed 18 years ago by sphery <mtdean@…>

Although I had convinced myself that doing so was a waste of time because of the near-zero chance of adding a new analog frequency table in the future, I considered changing the approach used to populate the "Channel frequency table" comboboxes. Currently, we're specifying the list of frequency tables in 3 places (in the chanlists[] in frequencies.c and in comboboxes in videosource.cpp and backendsettings.cpp). I don't know if there's any particular reason for keeping all three lists, but it seems that using the names from chanlists[] to populate the comboboxes would prevent a similar discontinuity in the future.

Therefore--because I felt guilty about the "maintenance headache" I left in place--I made mythtv-frequency_table_comboboxes.patch, which changes the comboboxes in videosource.cpp and backendsettings.cpp to pull their options from chanlists[] (although the one in videosource.cpp still retains the "default" setting at the top of the list). Each patch stands on its own, and mythtv-frequency_table_comboboxes.patch obviates the need for mythtv-irc_video_source_freqtable_override.patch, so you can choose the approach you prefer.

Changed 18 years ago by sphery <mtdean@…>

Different approach for populating comboboxes (fixes the original issue with a different approach)

comment:2 Changed 18 years ago by danielk

Owner: changed from Isaac Richards to danielk

comment:3 Changed 18 years ago by danielk

Resolution: fixed
Status: newclosed

(In [9684]) Closes #1653. Add IRC frequency table support in a few places.

This is another US Cable frequency table, which is offset 1.25Mhz from the HRC table.

comment:4 Changed 18 years ago by danielk

(In [9685]) References #1653. Backport of IRC table selection fix in [9684].

Note: See TracTickets for help on using tickets.