[mythtv] re: Preview images - skip commercial breaks.
Nicholas McCoy
mccoyn at gmail.com
Tue Mar 22 13:48:43 UTC 2005
I will definantly give your patch a try when I get a chance. The more
I worked on it, the more it seemed I would have to do DB stuff, which
I'm not very experienced with. I hadn't even thought about multiple
backends. Its good to see thats all done already.
On Mon, 21 Mar 2005 16:40:02 -0000, Risto Treksler
<risto at elkhornbanff.ca> wrote:
> 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-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
>
>
More information about the mythtv-dev
mailing list