Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add firewire_gen_psip boolean to capturecard db schema

If firewire_gen_psip is true, MPEG2-TS PAT and PMT packets will be
generated by MythTV. This is a workaround for cable boxes like the
PACE RNG110 that do not emit these packets.
  • Loading branch information...
commit 641b70c031f0fc5b9146708ec5565e516b0ac512 1 parent a15740a
Chase Douglas authored
2  mythtv/bindings/perl/MythTV.pm
View
@@ -114,7 +114,7 @@ package MythTV;
# schema version supported in the main code. We need to check that the schema
# version in the database is as expected by the bindings, which are expected
# to be kept in sync with the main code.
- our $SCHEMA_VERSION = "1280";
+ our $SCHEMA_VERSION = "1281";
# NUMPROGRAMLINES is defined in mythtv/libs/libmythtv/programinfo.h and is
# the number of items in a ProgramInfo QStringList group used by
2  mythtv/bindings/python/MythTV/static.py
View
@@ -5,7 +5,7 @@
"""
OWN_VERSION = (0,25,-1,2)
-SCHEMA_VERSION = 1280
+SCHEMA_VERSION = 1281
NVSCHEMA_VERSION = 1007
MUSICSCHEMA_VERSION = 1018
PROTO_VERSION = '69'
2  mythtv/libs/libmythbase/mythversion.h
View
@@ -51,7 +51,7 @@
* MythTV Python Bindings
* mythtv/bindings/python/MythTV/static.py
*/
-#define MYTH_DATABASE_VERSION "1280"
+#define MYTH_DATABASE_VERSION "1281"
MBASE_PUBLIC const char *GetMythSourceVersion();
30 mythtv/libs/libmythtv/dbcheck.cpp
View
@@ -151,15 +151,16 @@ are all "DVB" specific configuration parameters.
Both 'dvb_recordts' and 'dvb_hw_decoder' are unused, and
will be dropped in future versions of MythTV.
-The 'firewire_port', 'firewire_node', 'firewire_speed',
-'firewire_model', 'firewire_connection' are all "FIREWIRE" specific
-configuration parameters. The first three define the connection,
-and function much like 'videodevice' does for other capture "cards".
-The 'firewire_model' describes the cable box model, for example
-"DCT-6000" describes a box that communicates using the same protocol
-as the Motorola DCT-6000. The 'firewire_connection' field describes
-the overall communication protocol, i.e. are we using "Broadcast"
-or "Point-to-Point" communication.
+The 'firewire_speed', 'firewire_model', 'firewire_connection',
+and 'firewire_gen_psip' are all "FIREWIRE" specific configuration
+parameters. The 'firewire_speed' describes the speed of the firewire
+link. The 'firewire_model' describes the cable box model, for
+example "DCT-6000" describes a box that communicates using the same
+protocol as the Motorola DCT-6000. The 'firewire_connection' field
+describes the overall communication protocol, i.e. are we using
+"Broadcast" or "Point-to-Point" communication. The
+'firewire_gen_psip' field specifies whether MythTV should generate
+MPEG2-TS PAT and PMT packets for broken cable boxes that do not.
\section dtv_multiplex_table Digital Television Multiplex Table (dtv_multiplex)
This table contains the information needed to tune to a particular
@@ -5848,6 +5849,16 @@ NULL
return false;
}
+ if (dbver == "1280")
+ {
+ const char *updates[] = {
+"ALTER TABLE capturecard ADD COLUMN firewire_gen_psip tinyint(1) default '0';",
+NULL
+};
+ if (!performActualUpdate(updates, "1281", dbver))
+ return false;
+ }
+
return true;
}
@@ -5930,6 +5941,7 @@ tmp.constData(),
" firewire_speed int(10) unsigned NOT NULL default '0',"
" firewire_model varchar(32) default NULL,"
" firewire_connection int(10) unsigned NOT NULL default '0',"
+" firewire_gen_psip tinyint(1) default '0',"
" dbox2_port int(10) unsigned NOT NULL default '31338',"
" dbox2_httpport int(10) unsigned NOT NULL default '80',"
" dbox2_host varchar(32) default NULL,"
Please sign in to comment.
Something went wrong with that request. Please try again.