[mythtv-commits] [MythTV/mythtv] a9c764: python bindings: Use "not None" to test for valid ...

John Poet noreply at github.com
Fri Jul 8 21:43:18 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: a9c76438fab63e6bb4af28c15f6195c6503ca83b
      https://github.com/MythTV/mythtv/commit/a9c76438fab63e6bb4af28c15f6195c6503ca83b
  Author: John Patrick Poet <jpoet at mythtv.org>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/bindings/python/MythTV/services_api/send.py

  Log Message:
  -----------
  python bindings: Use "not None" to test for valid arguments.


  Commit: 573cfcba3be326fc47c0cbfedfa9c5081f93141e
      https://github.com/MythTV/mythtv/commit/573cfcba3be326fc47c0cbfedfa9c5081f93141e
  Author: John Patrick Poet <jpoet at mythtv.org>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/libs/libmythtv/cardutil.cpp

  Log Message:
  -----------
  CardUtil InputGroups: unlink temporary cardid 0 after a real card is linked.

When CardUtil::CreateInputGroup is called, it creates a temporary entry with
a cardid of zero (0). That is no longer needed once a real cardid is linked
to the group to remove it at that time.

videosource.cpp does a general cleanup by calling
CardUtil::UnlinkInputGroup(0,0); which I have left for now, but could be
removed now that it is done automatically whenever a input group link is created.

Yes, doing the cleanup on every link is slightly more inefficient, but the
code flow is cleaner and easier to follow without missing the cleanup step.


  Commit: e1f140f329379aa21164a25003e0336ca77aa0ad
      https://github.com/MythTV/mythtv/commit/e1f140f329379aa21164a25003e0336ca77aa0ad
  Author: John Patrick Poet <jpoet at mythtv.org>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M mythtv/programs/mythbackend/servicesv2/v2capture.cpp
    M mythtv/programs/mythbackend/servicesv2/v2capture.h
    M mythtv/programs/mythbackend/servicesv2/v2captureCard.h
    M mythtv/programs/mythbackend/servicesv2/v2captureCardList.h

  Log Message:
  -----------
  v2servicesAPI: Add GetUserInputGroupList, AddUserInputGroup, LinkInputGroup, LinkInputGroup


Compare: https://github.com/MythTV/mythtv/compare/6c6cb3448c0c...e1f140f32937


More information about the mythtv-commits mailing list