LinuxMCE Forums

General => Users => Topic started by: mathieu on July 09, 2010, 03:05:22 pm

Title: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: mathieu on July 09, 2010, 03:05:22 pm
Hi All,

I just followed this wiki http://wiki.linuxmce.com/index.php/Picture_Viewer (http://wiki.linuxmce.com/index.php/Picture_Viewer).
It works, except the pictures are alpha blended on top of the Photo Screen Saver which makes it unusable.

A search in the forum didn't bring up anything.
I there a way to correct this?

br mathieu
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: stallione on July 10, 2010, 05:07:34 am
I tested it and ran into the same problem, I think the screen saver needs to be blanked out or splashed with a black screen when the picture viewer is started. Not sure if there is a ticket already open for it.
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: totallymaxed on July 10, 2010, 10:57:21 am
I tested it and ran into the same problem, I think the screen saver needs to be blanked out or splashed with a black screen when the picture viewer is started. Not sure if there is a ticket already open for it.

This also affects Web Browsing & other computing Apps... they do not disable the pss when they are running.

Andrew
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: Marie.O on July 10, 2010, 11:18:26 am
This also affects Web Browsing & other computing Apps... they do not disable the pss when they are running.

Is this still true on 810?
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: totallymaxed on July 10, 2010, 11:36:09 am
This also affects Web Browsing & other computing Apps... they do not disable the pss when they are running.

Is this still true on 810?

It was a few months back... but this could have been fixed since that time. The Picture Viewer needs a media type that disables the pss.

Andrew
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: tschak909 on July 12, 2010, 03:08:27 am
guys, you don't read the API close enough.

pay attention to the MediaStream object in Media PlugIn.

If ContainsVideo in your subclass returns true, then the Photo Screen Saver is disabled. Simple as that. Look at my Game and Hulu Plugin's mediastream subclasses.

-Thom
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: sambuca on July 12, 2010, 09:36:27 pm
It should disable the screen saver. Does the screen saver show a static image, or are they zooming and panning as usual?

Thom: The picture viewer uses the standard MediaStream class which has ContainsVideo return true when the media type is the picture type.

best regards,
sambuca
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: mathieu on July 13, 2010, 03:31:50 pm
Hi,

The Photo Screen Saver shows a static background image. Pictures of the Picture Vieuwer are alpha blended on top and also not full screen.

br mathieu
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: sambuca on July 16, 2010, 08:37:23 pm
Would you mind trying out a new version that might solve the problem? Download the new file from  http://hob.dyndns.org/lmce/Picture_Viewer (http://hob.dyndns.org/lmce/Picture_Viewer) and install it to /usr/pluto/bin on the MD(/hybrid). Reload the router, and test again.

best regards,
sambuca
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: mathieu on July 18, 2010, 03:30:30 pm
Hi sambuca,

Sure I wanna try, but is it possible the url is wrong?

The requested URL /LinuxMCE/Picture_Viewer was not found on this server.

br mathieu
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: sambuca on July 18, 2010, 08:22:38 pm
Oops, sorry, the correct url is http://hob.dyndns.org/lmce/Picture_Viewer (http://hob.dyndns.org/lmce/Picture_Viewer)

br,
sambuca
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: pw44 on July 19, 2010, 12:13:32 pm
Still not working
Code: [Select]
Not Found

The requested URL /LinuxMCE/Picture_Viewer was not found on this server.
Apache/2.2.9 (Debian) mod_jk/1.2.26 PHP/5.2.6-1+lenny8 with Suhosin-Patch Server at hob.dyndns.org Port 80
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: sambuca on July 19, 2010, 04:07:43 pm
wtf. I'm sure I put the right one in last time. The url should read / _lmce_ /Picture_Viewer , without the _s

br,
sambuca
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: wierdbeard65 on July 19, 2010, 04:11:42 pm
I can confirm that the URL does read that and doesn't work ;)

HTH
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: sambuca on July 19, 2010, 04:13:02 pm
Yes, it seems our friendly forum decides to replace all _lmce_ with LinuxMCE, very helpfull  >:(

br, sambuca
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: stallione on July 21, 2010, 02:16:48 am
Hi sambuca,
Tested the new Picture_Viewer and it works like a charm! Thanks.
Please have it rolled up into the next build so others may be able to use it as well.
Stallione
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: sambuca on July 21, 2010, 08:54:58 am
Ok, thanks for testing. I will add it to the next build.

br,
sambuca
Title: Re: Picture Viewer shows pictures alpha blended on top of Photo Screen Saver
Post by: pw44 on July 21, 2010, 10:50:19 pm
Works fine here too. Thx!