Opened 12 years ago
Closed 12 years ago
Last modified 12 years ago
#10545 closed Bug Report - General (fixed)
Unable to switch inputs in live tv if they are in the same input group.
Reported by: | Owned by: | Jim Stichnoth | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Switching between inputs that are in the same input group while watching live tv no longer works.
The "Playback Menu->Source->Switch Input" no longer exists in live tv.
Using the guide to switch to a channel that is only on the other input exits the guide without changing the channel.
Typing the channel number in manually results in the following message. "MythTV is already using all available inputs for the channel you selected. If you want to switch an in-progress recording, selec..."
Attachments (2)
Change History (14)
Changed 12 years ago by
Attachment: | version_info.txt added |
---|
Changed 12 years ago by
Attachment: | change_input_logs.txt added |
---|
logs from my attempts to change inputs
comment:1 Changed 12 years ago by
Milestone: | 0.25 → unknown |
---|---|
Status: | new → infoneeded_new |
Version: | Unspecified → Master Head |
The "Source->Switch Input" menu is not actually gone in Live TV, it is just suppressed when the system believes no additional inputs are available for Live TV.
Please run mythtv-setup, select Input Connections, select each connection in turn, and check the "Live TV Order" setting on the second page. If the value is 0, then that input is excluded from Live TV (see the help text).
comment:2 Changed 12 years ago by
I played around with the "Live TV Order" and it effected which input was used for live tv, but I was still unable to switch between inputs in live tv.
Here are all the values I tried. I don't think it matters but I didn't run mythfilldatabase after changing these values.
S-video input = Input priority: 0, Schedule order: 1, Live TV Order: 1
Firwire input = Input priority: 0, Schedule order: 2, Live TV Order: 2 ==============================
S-video input = Input priority: 0, Schedule order: 1, Live TV Order: 1
Firwire input = Input priority: 0, Schedule order: 1, Live TV Order: 1 ==============================
S-video input = Input priority: 0, Schedule order: 1, Live TV Order: 2
Firwire input = Input priority: 0, Schedule order: 1, Live TV Order: 1
comment:3 Changed 12 years ago by
I should probably have mentioned this earlier but removing the input group from these inputs allows me to switch between them in live tv.
comment:4 Changed 12 years ago by
Milestone: | unknown → 0.25 |
---|---|
Owner: | set to Jim Stichnoth |
Status: | infoneeded_new → assigned |
comment:5 Changed 12 years ago by
Status: | assigned → accepted |
---|
comment:6 Changed 12 years ago by
Do your two inputs have different sources?
If that is true, then is_input_group_busy() decides that both inputs are effectively in use, and they are suppressed from the OSD menu.
comment:7 Changed 12 years ago by
Whether the two inputs use the same source or different sources doesn't seem to make a difference.
comment:8 Changed 12 years ago by
The other part of the logic in is_input_group_busy() tests whether the candidate input (i.e. the one not currently showing Live TV but in the same input group) is analog. This is defined according to the query:
select mplexid, atsc_minor_chan, serviceid from channel where (mplexid != 32767 or atsc_minor_chan != 0 or serviceid != 0) and sourceid=<SOURCEID>;
where <SOURCEID> is the appropriate result from:
select sourceid from videosource;
If the first query returns no results, then the source is determined to be analog and the input is determined to be busy.
Can you run this query and see if this is indeed the case here?
comment:10 Changed 12 years ago by
Milestone: | 0.25 → 0.26 |
---|
Thanks for providing the data. It's fairly clear what the issue is, but that area of code is too sensitive to touch this close to the 0.25 release. I'm pushing the milestone to 0.26, but I would prefer to fix it in 0.25-fixes after the release.
comment:11 Changed 12 years ago by
Milestone: | 0.26 → 0.25 |
---|---|
Resolution: | → Fixed |
Status: | accepted → closed |
Fixed in a970d72b8fb0fdaaffd52c571e039f27e7ed0ebf
Please re-open if the problem is still there.
comment:12 Changed 12 years ago by
Resolution: | Fixed → fixed |
---|
mythtv version