[mythtv-commits] Ticket #11287: mythtv-setup can not add video sources when a large lineup exists in Schedules Direct

MythTV noreply at mythtv.org
Wed Dec 12 00:30:13 UTC 2012


#11287: mythtv-setup can not add video sources when a large lineup exists in
Schedules Direct
-----------------------------------+----------------------------
 Reporter:  skd5aner <skd5aner@…>  |          Owner:  danielk
     Type:  Bug Report - General   |         Status:  new
 Priority:  minor                  |      Milestone:  unknown
Component:  MythTV - Mythtv-setup  |        Version:  0.26-fixes
 Severity:  medium                 |     Resolution:
 Keywords:                         |  Ticket locked:  0
-----------------------------------+----------------------------

Comment (by skd5aner <skd5aner@…>):

 Per the email thread, I applied the following patch:

 {{{
 diff --git a/mythtv/libs/libmythbase/mythdownloadmanager.cpp
 b/mythtv/libs/libmy
 index cc1721b..2bbdc20 100644
 --- a/mythtv/libs/libmythbase/mythdownloadmanager.cpp
 +++ b/mythtv/libs/libmythbase/mythdownloadmanager.cpp
 @@ -813,7 +813,7 @@ bool MythDownloadManager::downloadNow(MythDownloadInfo
 *dlIn
      while ((!dlInfo->IsDone()) &&
             (dlInfo->m_errorCode == QNetworkReply::NoError) &&
             (((!dlInfo->m_url.startsWith("myth://")) &&
 -             (dlInfo->m_lastStat.secsTo(MythDate::current()) < 10)) ||
 +             (dlInfo->m_lastStat.secsTo(MythDate::current()) < 45)) ||
              ((dlInfo->m_url.startsWith("myth://")) &&
               (startedAt.secsTo(MythDate::current()) < 20))))
      {

 }}}


 That said, 45 might have been too long.  I think upping it from 10 to
 ~15-20 might have been sufficient in my case, based on me counting out
 loud while watching the console scroll to where it was successful.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11287#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list