Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3504 closed task (fixed)

Don't use chanid to get the start channel for the live guide

Reported by: anonymous Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

If you have two video sources that share some channels and your active video source is not the first one the start channel can't be found because of the chanid check. With this option you can disable the check and all is ok.

Attachments (1)

epg_startchan_by_channum.diff (1.6 KB) - added by mythtv@… 12 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by danielk

Owner: changed from Isaac Richards to danielk
Severity: mediumlow
Type: patchtask
Version: unknownhead

I noticed this problem when I was working on #3326. I'll work on a proper fix after the EPG changes in that the multirec branch are merged into head.

Changed 12 years ago by mythtv@…

comment:2 Changed 12 years ago by danielk

(In [15437]) Refs #3326. Refs #3504. Fixes #4369. Syncs multirec to trunk.

This touches on many aspects of recording, for DVB Recorders in particular.

  • Adds PID priorities to the MPEGStreamHandler. This allows a DTV recorder to place a higher priority on recording audio and visual streams over other streams. This is particularly useful for DTV hardware which have a fixed number of hardware PID filters. (A similar mechanism already existed in DVBRecorder, but it didn't work in multirec, and this more general approach allows other recorders to use this.)
  • Adds input groups. This is used by the DVB Recorder to implement multiple recordings per transport. Multiple recorders are created referencing the same device, but they are placed in the same input groups so that they are forced to all record on the same transport. This can also allow two or more devices to share a single STB, and could be extended to allow multiple capture cards to share a single satellite dish on a rotor.
    • Removes analog child cards for DVB Recorders (can be simulated with input groups) Note: you will need to manually add both cards to the same named input group.
  • DVB/QAM Audio stream support
    • Adds the ability to play audio only mpeg files to the NuppelVideoRecorder?. Note: this allows all DTV recorders to support "Radio" streams.
    • Removes the dummy video from the DVBRecorder, not needed anymore
  • Adds a new input switching mode which cycles through video sources, instead of actual cards. The card switching mode keymap is now undefined by default, and the video source switching uses it's "Y" keybinding. Unbind "NEXTSOURCE" and bind "NEXTCARD" instead for the old behaviour.
  • Adds the ability to record multiple streams in a TS transport at once with DVB cards. Just delete your DVB cards in mythtv-setup and then as you recreate each one go into "Recording Options" and set "Max Recordings" to 2 or more. We recommend a reasonable number here, as you still have limited hard drive, CPU, etc.

There is still a known problem when using input groups with a non-DVB recorder:

  • The firewire recorder can fail to make recordings if its input is in an input group with another recorder's input. Please run the backend with '-v channel,record' if you have this configuration and attach the log to #3326 if this happens. I found the probable location of the problem added some debugging last week.

We're also very interested in any new problems that are encountered when this in run with different hardware. About 10 people have tested this, so it is relatively well tested, but it is a very large change to the way inputs are handled, and to the DVB Recorder in particular.

This was worked on by Janne, Shane, and myself with help from David and Bruce with scheduler suggestions and testing, and the help of many others with additonal testing.

comment:3 Changed 12 years ago by eric.bosch@…

I'm not completely sure, but this problem I'm having may be related to this, I have 3 tuners, two on a remote machine, one in the master backend, and they share sources, but the problem I am seeing is that on channel nums < 100, when I press the key to enter the program guide on LiveTV, the channel guide starts with the highest channel selected rather than the current one. If I press the key to enter program guide on channel 100 or higher, it goes to the current channel correctly.

comment:4 Changed 12 years ago by danielk

Resolution: fixed
Status: newclosed

(In [16882]) Fixes #3504. Make sure we always find the EPG start channel.

This adds a GuideGrid::FindChannel?() method which finds the EPG start channel. Before multirec we only stored the chanid for the currently shown channel, even if we had two or more chanid represented by a single row in the EPG. Now that we keep the chanid info we can use it to more reliably locate the EPG start channel.

comment:5 Changed 12 years ago by danielk

(In [16883]) Refs #3504. Fix two uint vs int issues in guidegrid.cpp.

Note: See TracTickets for help on using tickets.