[mythtv-commits] [MythTV/mythtv] 788920: Fix Airplay so that it can play music again.

David Hampton noreply at github.com
Fri Jan 22 15:14:15 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 78892087ed66c775227246aa5146be6a5d241975
      https://github.com/MythTV/mythtv/commit/78892087ed66c775227246aa5146be6a5d241975
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M mythtv/libs/libmythtv/AirPlay/mythraopconnection.cpp

  Log Message:
  -----------
  Fix Airplay so that it can play music again.

Frontend can be found as an Airplay receiver, but can't play music.
Fix a bug introduced during conversion to std::array (18a65151) to
restore functionality.


  Commit: 0625693b4fbd14e6b595fc07bcf01bd02122851a
      https://github.com/MythTV/mythtv/commit/0625693b4fbd14e6b595fc07bcf01bd02122851a
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M mythtv/libs/libmythbase/serverpool.cpp

  Log Message:
  -----------
  Revert change to serverpool.cpp (2eeb966cce) prior to adding new logic.


  Commit: 93f2eec3978fd0af718603963d008d02ff21b953
      https://github.com/MythTV/mythtv/commit/93f2eec3978fd0af718603963d008d02ff21b953
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M mythtv/libs/libmythbase/serverpool.cpp

  Log Message:
  -----------
  Handle sending UDP when using wildcard listens.

