Ticket #3504: epg_startchan_by_channum.diff
File epg_startchan_by_channum.diff, 1.6 KB (added by , 17 years ago) |
---|
-
libs/libmythtv/tv_play.cpp
5059 5059 5060 5060 // Collect channel info 5061 5061 pbinfoLock.lock(); 5062 uint chanid = playbackinfo->chanid.toUInt(); 5062 bool using_channum_for_startchannel = gContext->GetNumSetting("EPGUseChanNum",false); 5063 uint chanid = (using_channum_for_startchannel) ? 0 : playbackinfo->chanid.toUInt(); 5063 5064 QString channum = playbackinfo->chanstr; 5064 5065 pbinfoLock.unlock(); 5065 5066 -
programs/mythfrontend/globalsettings.cpp
2184 2184 return gc; 2185 2185 } 2186 2186 2187 static HostCheckBox *EPGUseChanNum() 2188 { 2189 HostCheckBox *gc = new HostCheckBox("EPGUseChanNum"); 2190 gc->setLabel(QObject::tr("Ignore chanid for start channel check")); 2191 gc->setHelpText(QObject::tr("If enabled, the EPG start channel check " 2192 " will be done by channum and not by chanid.")); 2193 gc->setValue(false); 2194 return gc; 2195 } 2196 2187 2197 static HostSpinBox *EPGChanDisplay() 2188 2198 { 2189 2199 HostSpinBox *gs = new HostSpinBox("chanPerPage", 3, 12, 1); … … 3689 3699 epg->addChild(EPGScrollType()); 3690 3700 epg->addChild(EPGShowChannelIcon()); 3691 3701 epg->addChild(EPGShowFavorites()); 3702 epg->addChild(EPGUseChanNum()); 3692 3703 epg->addChild(WatchTVGuide()); 3693 3704 epg->addChild(EPGChanDisplay()); 3694 3705 epg->addChild(EPGTimeDisplay());