MediaPortal Forums HTPC/MediaCenter

Sponsored Ads

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Development

Development You want to code something for the TV-Server? Share it in here!

Reply
 
LinkBack Thread Tools Display Modes
Old 2006-10-23, 16:50   #1 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,515
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default Developing TvServer plugins

read more about how to develop TvServer plugins in the wiki

TV-Server Development/tv-server plugins guide - MediaPortal Wiki Documentation

and here:
TV-Server Development/tv-server plugin events - MediaPortal Wiki Documentation

Last edited by charli181; 2008-03-07 at 01:11. Reason: Updated URL's 7 Mar 08
frodo is offline   Reply With Quote
Old 2006-10-23, 22:59   #2 (permalink)
Portal Developer
 
Join Date: Jul 2006
Age: 32
Posts: 405
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Default

Quote:
Originally Posted by frodo View Post
read more about how to develop TvServer plugins in the wiki

http://wiki.team-mediaportal.com/TV-...vserverplugins
I saw the plugin support code in SVN today and could not beleive. Man, that was much sooner than I was expecting.

I would be happy if this could happen before next year and now is already there. Amazing.

Congratulations (again) frodo.

BTW: Are you planning to implement some kind of messaging so plug-ins can react to the tvserver (like channel change)?

Last edited by joboehl; 2006-10-23 at 23:02.
joboehl is offline   Reply With Quote
Old 2006-10-24, 06:05   #3 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,515
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

Quote:
BTW: Are you planning to implement some kind of messaging so plug-ins can react to the tvserver (like channel change)?
Yes, that's mising right now, but its the next thing todo
frodo is offline   Reply With Quote
Old 2006-10-24, 12:46   #4 (permalink)
Portal Developer
 
Join Date: Jul 2006
Age: 32
Posts: 405
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Default

Quote:
Originally Posted by frodo View Post
Quote:
BTW: Are you planning to implement some kind of messaging so plug-ins can react to the tvserver (like channel change)?
Yes, that's mising right now, but its the next thing todo
Man, amazing. Will get working on Myblaster right now.

Congrats, once again.

JUlio
joboehl is offline   Reply With Quote
Old 2006-10-24, 14:01   #5 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,515
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

there is a new section in the wiki explaining how to subscribe to
tvserver events

Frodo
frodo is offline   Reply With Quote
Old 2006-10-27, 20:50   #6 (permalink)
Portal Developer
 
Join Date: Jul 2006
Age: 32
Posts: 405
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Default

Frodo, only saw your response now. Thanks a lot for this.

Will propably have something working this weekend in regards of MCE Blasting.

Julio
joboehl is offline   Reply With Quote
Old 2006-10-28, 06:55   #7 (permalink)
Portal Developer
 
Join Date: Jul 2006
Age: 32
Posts: 405
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Default

Hi Frodo,

I almost got the blasting working, but I whant to ask for you advice before I go on.

In the EventArgs class that contains the information for the event, there is no channel number information in the IChannel object, besides the one inside the string returned by the ToString() method.

I understand that the IChannel object for the AnalogCards do have that information, but I can't (at least don't know how) access this properties in the eventArg.

Do you think parsing the textstring looking for the channel number is the way to go or the interfaces/properties are subject to change?

Please keep in mind that I started coding for .Net not very long ago, so if I'am making some mistake, please let me know.

Thanks for your help.

Julio
joboehl is offline   Reply With Quote
Old 2006-10-28, 07:51   #8 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,515
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

IChannel is an generic interface
To see if its an analog channel try this:
Code:
AnalogChannel analogChannel=ichannelInterface as AnalogChannel;
if (analogChannel==null) return;
int channelNumber = analogChannel.ChannelNumber;
frodo is offline   Reply With Quote
Old 2006-10-29, 03:22   #9 (permalink)
Portal Developer
 
Join Date: Jul 2006
Age: 32
Posts: 405
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Default

Frodo,

Thanks a lot for the help. I managed to port the myblaster plug-in and now I can put the tvserver with the stb in the basement if I want (not that I have one) . I'll clean the code up and share later this week.

wanna take the opportunity to tell that the structure of this new engine seems much better than the older one. From the controller design to the classes. Seems much more flexible. Good job.

And altough i did encountered some problems in my initial testing (expected), the performance and quality of the streaming really impressed me. I was able to stream to 3 machines over wireless, that's almost impossible with MCE for example.

Once again, congratulations.

Julio
joboehl is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
'Failed to start timeshifting, unable to create graph'.... cashel General Support 3 2006-05-19 21:27
Plugins: NOT User-friendly! MyHTPC allover again:-( msj33 Website/Forum/Wiki Feedback 14 2006-04-11 12:08
Gathering topical infos about plugins (To: authors & use tomtom21000 Plugins 2 2006-02-04 23:20
Plugins loading... problems maniac's General Development (no feature request here!) 0 2005-01-07 09:25


All times are GMT +1. The time now is 16:35.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Integrated by BBpixel ©2004-2008, jvbPlugin
Protected by Akismet Blog with WordPress