Could someone apply the attached patch and see if you can import an
ATSC channels.conf file, generated by dvbscan, into mythtv-setup ?
This patch assumes that the format is :
name:frequency:modulation:pid:pid:progam id.
which I think is correct, but it would be nice if someone could verify this .
Regards
--
John
Index: dvbconfparser.cpp
===================================================================
--- dvbconfparser.cpp (revision 7902)
+++ dvbconfparser.cpp (working copy)
@@ -154,6 +154,8 @@
if (i != end) c.name = *i++; else return false;
if (i != end) c.frequency = (*i++).toInt(); else return false;
if (i == end || !c.modulation.parseConf(*i++)) return false;
+ if (i == end ) return false; else i++; // video
+ if (i == end ) return false; else i++; // audio
// We need the program number in the transport stream,
// otherwise we cannot "tune" to the program.
if (i != end) c.serviceid = (*i++).toInt(); else return false;
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev