[mythtv] [PATCH] Preview images - skip commercial breaks - updated

Risto Treksler risto at elkhornbanff.ca
Sat Mar 26 03:08:50 UTC 2005


HI,

Some updates and fixes to the commercial skip for preview images code.

MYTHWEB
-------------
-make it actually work ;) 
      - turns out the images were actually being updated by the frontend
      - this is fixed now - mythweb updates images on backends now
      - sorry for the confusion - if any
-make the patch apply to current CVS

MYTHTV
----------
-make the "preview from bookmark" option take the preview from a bookmark
 even if the bookmark is inside a "commercial"
 (comm flagging was wrong often enough for this to be a problem :( )


On Tuesday 22 March 2005 06:48 am, Nicholas McCoy wrote:
> 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
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

-- 
Risto Treksler
Elkhorn Lodge
Banff, Alberta, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv-dynamic-previews-20050325.diff.gz
Type: application/x-gzip
Size: 4421 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050325/b6d7f4c8/mythtv-dynamic-previews-20050325.diff.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythweb-dynamic-previews-20050325.diff.gz
Type: application/x-gzip
Size: 1390 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050325/b6d7f4c8/mythweb-dynamic-previews-20050325.diff.bin


More information about the mythtv-dev mailing list