[mythtv] Patch to use tv_grab_uk --auto-chan-numbers

Mr. Adam ALLEN mythtv-dev@snowman.net
Mon Jan 6 19:29:30 EST 2003


--=-qckMHV1gzYxLuxYTgfwL
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-01-06 at 19:11, Matt Zimmerman wrote:
> On Mon, Jan 06, 2003 at 05:24:05PM +0000, Mr. Adam ALLEN wrote:
>=20
> > n Mon, 2003-01-06 at 11:38, Matthew Burnham wrote:
> > > Attached patch utilises the tv_grab_uk --list-regions option now
> > > available.
> >=20
> > The attached simple patch takes care of mythfilldatabase (which require=
s
> > --auto-chan-numbers passing), after the fantastic GUI work  which has
> > gone on for tv_grab_uk.
> > [...]
> > -        command.sprintf("nice -19 %s --days 7 --config-file %s --outpu=
t %s",
> > +        command.sprintf("nice -19 %s --days 7 --auto-chan-numbers --co=
nfig-file %s --output %s",
>=20
> Why is --auto-chan-numbers required?
>=20
> I'm hesitant to change this because it will break compatibility with the
> current tv_grab_uk.

There are other applications built to use tv_grab_uk which probably
won't be expecting channel numbers to appear in the XML, which is why
the --auto-chan-numbers options was added, so as not to interfere with
or potentially break other applications.


before modification (without --auto-chan-numbers)
	<channel id=3D"north.bbc1.bbc.co.uk">
after modification:=20
	<channel id=3D"1 north.bbc1.bbc.co.uk">

before modification (without --auto-chan-numbers)
	<programme start=3D"20030106073000 GMT" stop=3D"20030106080000 GMT"
channel=3D"north.bbc1.bbc.co.uk">
after modification:
	<programme start=3D"20030106073000 GMT" stop=3D"20030106080000 GMT"
channel=3D"1 north.bbc1.bbc.co.uk">




--=20
Regards,
Adam Allen.

adam@dynamicinteraction.co.uk
pgp http://search.keyserver.net:11371/pks/lookup?op=3Dvindex&search=3Dadam%=
40dynamicinteraction.co.uk


--=-qckMHV1gzYxLuxYTgfwL
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA+GdkZAPXfGBB3hLYRAgCXAJ9QKgllwgke1o23bKpFNnOwpggnjwCZAdy9
m/sJI8z3YlYICF8ffh80IZo=
=oiCr
-----END PGP SIGNATURE-----

--=-qckMHV1gzYxLuxYTgfwL--



More information about the mythtv-dev mailing list