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.
mythtv-dynamic-previews-final.diff.gz
Description: application/gzip
mythweb-dynamic-previews-final.diff.gz
Description: application/gzip
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