This problem was noticed while diagnosing a problem with AirPlay. The
code was unable to send any UDP packets back to the airplay server,
because all of attached PrivUdpSockets had an invalid address. Tweak
the code to not only try and find a socket with an appropriate network
range, but if that fails to fall back to looking for a wildcard socket
of the appropriate protocol.


  Commit: b2525069af8796b6f3718f2477e4a2813bfd2074
      https://github.com/MythTV/mythtv/commit/b2525069af8796b6f3718f2477e4a2813bfd2074
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M mythplugins/mytharchive/mytharchive/logviewer.cpp
    M mythplugins/mytharchive/mytharchive/videoselector.cpp
    M mythplugins/mythmusic/mythmusic/avfdecoder.cpp
    M mythplugins/mythmusic/mythmusic/cdrip.cpp
    M mythplugins/mythmusic/mythmusic/miniplayer.cpp
    M mythplugins/mythmusic/mythmusic/streamview.cpp
    M mythplugins/mythzoneminder/mythzoneminder/zmconsole.cpp
    M mythplugins/mythzoneminder/mythzoneminder/zmminiplayer.cpp
    M mythplugins/mythzoneminder/mythzoneminder/zmplayer.cpp
    M mythtv/libs/libmyth/guistartup.cpp
    M mythtv/libs/libmyth/guistartup.h
    M mythtv/libs/libmyth/mythcontext.cpp
    M mythtv/libs/libmythbase/housekeeper.cpp
    M mythtv/libs/libmythbase/lcddevice.cpp
    M mythtv/libs/libmythbase/libmythbase.pro
    A mythtv/libs/libmythbase/mythchrono.h
    M mythtv/libs/libmythbase/mythdbparams.h
    M mythtv/libs/libmythbase/mythsystem.h
    M mythtv/libs/libmythbase/mythsystemwindows.cpp
    M mythtv/libs/libmythbase/mythtimer.h
    M mythtv/libs/libmythbase/portchecker.cpp
    M mythtv/libs/libmythbase/test/test_mythtimer/test_mythtimer.h
    M mythtv/libs/libmythprotoserver/requesthandler/outboundhandler.cpp
    M mythtv/libs/libmythtv/AirPlay/mythairplayserver.cpp
    M mythtv/libs/libmythtv/AirPlay/mythraopconnection.cpp
    M mythtv/libs/libmythtv/Bluray/mythbdbuffer.cpp
    M mythtv/libs/libmythtv/Bluray/mythbdplayer.cpp
    M mythtv/libs/libmythtv/DVD/mythdvdbuffer.cpp
    M mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/io/mythmediabuffer.cpp
    M mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp
    M mythtv/libs/libmythtv/mythcommflagplayer.cpp
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythplayeroverlayui.cpp
    M mythtv/libs/libmythtv/mythplayerui.cpp
    M mythtv/libs/libmythtv/opengl/mythnvdecinterop.cpp
    M mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp
    M mythtv/libs/libmythtv/recorders/dvbchannel.cpp
    M mythtv/libs/libmythtv/recorders/dvbstreamhandler.cpp
    M mythtv/libs/libmythtv/recorders/firewiredevice.cpp
    M mythtv/libs/libmythtv/recorders/firewiresignalmonitor.cpp
    M mythtv/libs/libmythtv/recorders/hdhrrecorder.cpp
    M mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp
    M mythtv/libs/libmythtv/recorders/hlsstreamhandler.cpp
    M mythtv/libs/libmythtv/recorders/httptsstreamhandler.cpp
    M mythtv/libs/libmythtv/recorders/importrecorder.cpp
    M mythtv/libs/libmythtv/recorders/iptvrecorder.cpp
    M mythtv/libs/libmythtv/recorders/linuxfirewiredevice.cpp
    M mythtv/libs/libmythtv/recorders/mpegrecorder.cpp
    M mythtv/libs/libmythtv/recorders/satiprecorder.cpp
    M mythtv/libs/libmythtv/recorders/satipstreamhandler.cpp
    M mythtv/libs/libmythtv/recorders/satiputils.cpp
    M mythtv/libs/libmythtv/recorders/v4l2encrecorder.cpp
    M mythtv/libs/libmythtv/recorders/v4l2encstreamhandler.cpp
    M mythtv/libs/libmythtv/recorders/vboxutils.cpp
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_rec.cpp
    M mythtv/libs/libmythtv/tvremoteutil.cpp
    M mythtv/libs/libmythui/devices/lirc.cpp
    M mythtv/libs/libmythui/mythdisplay.cpp
    M mythtv/libs/libmythui/mythmainwindow.cpp
    M mythtv/libs/libmythui/mythpainterwindow.cpp
    M mythtv/libs/libmythui/mythscreenstack.cpp
    M mythtv/libs/libmythui/mythscreenstack.h
    M mythtv/libs/libmythui/mythudplistener.cpp
    M mythtv/libs/libmythui/mythuibutton.cpp
    M mythtv/libs/libmythui/mythuifilebrowser.cpp
    M mythtv/libs/libmythui/mythuistatetracker.cpp
    M mythtv/libs/libmythui/mythuiwebbrowser.cpp
    M mythtv/libs/libmythupnp/bufferedsocketdevice.cpp
    M mythtv/libs/libmythupnp/ssdp.cpp
    M mythtv/libs/libmythupnp/websocket.cpp
    M mythtv/programs/mythbackend/encoderlink.cpp
    M mythtv/programs/mythbackend/mainserver.cpp
    M mythtv/programs/mythbackend/scheduler.cpp
    M mythtv/programs/mythcommflag/ClassicCommDetector.cpp
    M mythtv/programs/mythcommflag/ClassicLogoDetector.cpp
    M mythtv/programs/mythcommflag/CommDetector2.cpp
    M mythtv/programs/mythcommflag/PrePostRollFlagger.cpp
    M mythtv/programs/mythexternrecorder/MythExternControl.cpp
    M mythtv/programs/mythexternrecorder/MythExternRecApp.cpp
    M mythtv/programs/mythfrontend/audiogeneralsettings.cpp
    M mythtv/programs/mythfrontend/backendconnectionmanager.cpp
    M mythtv/programs/mythfrontend/galleryinfo.cpp
    M mythtv/programs/mythfrontend/gallerythumbview.cpp
    M mythtv/programs/mythfrontend/idlescreen.cpp
    M mythtv/programs/mythfrontend/networkcontrol.cpp
    M mythtv/programs/mythfrontend/services/frontend.cpp
    M mythtv/programs/mythfrontend/themechooser.cpp
    M mythtv/programs/mythfrontend/upnpscanner.cpp
    M mythtv/programs/mythfrontend/videodlg.cpp
    M mythtv/programs/mythlcdserver/lcdprocclient.cpp
    M mythtv/programs/mythtranscode/videodecodebuffer.cpp
    M mythtv/programs/mythwelcome/welcomedialog.cpp

  Log Message:
  -----------
  Use std::chrono literals whenever possible.

The "chrono" header file includes literal strings that can be use to
mark a number as a time interval. This lets you write function calls
like this:

    sleep_for(std::chrono::milliseconds(25))

much more simply as:

    sleep_for(25ms)

Take advantage of this wherever possible.


  Commit: d2f97e8bd319c74059c119d9ee006b12f726a78b
      https://github.com/MythTV/mythtv/commit/d2f97e8bd319c74059c119d9ee006b12f726a78b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M mythplugins/mythmusic/mythmusic/musicdbcheck.cpp

  Log Message:
  -----------
  Fix "suspicious missing comma" warning in musicdbcheck.


Compare: https://github.com/MythTV/mythtv/compare/27ac82e34545...d2f97e8bd319


More information about the mythtv-commits mailing list