INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: server plugin?  (Read 2198 times)

Rob L

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 469
server plugin?
« on: May 14, 2006, 05:51:00 pm »

Anyone know (John?) if it's at all possible to create a server plugin?

I've been trying to write for ages what is effectively a server plugin. I can do it as an interface plugin, but that's kind of weird since it's not actually really intended to have an interface, beyond informational output.

If I could get it to work as a server plugin it would make a lot more sense...

Thanks
Logged

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: server plugin?
« Reply #1 on: May 14, 2006, 05:54:37 pm »

You don't mention what you are intending on serving?
The other server plugins are interface plugins, nothing wrong with that.  :)
For example
 Library Server,
 TiVo Server
...

Interface plugins don't have to be visible to be active.

Rob L

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 469
Re: server plugin?
« Reply #2 on: May 14, 2006, 06:03:48 pm »

I didn't mention it cos it's not that interesting to most people :-)

there must be something special about the server plugins though - obviously they appear in a different place in the tree, and they have the start and stop buttons...

my program is currently an external exe and I always intended to convert it to a plugin, just thought it would make sense to turn it into a server plugin if it's possible.

It just serves the media library to a (non-UPnP) Philips Streamium.
Logged

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: server plugin?
« Reply #3 on: May 14, 2006, 06:06:50 pm »

Unless your running a new and wonderful version of Media Center I think
you'll find them in just the same place in the tree,
under services and plugins.
(MC 11.1.183)

As for the start and stop buttons, you can incorporate them into the plugin.
I've done something similar with EvilLyrics, although i've got enable and disable buttons.
http://img505.imageshack.us/img505/4738/evillyrics4qh.png

Rob L

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 469
Re: server plugin?
« Reply #4 on: May 14, 2006, 06:16:29 pm »

ok, I think I was thinking of an earlier version or something...

there's obviously still something special about the start/stop and options buttons, though...
Logged

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: server plugin?
« Reply #5 on: May 14, 2006, 06:20:06 pm »

there's obviously still something special about the start/stop and options buttons, though...

Lol, there really isn't!  While JRiver obviously have a fair amount of magic
in creating Media Center, I'm 99% sure they are just normal pixie dust free buttons
which stop and start the service.   Anyone can create them =)

Rob L

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 469
Re: server plugin?
« Reply #6 on: May 14, 2006, 06:23:30 pm »

but they're part of MC - not the plugin's form...

in your example, you've just created them as part of your form, and they're obviously not quite the same thing.
Logged

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: server plugin?
« Reply #7 on: May 14, 2006, 06:26:45 pm »

They are a part of the plugins form.  It's just that they are skinned with Media Center. 
If you use MFC/VC++ to create the plugin, then your plugin
will be skinned also.

You could then create identical looking buttons on the plugin,
in exactly the same place.

The EvilLyrics plugin was written using .NET and uses buttons that
are not recognised by Media Center, hence they are not skinned.
(So I made them green and black and popup style to be different)

Heading to bed.  Gone midnight here! 
Pages: [1]   Go Up