Hi Kristian,

Thanks for your interest in Elisa, and on hacking for Elisa!

I'm very sorry nobody has answered that question yet, but the thing is:
it's a tricky one.
The problem is that the present architecture of the player does not
allow for a lot of control from plugins. For now, the displaying of
these images, as well as a lot of other things that should be specific
to some plugins, is handled entirely in the player.
To make it possible to put an image in the background of the player from
a plugin, we would need to do quite some refactoring work in the
PlayerController (in poblesec/player_video.py; yes, the file is called
player_video, but that's what's used for music as well), and in
particualr in its (huge) _player_status_cb() method. I don't know if
anyone has planned to do such a thing, but reworking the player is
definitely something we should do sooner than later, right now, it's
next to properly interact with it from a plugin...

So, in a nutshell, if you haven't figured out how to do it, and if
nobody was able to tell you how to do it, that's simply because it's not
possible.
Of course, if you have time to spend working on that (non trivial) task
of refactoring the player, we would be happy to advise you and to review
a patch.

Guillaume

On 21:44 Thu 12 Mar     , Kristian Lippert wrote:
> 
> Hi 
> 
> Here is my weekly cry for help:
> 
> I still havn't figured out how to put an image in the player when using a 
> custom plugin
> 
> Could any with knowledge of the player or the database plugin please help me!
> 
> At least point me to some code I can look at.
> 
>  
> 
> Best Regards,
> 
> Kristian Lippert
> 
> _________________________________________________________________
> News, entertainment and everything you care about at Live.com. Get it now!
> http://www.live.com/getstarted.aspx

Reply via email to