[mythtv] re: Preview images - skip commercial breaks.

Risto Treksler risto at elkhornbanff.ca
Mon Mar 21 16:40:02 UTC 2005


Hi,

I coded this this about three weeks ago 
with help from one of the main developers, 
but since he's been very busy, nothing has come of it so far.

To avoid further duplication of effort, I am posting this here now.
This works with multiple backends and multiple frontends including mythweb


PS

-flagged ads _and_ cutlists are honoured
-optionally the preview comes from the bookmark 
   -you can see where you left off
   -you can force mythweb to display a particular frame by setting a bookmark
-new backend query 'QUERY_PIXMAP_LASTMODIFIED' 
   -needed for remote frontends to check if the file is out of date
   -needed to check if file on slave BE is out of date
-made it possible for a remote frontend to refresh its cache 
   -if another frontend has regenerated the pixmap and the preview
    is actually newer than the cached copy, (reload but don't regenerate).
-fixed a bug in mythcontext.cpp, 
   -errors were spewed if the pixmap was not a part of a theme.
       -ie it was a preview that didn't exist yet.
   -i am just returning NULL instead of wasting time 
    on trying to load an image that doesn't exist.
-patched mythweb to use the new query to dynamically update its previews
   -works even if mythweb is installed on a dedicated box.


Works like a charm for me,
and I tested everything I could think of.
:)
let me know how i did,
I could use the constructive criticism.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/gzip
Size: 4491 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050321/6b04c8ef/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/gzip
Size: 1378 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050321/6b04c8ef/attachment-0001.bin


More information about the mythtv-dev mailing list