[mythtv-commits] Ticket #10046: Channel insert/updates now strip off leading/trailing whitespace in callsign and name
MythTV
noreply at mythtv.org
Mon Sep 19 03:49:33 UTC 2011
#10046: Channel insert/updates now strip off leading/trailing whitespace in
callsign and name
-----------------------------------------------+---------------------------
Reporter: Jerry Rubinow <jerrymr@…> | Type: Patch -
Status: new | Bug Fix
Milestone: unknown | Priority: minor
Version: Trunk Head | Component: MythTV -
Keywords: database channel callsign | General
| Severity: medium
| Ticket locked: 0
-----------------------------------------------+---------------------------
Modified places where channels are inserted or updated in the database to
call QString::trimmed() on channel callsign and name. This prevents some
potential mismatches when guide information is merged (i.e. one input has
a channel with callsign "WABC" and tuner 2 has the same channel but the
callsign is "WABC ", so they show up separately in the guide).
The patch modifies mfdb/channeldata.cpp, libmythtv/channelutil.cpp,
libmythtv/datadirect.cpp, and libmythtv/tv_rec.cpp. This is my first
patch submission, let me know if I made any mistakes in protocol. And
please direct me to any other places that need modification which I
missed. Finally, I verified successful compilation, but I'm unable to
test.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10046>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list