Odd. Ok - I'll post the backend in verbose mode.
I'm confused on the sub-chan definitions you're suggesting here. I was under the impression that a station such as:
FOX45_H: :45.1 :46: 3:0 FOX45 : :45.2 :46: 4:0
Would be mapped as
45_1 -> 46-3 45_2 -> 46-4
Am I incorrect in this thinking?
Yes, you are incorrect. You're describing the way things used to be. The new code performs this mapping for you. Mythfilldatabase should be setting it up correctly for you. If not, Zap2it is giving you bad data.
The problem is that we're barfing parsing the TVCT (terrestrial virtual channel table) for some of your stations. Investigation has shown that they are NULL-padding the station name, where they should be space-padding it. The attached patch should fix it -- could you test it and let me know?
-Doug
Index: libs/libmythtv/mpeg/atsctables.h
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/mpeg/atsctables.h,v
retrieving revision 1.1
diff -u -r1.1 atsctables.h
--- libs/libmythtv/mpeg/atsctables.h 8 Dec 2004 02:04:08 -0000 1.1
+++ libs/libmythtv/mpeg/atsctables.h 5 Jan 2005 12:24:46 -0000
@@ -154,7 +154,10 @@
QString str;
const unsigned short* ustr =
reinterpret_cast<const unsigned short*>(_ptrs[i]);
- for (int j=0; j<7; j++) str.append(QChar((ustr[j]<<8) | (ustr[j]>>8)));
+ for (int j=0; j<7; j++) {
+ QChar c((ustr[j]<<8) | (ustr[j]>>8));
+ if (c != QChar('\0')) str.append(c);
+ }
return str;
}
// reserved 4 14.0 0xf
signature.asc
Description: OpenPGP digital signature
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
