[mythtv-commits] [MythTV/mythtv] d5dacf: mythexternrec: Add a cleanup system command option...

John Poet noreply at github.com
Fri Apr 3 16:11:33 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: d5dacff66275b7e45a7c2cf3dadfadcc7fc2a87f
      https://github.com/MythTV/mythtv/commit/d5dacff66275b7e45a7c2cf3dadfadcc7fc2a87f
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M mythtv/programs/mythexternrecorder/MythExternControl.cpp
    M mythtv/programs/mythexternrecorder/MythExternControl.h
    M mythtv/programs/mythexternrecorder/MythExternRecApp.cpp
    M mythtv/programs/mythexternrecorder/MythExternRecApp.h
    M mythtv/programs/mythexternrecorder/main.cpp

  Log Message:
  -----------
  mythexternrec: Add a cleanup system command option to the config file.

If [RECORDER][cleanup] is defined, it will be run whenever this external
recorder is shut down.


  Commit: d8d3b7422b220cbecaec518b350373075797026e
      https://github.com/MythTV/mythtv/commit/d8d3b7422b220cbecaec518b350373075797026e
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M mythtv/programs/mythexternrecorder/MythExternRecApp.cpp
    M mythtv/programs/mythexternrecorder/MythExternRecApp.h

  Log Message:
  -----------
  mythexternrec: Track channum so an unnecessary tune is not issued on back-to-back recordings.


  Commit: 56277c79b7474d87c31bc67785972df16620115e
      https://github.com/MythTV/mythtv/commit/56277c79b7474d87c31bc67785972df16620115e
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M mythtv/libs/libmythservicecontracts/services/dvrServices.h
    M mythtv/programs/mythbackend/scheduler.cpp
    M mythtv/programs/mythbackend/services/dvr.cpp
    M mythtv/programs/mythbackend/services/dvr.h

  Log Message:
  -----------
  Dvr::AddRecordSchedule: Allow last_record to be specified.

Scheduler::UpdateManuals: When creating the mythconverg.program entry,
populate program.originalairdate from record.last_record.


A little bit of a hack, but it is the cleanest solution without adding
another variable to mythconverg.record.


  Commit: 356dd5e39a61e3a5e433508bd6afc937ca7c9e30
      https://github.com/MythTV/mythtv/commit/356dd5e39a61e3a5e433508bd6afc937ca7c9e30
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M mythtv/programs/mythexternrecorder/MythExternControl.cpp
    M mythtv/programs/mythexternrecorder/MythExternRecApp.cpp

  Log Message:
  -----------
  mythexternrecorder: Allow use of channum with tuning command, even without a channel configuration file.


  Commit: 7c0b1421c49173a8955f6e090fbac9fc3d280ea4
      https://github.com/MythTV/mythtv/commit/7c0b1421c49173a8955f6e090fbac9fc3d280ea4
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/ExternalChannel.cpp
    M mythtv/libs/libmythtv/recorders/ExternalChannel.h

  Log Message:
  -----------
  ExternalChannel: When mythbackend is startting up, don't /actually/ tune a channel.

Tinning with an External Recorder can take a long time. As long as the
External Recorder can be executed, assume tinning a channel will succeed.


  Commit: 9a973f5b560c51b83f4af87c2e1a3bf82a5dbd77
      https://github.com/MythTV/mythtv/commit/9a973f5b560c51b83f4af87c2e1a3bf82a5dbd77
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/ExternalChannel.cpp
    M mythtv/libs/libmythtv/recorders/ExternalChannel.h
    M mythtv/libs/libmythtv/recorders/ExternalSignalMonitor.cpp
    M mythtv/programs/mythexternrecorder/MythExternControl.cpp
    M mythtv/programs/mythexternrecorder/MythExternControl.h
    M mythtv/programs/mythexternrecorder/MythExternRecApp.cpp
    M mythtv/programs/mythexternrecorder/MythExternRecApp.h
    M mythtv/programs/mythexternrecorder/commandlineparser.cpp
    M mythtv/programs/mythexternrecorder/main.cpp

  Log Message:
  -----------
  MythExternRecorder: Add support for long channel change times.

Add support for the external application to respond with "OK:Running" in
response to a tuning request.  The external application must then respond to
"TuningStatus" message.

This keeps LiveTV from timing out after 7 seconds when the tuning command
takes a long time. It also lets mythbackend start up much faster, since it
doesn't have to wait for a tuning command to complete before initializing
the next tuner.


Compare: https://github.com/MythTV/mythtv/compare/a2f19766c768...9a973f5b560c


More information about the mythtv-commits mailing list