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

John Poet noreply at github.com
Wed Apr 8 20:51:07 UTC 2020


  Branch: refs/heads/fixes/31
  Home:   https://github.com/MythTV/mythtv
  Commit: 3867297afe19fb6853143e9542688e66c7bc1f39
      https://github.com/MythTV/mythtv/commit/3867297afe19fb6853143e9542688e66c7bc1f39
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-08 (Wed, 08 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.

(cherry picked from commit d5dacff66275b7e45a7c2cf3dadfadcc7fc2a87f)


  Commit: 4f79764adab0faea6f0e76074358bef902b13f14
      https://github.com/MythTV/mythtv/commit/4f79764adab0faea6f0e76074358bef902b13f14
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-08 (Wed, 08 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.

(cherry picked from commit d8d3b7422b220cbecaec518b350373075797026e)


  Commit: 1244eddac0d8d65533b997eea67019aa1866acdd
      https://github.com/MythTV/mythtv/commit/1244eddac0d8d65533b997eea67019aa1866acdd
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-08 (Wed, 08 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.

(cherry picked from commit 56277c79b7474d87c31bc67785972df16620115e)


  Commit: 49e545531a8ef6383abeb76a03220ae3ee880f7b
      https://github.com/MythTV/mythtv/commit/49e545531a8ef6383abeb76a03220ae3ee880f7b
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-08 (Wed, 08 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.

(cherry picked from commit 356dd5e39a61e3a5e433508bd6afc937ca7c9e30)


  Commit: a58ef59549d9accb5b874140a4a16823732bc4cf
      https://github.com/MythTV/mythtv/commit/a58ef59549d9accb5b874140a4a16823732bc4cf
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-08 (Wed, 08 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.

(cherry picked from commit 7c0b1421c49173a8955f6e090fbac9fc3d280ea4)


  Commit: 74544819067773869c87c4b1974e46dc9ad9e41f
      https://github.com/MythTV/mythtv/commit/74544819067773869c87c4b1974e46dc9ad9e41f
  Author: John Poet <jpoet at mythtv.org>
  Date:   2020-04-08 (Wed, 08 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.

(cherry picked from commit 9a973f5b560c51b83f4af87c2e1a3bf82a5dbd77)


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

  Changed paths:
    M mythtv/libs/libmythtv/recorders/ExternalChannel.cpp
    M mythtv/programs/mythexternrecorder/MythExternRecApp.cpp

  Log Message:
  -----------
  ExtneralChannel: Use InProgress instead of running or starting to indicate a long running tunning operation.

Thanks to Gary Buhrmaster for the suggestion.

(cherry picked from commit 1dd0408e236e354f72eaed02c1119bb2b3f4a157)


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

  Changed paths:
    M mythtv/libs/libmythtv/recorders/ExternalRecorder.cpp

  Log Message:
  -----------
  ExternRecorder: Fix live tv channel changes.

(cherry picked from commit 18fa5fff1b9ac862cea0c5e8a3fb8981052bd6a3)


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

  Changed paths:
    M mythtv/libs/libmythtv/channelscan/externrecscanner.cpp
    M mythtv/libs/libmythtv/recorders/ExternalRecChannelFetcher.cpp
    M mythtv/libs/libmythtv/recorders/ExternalRecChannelFetcher.h
    M mythtv/programs/mythexternrecorder/MythExternRecApp.cpp

  Log Message:
  -----------
  ExternalRecorder: Allow for optional ICON field is channels.

Any ExternalRecorder which supports fetching channel information can
now supply the icon image filename.  That information will be
populated into the mythconverg.channel table. The file is NOT
/installed/ anywhere and must exist where mythbackend looks for such
files.

(cherry picked from commit be7417fa483f650980767d053fc0cf4a20eac8f2)


Compare: https://github.com/MythTV/mythtv/compare/a465f1b03d50...daa1d5d8e2a6


More information about the mythtv-commits mailing list