Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Patch to allow DVB to use XML channel files



I have been using dvbtune with my DVB-T card to generate an XML format dvbrc
file. This XML file contains some extra tags that DVB.cc has been
complaining about and which, until now, I have been editing out by hand.

The attached patch causes DVB to skip the folowing tags:

read_serv:
    <system_clock

read_stream:
    <subtitling_descriptor
    <subtitle_stream
    </subtitling_descriptor
    <data_stream_alignment

You can now use dvbtune to scan all the frequencies you are interested in
and create the dvbrc file automatically.

Pete
*** DVB.cc	2002-12-23 16:03:40.000000000 +0000
--- ../../DVB.4-12-2002/libdvb/DVB.cc	2002-10-10 20:46:21.000000000 +0100
***************
*** 1875,1879 ****
  		"<ca_descriptor", "<descriptor",
  		"<country_availability", "<ca_system_id", "<time_shifted_copy_of",
- 		"<system_clock",	
  		NULL
  	};
--- 1875,1878 ----
***************
*** 2000,2007 ****
  		"<ca_descriptor","<descriptor","<teletext","<stream_id", 
  		"<canal_radio", "<audio_info", "<description", "<ac3_descriptor",
- 		"<subtitling_descriptor",
- 		"<subtitle_stream",
- 		"</subtitling_descriptor",
- 		"<data_stream_alignment",
  		NULL
  	};
--- 1999,2002 ----
***************

Home | Main Index | Thread Index