Ticket #5882: channel_mux_patch2.diff
File channel_mux_patch2.diff, 1.3 KB (added by , 15 years ago) |
---|
-
libmythtv/frequencytables.cpp
60 60 61 61 tuning.Clear(); 62 62 63 tuning.sistandard = _tuning.sistandard; 64 63 65 tuning.ParseTuningParams( 64 66 _tuner_type, 65 67 QString::number(_tuning.frequency), _tuning.inversion.toString(), -
channelutil.cpp
old new 77 77 "WHERE sourceid = :SOURCEID " 78 78 " AND sistandard = :SISTANDARD "; 79 79 80 if (sistandard.toLower() != "dvb")80 if (sistandard.toLower().left(3) != "dvb") 81 81 qstr += "AND frequency = :FREQUENCY "; 82 82 else 83 83 { … … 91 91 query.bindValue(":SOURCEID", db_source_id); 92 92 query.bindValue(":SISTANDARD", sistandard); 93 93 94 if (sistandard.toLower() != "dvb")94 if (sistandard.toLower().left(3) != "dvb") 95 95 query.bindValue(":FREQUENCY", frequency); 96 96 else 97 97 { … … 143 143 // DVB specific 144 144 transport_id, network_id); 145 145 146 bool isDVB = (sistandard.toLower() == "dvb");146 bool isDVB = (sistandard.toLower().left(3) == "dvb"); 147 147 148 148 QString updateStr = 149 149 "UPDATE dtv_multiplex "