[mythtv-users] Another cause of "length mismatch between programinfo" found

Tom Keddie tom at bronwenandtom.com
Sun Oct 3 05:50:00 UTC 2010


I gave the steps I used in the original post but little background.  As requested elsewhere, I can try to write a patch but with 2 kids under 2, my hands are tied.

The key was to emulate the frontend talking to the backend and see what the backend was returning.  Create a text file with the following in it.

24      MYTH_PROTO_VERSION 23056
24      ANN Monitor localhost 0
16      QUERY_TIME_ZONE
22      QUERY_RECORDINGS Play
5       DONE

Run this on the backend - it uses netcat to push the file at the backend.  

cat file.txt | nc -i 2 localhost 6543 >output.txt

Send me the resulting txt file (best to gzip it).  We need to look for stuff that looks out of place, you can see the ^@ in my previous mail.  I updated the database to remove these and all was good.

Cheers,
Tom


> Tom, could you explain in a simple way what exactly you did?
> 
> I have sort of the same problem but with the result that the frontend
> does show no recordings scheduled but the recordings actually work and
> even mythweb shows the upcoming recordings.
> 
> So how did you find what characters caused the problems and what did you do?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list