[mythtv][patch] Updated Fix for Remote Card not recognized as remote on status html page.

DavidB mythtv at TheBlains.net
Sat Apr 2 03:05:11 UTC 2005


 

> -----Original Message-----
> From: Art Morales [mailto:bioart at gmail.com] 
> Sent: Friday, April 01, 2005 7:25 AM
> To: David Blain
> Subject: Re: [mythtv][patch] Fix for Remote Card not 
> recognized as remote on status html page.
> 
> Hi,
> 
> If I requested the XML file, it would just sit there 
> basically in an infinite loop, probably because it kept 
> giving me the remote backend on every line.  I took the patch 
> out and went back to cvs and that behaviour was not there.  
> (Though it still lists the remote card as local).
> 
> It seems like the problem is also on the log file, since all 
> entries I see without the patch appear local... (though this 
> could be just coincidence of not having any remote entries 
> when I look).  I will take a better look at this.
> 
> Art
> 

Art,

Here is an updated patch against CVS.  The only difference from the original
is a small change in httpstatus.cpp that stops an infinite loop if a remote
encoder is offline.

I finally have a remote backend working and have tested this patch with it.
The only thing that I noticed is that, every once and a while, the two
backends have problems communicating.  This would result in what seems like
a lock when the master backend is calling the remote encoders GetState()
method.  I'm not sure if this is a problem in the communications layer or
just the fact that my remote backend is actually running in a "Microsoft
Virtual Server 2005" session.  Either way, the call to get the slave backend
state is the same as it was before my changes.

Hope the attached patch is usable for you.  Let me know if you notice
anything else, and I will try to fix it ASAP.

Thanks,

David.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythbackend.diff
Type: application/octet-stream
Size: 1880 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050401/95ddcbb5/mythbackend.obj


More information about the mythtv-dev mailing list