[mythtv-users] Cant add channel linup on fresh installs

Chris Pinkham cpinkham at bc2va.org
Fri Oct 12 05:27:33 UTC 2012


* On Thu Oct 11, 2012 at 10:39:08PM -0400, Ronald Frazier wrote:
> 2012-10-11 22:02:42.595376 D  DownloadManager: downloadProgress:
> http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService
> to  is at 53402 of -1 bytes downloaded

> 2012-10-11 22:02:52.596673 D  DownloadManager: Aborting download -
> lack of data transfer

> You can see at 2012-10-11 22:02:52.596673 it seems to time out and
> abort. I will say that Krys seems to have 3 lineups that are all (at
> least to me) quite large in number of channels. Not sure if that has
> anything to do with it (maybe SD is taking longer to process some of
> the data or something.

This is due to the 10-second idle timeout in mythdownloadmanager.cpp.

I'm curious how long this is taking to see if it makes sense to bump the
timeout up or if we're going to allow specifying a timeout per download
to allow Schedules Direct / TMS downloads to take longer.

If you compile from source, can you try something?

Edit libs/libmythbase/mythdownloadmanager.cpp and look around line 816 for this:

        (dlInfo->m_lastStat.secsTo(MythDate::current()) < 10)) ||

Change that 10 to a 15 and try again.  If that doesn't work, bump it up to 20
and try again, seeing how high you have to go to get it to work.  Also, how
many channels are we talking about?

--
Chris


More information about the mythtv-users mailing list