Skip to content

Commit

Permalink
Fix SatIP channel scanning in WebApp
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdewaal committed Jun 16, 2023
1 parent c645330 commit 04858c1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mythtv/libs/libmythtv/channelscan/channelscanner_web.cpp
Expand Up @@ -33,7 +33,9 @@
#include "channelimporter.h"
#include "libmythtv/cardutil.h"
#include "libmythtv/channelscan/scanwizardconfig.h"

#ifdef USING_SATIP
#include "recorders/satiputils.h"
#endif // USING_SATIP

#define LOC QString("ChScanWeb: ")

Expand Down Expand Up @@ -89,6 +91,13 @@ bool ChannelScannerWeb::StartScan (uint cardid,
QString subType = CardUtil::ProbeSubTypeName(cardid);
CardUtil::INPUT_TYPES inputType = CardUtil::toInputType(subType);

#ifdef USING_SATIP
if (inputType == CardUtil::SATIP)
{
inputType = SatIP::toDVBInputType(CardUtil::GetVideoDevice(cardid));
}
#endif // USING_SATIP

int nScanType = -99;
if (ScanType == "FULL")
{
Expand Down

0 comments on commit 04858c1

Please sign in to comment.