[mythtv-commits] mythtv branch master updated by jpoet. v0.28-pre-1074-gb387dbe

Git Repo Owner noreply at mythtv.org
Sun Apr 20 21:45:50 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user jpoet.
       via  b387dbeb6e8edb42edf42b3173db1d9b31e9c8e5 (commit)
       via  44d6bb7de6a72d6e358243c4decc1c96b2b8873f (commit)
       via  391bf8f2d619b3a3d1d87c2e351169838408e2e9 (commit)
      from  6f246c0d1567bd84e1d9d30de7def724fc75e8f6 (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 b387dbeb6e8edb42edf42b3173db1d9b31e9c8e5
Author:    John Poet <jpoet at mythtv.org> at Sun, 20 Apr 2014 15:02:29 -0600
Committer: John Poet <jpoet at mythtv.org> at Sun, 20 Apr 2014 15:43:24 -0600
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=b387dbeb6e8edb42edf42b3173db1d9b31e9c8e5

Extend the time-outs in mythplayer to allow the analog side of the hvr-2250
to work.

Patch by webe3vt at aim.com

Fixes #11402



commit 44d6bb7de6a72d6e358243c4decc1c96b2b8873f
Author:    John Poet <jpoet at mythtv.org> at Sun, 20 Apr 2014 15:02:29 -0600
Committer: John Poet <jpoet at mythtv.org> at Sun, 20 Apr 2014 15:43:22 -0600
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=44d6bb7de6a72d6e358243c4decc1c96b2b8873f

Add an "External" recorder to Myth.  This allows myth to read in a Transport Stream via a pipe from an external application.  See http://www.mythtv.org/wiki/ExternalRecorder for documentation.



commit 391bf8f2d619b3a3d1d87c2e351169838408e2e9
Author:    John Poet <jpoet at mythtv.org> at Sun, 20 Apr 2014 15:02:28 -0600
Committer: John Poet <jpoet at mythtv.org> at Sun, 20 Apr 2014 15:43:21 -0600
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=391bf8f2d619b3a3d1d87c2e351169838408e2e9

Allow user to force a specific HLS bitrate to record.  Right now there is no
UI to make this easy, and I have mostly used it as a debugging tool.

To use this, the channel and iptv_channel tables need to be updated.

In the channel table, create a separate channel entry for each bitrate.  In other
words, instead of just having a SKYNEWS channel and allowing myth to auto
select the best bitrate for the available bandwidth, create three separate
SKYNEWS channels:  SKYNEWS-1, SKYNEWS-2, SKYNEWS-3.

INSERT INTO `channel` (`chanid`, `channum`, `freqid`, `sourceid`,
`callsign`, `name`, `icon`, `finetune`, `videofilters`, `xmltvid`,
`recpriority`, `contrast`, `brightness`, `colour`, `hue`, `tvformat`,
`visible`, `outputfilters`, `useonairguide`, `mplexid`, `serviceid`,
`tmoffset`, `atsc_major_chan`, `atsc_minor_chan`, `last_record`,
`default_authority`, `commmethod`, `iptvid`) VALUES
(5051,'5-1',NULL,5,'SKYNEWS-1','SKYNEWS-1','',NULL,'','19572',0,32768,32768,32768,32768,'Default',1,'',0,NULL,0,0,0,0,'2014-02-20 21:40:47','',-1,NULL),
(5052,'5-2',NULL,5,'SKYNEWS-2','SKYNEWS-2','',NULL,'','19572',0,32768,32768,32768,32768,'Default',1,'',0,NULL,0,0,0,0,'2014-02-20 21:40:47','',-1,NULL),
(5053,'5-3',NULL,5,'SKYNEWS-3','SKYNEWS-3','',NULL,'','19572',0,32768,32768,32768,32768,'Default',1,'',0,NULL,0,0,0,0,'2014-02-20
21:40:47','',-1,NULL);

In the iptv_channel table, also create a separate channel entry for each
bitrate, and set the 'bitrate' column to be the index of the desired
bitrate.

INSERT INTO `iptv_channel` (`chanid`, `url`, `type`, `bitrate`)
VALUES
(5051,'http://skynews-1.ml.llnwd.net/skynews_sd/smil:mbr_alpha.smil/playlist.m3u8','data',1),
(5052,'http://skynews-1.ml.llnwd.net/skynews_sd/smil:mbr_alpha.smil/playlist.m3u8','data',2),
(5053,'http://skynews-1.ml.llnwd.net/skynews_sd/smil:mbr_alpha.smil/playlist.m3u8','data',3);

I may change this from using an index to the actual desired bitrate.  If the
feed suddenly changes the bitrates they offer, though, that could cause it
to suddenly stop working.

If users find value in being able to select a specific bitrate, a UI will
have to be developed.



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

Summary of changes:
 mythtv/libs/libmythtv/cardutil.cpp                 |    4 +
 mythtv/libs/libmythtv/cardutil.h                   |   14 +-
 .../libs/libmythtv/channelscan/channelscanner.cpp  |    6 +
 .../libmythtv/channelscan/scanwizardconfig.cpp     |    4 +
 mythtv/libs/libmythtv/iptvtuningdata.h             |    7 +-
 mythtv/libs/libmythtv/libmythtv.pro                |   10 +
 mythtv/libs/libmythtv/mythplayer.cpp               |    5 +-
 .../libs/libmythtv/recorders/ExternalChannel.cpp   |   96 ++
 mythtv/libs/libmythtv/recorders/ExternalChannel.h  |   48 +
 .../libs/libmythtv/recorders/ExternalRecorder.cpp  |  219 +++++
 mythtv/libs/libmythtv/recorders/ExternalRecorder.h |   51 ++
 .../libmythtv/recorders/ExternalSignalMonitor.cpp  |  210 +++++
 .../libmythtv/recorders/ExternalSignalMonitor.h    |   45 +
 .../libmythtv/recorders/ExternalStreamHandler.cpp  |  917 ++++++++++++++++++++
 .../libmythtv/recorders/ExternalStreamHandler.h    |  116 +++
 mythtv/libs/libmythtv/recorders/HLS/HLSReader.cpp  |   44 +-
 mythtv/libs/libmythtv/recorders/HLS/HLSReader.h    |    5 +-
 mythtv/libs/libmythtv/recorders/channelbase.cpp    |    5 +
 mythtv/libs/libmythtv/recorders/dtvrecorder.cpp    |    4 +
 .../libs/libmythtv/recorders/hlsstreamhandler.cpp  |    4 +-
 mythtv/libs/libmythtv/recorders/iptvchannel.cpp    |    3 +
 mythtv/libs/libmythtv/recorders/recorderbase.cpp   |    7 +
 mythtv/libs/libmythtv/recorders/signalmonitor.cpp  |   10 +
 mythtv/libs/libmythtv/videosource.cpp              |   62 ++
 mythtv/libs/libmythtv/videosource.h                |   16 +
 mythtv/programs/mythfilerecorder/.gitignore        |    2 +
 .../mythfilerecorder/commandlineparser.cpp         |   33 +
 .../programs/mythfilerecorder/commandlineparser.h  |   14 +
 mythtv/programs/mythfilerecorder/main.cpp          |  489 +++++++++++
 .../programs/mythfilerecorder/mythfilerecorder.h   |   73 ++
 .../programs/mythfilerecorder/mythfilerecorder.pro |   21 +
 mythtv/programs/mythfrontend/scheduleeditor.cpp    |   17 +-
 mythtv/programs/mythfrontend/scheduleeditor.h      |    1 +
 mythtv/programs/programs.pro                       |    2 +-
 34 files changed, 2537 insertions(+), 27 deletions(-)
 create mode 100644 mythtv/libs/libmythtv/recorders/ExternalChannel.cpp
 create mode 100644 mythtv/libs/libmythtv/recorders/ExternalChannel.h
 create mode 100644 mythtv/libs/libmythtv/recorders/ExternalRecorder.cpp
 create mode 100644 mythtv/libs/libmythtv/recorders/ExternalRecorder.h
 create mode 100644 mythtv/libs/libmythtv/recorders/ExternalSignalMonitor.cpp
 create mode 100644 mythtv/libs/libmythtv/recorders/ExternalSignalMonitor.h
 create mode 100644 mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp
 create mode 100644 mythtv/libs/libmythtv/recorders/ExternalStreamHandler.h
 create mode 100644 mythtv/programs/mythfilerecorder/.gitignore
 create mode 100644 mythtv/programs/mythfilerecorder/commandlineparser.cpp
 create mode 100644 mythtv/programs/mythfilerecorder/commandlineparser.h
 create mode 100644 mythtv/programs/mythfilerecorder/main.cpp
 create mode 100644 mythtv/programs/mythfilerecorder/mythfilerecorder.h
 create mode 100644 mythtv/programs/mythfilerecorder/mythfilerecorder.pro

-- 



More information about the mythtv-commits mailing list