Hey Chris,
Try the attached patch
It should fix the hangs you saw with the remote frontend
On Monday 09 May 2005 12:11 am, Chris Petersen wrote:
> well, finally got my mythbox back up and running after upgrading from
> bttv to pvr-150. Having some weirdness with newly-recorded shows such
> that the frontend hangs when I try to select a recording:
>
> 2005-05-08 23:04:33.630 write -> 10 519
> QUERY_PIXMAP_LASTMODIFIED[]:[]Iron Chef America[]:[]Flay vs. Arms...
>
> that's as far as I get with "-v all" -- I have to force-quit (or
> control-C from the console window) to get out.
>
> turning off GeneratePreviewPixmaps makes the problem go away (I use
> video previews, anyway).
>
> running cvs from 5/6 (I don't think there have been any significant
> commits since then)
>
> -Chris
> _______________________________________________
> mythtv-dev mailing list
> [email protected]
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
--
Risto Treksler
Elkhorn Lodge
Banff, Alberta, Canada
--- mythtv/programs/mythbackend/mainserver.cpp 2005-04-11 13:23:35.000000000 -0600
+++ mythtv/programs/mythbackend/mainserver.cpp 2005-05-11 02:48:11.000000000 -0600
@@ -3142,7 +3142,11 @@
QFileInfo finfo(filename);
lastmodified = finfo.lastModified();
- strlist += lastmodified.toString(f);
+ if (finfo.exists())
+ strlist += lastmodified.toString(f);
+ else
+ strlist = "BAD";
+
SendResponse(pbssock, strlist);
delete pginfo;
}
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev