HDHomerun Prime LIVE TV issues on XBMC with 0.27 mthtv

Hi Everyone,
I followed the setup as per the official page on http://www.mythtv.org/wiki/Silicondust_HDHomeRun_Prime
to set up my network tuner. However I used a free xmltv grabber and so set the video source section to "no grabber".
I went ahead and did the channel scan in the input connection section using the cable and qam256 as my input choices.
Below is a snapshot of my channel table from the mythconverge database.

You will notice that callsigns and channum between the tables are different.
In fact the second table reflects the exact channel number as I see on the hdhomerun_config_gui
I later did a mysql dump of this (second) table into the former table (the first one) and LIVE TV worked!!!!
So what went wrong with the scan in 0.27 in the first table above?
IS there a defect in how the scan is being conducted for a HDHOMErun prime or am I doing some things wrong with my mythtv-setup.
Any insights into this is really appreciated.
OZooHA

While I can't help you debug your problem I will tell you the following:

I live in NYC area and the list of ATSC channels you are showing are exactly the channels and "virtual" numbers that I get with my TV antenna, ie: Channel 4.1 is listed as 4_1, 4.2 is listed as 4_2, etc.

Sorry for my tardiness.
If you drill down into the mythtv codebase especially the mythfilldatabase part you will notice how it captures information from the xml file.
It reads only the first 3 fields for a channel and the order is important.
So you need to rewrite the xml file to reflect that order. This is a one time thing only.
After this first read it populates the mysql database correctly. Like I said before you only need to rewrite you xml once and then the next time
around the original undoctored xml format is good.
I hope this helps someone in the future.
OZooHA

(2014-05-04 15:19)ozooha Wrote: Sorry for my tardiness.
If you drill down into the mythtv codebase especially the mythfilldatabase part you will notice how it captures information from the xml file.
It reads only the first 3 fields for a channel and the order is important.
So you need to rewrite the xml file to reflect that order. This is a one time thing only.
After this first read it populates the mysql database correctly. Like I said before you only need to rewrite you xml once and then the next time
around the original undoctored xml format is good.
I hope this helps someone in the future.
OZooHA

And exactly how did you do this?
What did you re-write in the xml file?

Look at the example file in this link-http://wiki.xmltv.org/index.php/XMLTVFormat
Under the given channel-id look for the display-name and compare it with your own xmltv file. If the order is incorrect then use some scripting language along with the xml library to reflect the correct order.
OZooHA