[mythtv-commits] mythtv branch master updated by jpoet. v0.28-pre-980-g8828cc5

Git Repo Owner noreply at mythtv.org
Wed Mar 12 20:31:18 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user jpoet.
       via  8828cc5e4698f72e25fcfc31782c42fda5079717 (commit)
      from  0cebae883303ede86f99832653cba5bccf839da0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8828cc5e4698f72e25fcfc31782c42fda5079717
Author:    John Poet <jpoet at mythtv.org> at Tue, 11 Mar 2014 16:48:53 -0600
Committer: John Poet <jpoet at mythtv.org> at Wed, 12 Mar 2014 14:28:31 -0600
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=8828cc5e4698f72e25fcfc31782c42fda5079717

Add the ability to scan for the programs in a MPTS stream from an IPTV source.
When scanning for channel, there is now a "M3U Import with MPTS" Scan Type
option.  If that is selected instead of "M3U Import", then after reading the
m3u to find the url, the stream will be parsed to find available programs,
which can then be inserted into the channel table.

To develop this, I installed the tools from OpenCaster
(http://www.avalpa.com/the-key-values/15-free-software/33-opencaster), and
used them to broadcast an MPTS file:

$ mkfifo fifo1.ts
$ mkfifo fifo2.ts
$ tsloop sample.mpts > fifo1.ts &
$ tsstamp fifo1.ts 95000000 > fifo2.ts &
$ tsudpsend fifo2.ts 127.0.0.1 5001 95000000

In myth, I created a "Freebox" UDP recorder with an m3u file which looks
like:

~~~~~~~~~~~~~~~~~~~~~~~~~
#EXTM3U
#EXTINF:0,5001 - UDP
#EXTMYTHTV:xmltvid=udp
udp://127.0.0.1:5001
~~~~~~~~~~~~~~~~~~~~~~~~~

I was then able to scan for the progams in the MPTS stream.

To create that sample.mpts file, I enable the "Record Full TS" option for
the "High Quality" profile, and then used that profile to record all the
subchannels available on one of my ATSC stations.  See [b0aa4e50c]



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/cardutil.h                   |    2 +-
 .../libs/libmythtv/channelscan/channelimporter.cpp |    4 +
 .../libs/libmythtv/channelscan/channelscan_sm.cpp  |   84 ++++++++++---
 mythtv/libs/libmythtv/channelscan/channelscan_sm.h |   12 +-
 .../libs/libmythtv/channelscan/channelscanner.cpp  |   48 ++++++--
 mythtv/libs/libmythtv/channelscan/channelscanner.h |    4 +-
 .../libmythtv/channelscan/iptvchannelfetcher.cpp   |  131 +++++++++++---------
 .../libmythtv/channelscan/iptvchannelfetcher.h     |    5 +-
 .../libmythtv/channelscan/scanwizardconfig.cpp     |    2 +
 .../libs/libmythtv/channelscan/scanwizardconfig.h  |    2 +
 mythtv/libs/libmythtv/dtvconfparserhelpers.cpp     |    1 +
 mythtv/libs/libmythtv/dtvconfparserhelpers.h       |    1 +
 mythtv/libs/libmythtv/dtvmultiplex.cpp             |   19 ++-
 mythtv/libs/libmythtv/dtvmultiplex.h               |    2 +
 mythtv/libs/libmythtv/frequencytables.cpp          |   23 ++++-
 mythtv/libs/libmythtv/frequencytables.h            |    9 ++
 mythtv/libs/libmythtv/recorders/asichannel.h       |    3 +-
 mythtv/libs/libmythtv/recorders/dtvchannel.cpp     |    2 +-
 mythtv/libs/libmythtv/recorders/dtvchannel.h       |    2 +-
 mythtv/libs/libmythtv/recorders/iptvchannel.cpp    |   25 ++--
 mythtv/libs/libmythtv/recorders/iptvchannel.h      |    8 +-
 mythtv/libs/libmythtv/recorders/iptvrecorder.cpp   |    6 +-
 mythtv/libs/libmythtv/scanwizard.cpp               |    6 +-
 mythtv/libs/libmythtv/videosource.cpp              |   12 ++-
 24 files changed, 292 insertions(+), 121 deletions(-)

-- 



More information about the mythtv-commits mailing list