[mythtv-commits] Ticket #13488: IPTV fix for deadlock, handle redirects

MythTV noreply at mythtv.org
Mon Oct 7 09:07:03 UTC 2019


#13488: IPTV fix for deadlock, handle redirects
-------------------------------------+-----------------------------
 Reporter:  ijc                      |          Owner:  paul-h
     Type:  Patch - Bug Fix          |         Status:  accepted
 Priority:  minor                    |      Milestone:  31.0
Component:  MythTV - HTTP Streaming  |        Version:  Master Head
 Severity:  medium                   |     Resolution:
 Keywords:                           |  Ticket locked:  0
-------------------------------------+-----------------------------

Comment (by Ian Campbell <ijc@…>):

 In [changeset:"2b6381407da5c10f29cecae4553c7d61c2f86046/mythtv"
 2b6381407/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="2b6381407da5c10f29cecae4553c7d61c2f86046"
 IPTVChannelInfo: explictly set IPTVTuningData protocol to invalid

 ... and avoid the protocol probe. The uses in the channel fetching code do
 not
 require it and this avoids hitting every single URL during a channel scan
 (which some providers do not appreciate).

 The channel fetcher code doesn't need the protocol, since it calls none of
 the
 relevant methods.

 Since the IPTVTuningData contructor argument list has changed we know that
 there are no other users of that particular form.

 While there constify `IsHLSPlaylist`

 Refs #13488
 Signed-off-by: Paul Harrison <pharrison at mythtv.org>
 (cherry picked from commit 896f0c816c175125291897b48a2850963c388175)
 }}}

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13488#comment:10>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list