Ticket #263: patch-263-v2.patch

File patch-263-v2.patch, 1.2 KB (added by danielk, 15 years ago)

Fix for channels not observing FCC's July 1st PSIP mandate

  • libs/libmythtv/channelutil.cpp

     
    718718    query.bindValue(":SERVICEID", service_id);
    719719    query.bindValue(":ATSCSRCID", atsc_src_id);
    720720    query.bindValue(":USEOAG",    use_on_air_guide);
    721     query.bindValue(":VISIBLE",   !(hidden || hidden_in_guide));
     721    query.bindValue(":VISIBLE",   !hidden);
     722    (void) hidden_in_guide; // we can't currently hide just the channel guide
     723
    722724    if (freqid > 0)
    723725        query.bindValue(":FREQID",    freqid);
    724726    query.bindValue(":TVFORMAT", (atsc_major_channel > 0) ? "atsc" : "dvb");
  • libs/libmythtv/siscan.cpp

     
    11501150                    chan_num,
    11511151                    vct->ProgramNumber(i),
    11521152                    vct->MajorChannel(i), vct->MinorChannel(i),
    1153                     true,
     1153                    !vct->IsHiddenInGuide(i) /* use on air guide */,
    11541154                    vct->IsHidden(i), vct->IsHiddenInGuide(i),
    11551155                    freqid);
    11561156            }