Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ExternalRecorder channelscan #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kmdewaal
Copy link

Implemented the LoadChannels, FirstChannel and NextChannel commands of
the ExternalRecorder protocol so that the ExternalRecorder can do a channel scan.
The myththdhrrecorder did already read the channel lineup from the HDHomeRun but previously,
to get the channel information in MythTV it needed to be entered manually with mythtv-setup.
The code is tested with the HDHomeRun HDHR3-4DC for DVB-C and with the HDHR5-2DT for DVB-T2.
The ExternalRecorder asks for a callsign but there is no callsign available
in the channel lineup so the channel name is used here as well.
There will be some changes needed to support not only DVB but also ATSC because
of the major_minor channel number and the callsign.

Implemented the LoadChannels, FirstChannel and NextChannel commands of
the ExternalRecorder protocol so that the ExternalRecorder can do a channel scan.
The myththdhrrecorder did already read the channel lineup from the HDHomeRun but previously,
to get the channel information in MythTV it needed to be entered manually with mythtv-setup.
The code is tested with the HDHomeRun HDHR3-4DC for DVB-C and with the HDHR5-2DT for DVB-T2.
The ExternalRecorder asks for a callsign but there is no callsign available
in the channel lineup so the channel name is used here as well.
There will be some changes needed to support not only DVB but also ATSC because
of the major_minor channel number and the callsign.
@alewando
Copy link

Thank you! I used this with a new HDHR Flex and it worked great!

@dlasher
Copy link

dlasher commented May 25, 2022

Used this with HDHR3-CC's and it works perfectly. Fastest channel scan of my life!

@jpoet
Copy link

jpoet commented Sep 10, 2023

I just pushed a commit to MythTV master which allows this patch to work correctly with ATSC channels. Thank you Klaas, this is very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants