[mythtv] Playback starting in middle of stream, despite having no bookmark set

Jack Perveiler perveilerj at yahoo.com
Fri Sep 1 16:03:55 UTC 2006


Thanks for the reply, Stuart.

I may have found the problem.  It looks like recorded.bookmark should be either
set to 0 or 1... (at least in programinfo.cpp), but I have 3 entries with the
value 127 instead.  That seems odd...

It looks like in dbcheck.cpp, in the upgrade from dbver 1128, bookmark is
defined as TINYINT NOT NULL.  But in the upgrade from dbver 1070 there is a
"UPDATE recorded SET bookmark = NULL WHERE bookmark = 'NULL';"  Maybe people
upgrading from < 1070 to the present have their NULL's converted to 127?  And
maybe consumers of the field don't like that?  Lots of "maybe"s, I know.

I'll do some more research tonight.

--Jack 

--- Stuart Morgan <stuart at tase.co.uk> wrote:

> On Friday 01 September 2006 01:32, Jack Perveiler wrote:
> > I updated to trunk r10954 last week, and since them I've been having
> > intermittant cases of recordings playing back from somewhere in the middle
> > of the stream despite not having a bookmark set.
> <snip>
> > I'm going to be extra careful in the future so I'll definitely be able to
> > say I haven't saved a bookmark, but in the meantime is there a logging
> > level I should use?  I haven't figured out what triggers it precisely so I
> > want to be ready for it when it happens.
> 
> Ok, a bookmark is clearly being set in the recordedmarkup table so there is a
> 
> problem somewhere.
> 
> The only logging level which will reliably show the point where this bookmark
> 
> is being set is -v mysql, unfortunately it's a very verbose level especially 
> when recording.
> 
> I can't think of anywhere where we might set a bookmark without a 
> corresponding change to the bookmark flag in the recording table (responsible
> 
> for the bookmark icon/notification in mfe/mythweb).
> 
> If you can learn a little more, or get some logs with mysql on which show the
> 
> the bookmark being inserted into the db etc then open a ticket and assign it 
> to stuartm
> -- 
> Stuart Morgan
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the mythtv-dev mailing list