MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » Improvement Suggestions


Improvement Suggestions You have an idea how MediaPortal could be improved? Post it in here.

Reply
 
Thread Tools Display Modes
Old 2004-05-28, 22:15   #11 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

I could help if I could get a c# wrapper for the usb-uirt api.

I do alot of c# coding, but would need help writing the wrapper for the api
Not sure how to handle some of that but interfacing to the media portal I
could attempt.
  Reply With Quote
Old 2004-05-29, 05:14   #12 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

nettiger,

Spent some time on this tonight and made great progress. But, I hope you are OK with the direction I'm going.

I have chosen to work towards supporting external tuners using Girder:

http://www.girder.nl/

If you aren't familliar with Girder, please take a moment to read up on it. Particularly the "Getting Started with Girder" section:

http://www.girder.nl/help/gettingstarted/index.php

Girder is very powerful, albiet somewhat confusing to get setup the first time. Both SnapStream and ShowShifter have support for external tuners using Girder (although now SnapStream supports the USB-UIRT directly).

I thought about going after the USB-UIRT directly myself, but that would only benefit me. If we go through Girder, it opens up the opportunity to support many other IR blasters and serial port controlled devices that are already written as plugins for girder. The downside, of course, is that Girder costs $20.

Tonight I was successful in teaching Girder how to communicate through the USB-UIRT with my Sony receiver here in my office. I was also able to write a quick little application in C# to turn the receiver on and off and even change channels. It was surprisingly easy once I understood how it all fits together.

If we do actually bring this interface to MediaPortal, we will want to get an official unique Girder plugin number:

http://www.girder.nl/developer.php

SSGirderTuner, for example, is plugin #74.

I could whip up the code for the external link with Girder in about 10 minutes. But the problem I have is how to integrate it with MediaPortal and the way they do their tuners. As I've said before, I'd really like the help of one of the devs that's familliar with the code. But if they aren't interested and someone else has looked at it and is comfortable working with me to get it in, then drop me a line.

Regards,

eXe
  Reply With Quote
Old 2004-05-29, 10:20   #13 (permalink)
Retired Team Member
 
Join Date: Apr 2004
Age: 34
Posts: 822
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

having a dev conversation via email or a forum is not really handy.
If you come on IRC on monday #mediaportal on EFNET then you can meet up with Frodo and discuss this.
MrMario64 is offline   Reply With Quote
Old 2004-05-30, 07:10   #14 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

Fair enough, I'll try to make it. I just didn't know what the procedure was.

Can you give me an idea of what time and timezone to be there?
  Reply With Quote
Old 2004-06-02, 18:39   #15 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

eXentric,

Sorry I have been away a few days.

I will take a look at the girder program to see how it works.

I thought the the girder was for remote controls only.

I glad to see you have something going with it.

I would like to get a copy of the c# prog you wrote and try it.

Maybe I will see you in the chatroom. I am on eastern time (US) .
When I am in the chatroom, it is usually 12 to 5 pm est but I could be flexible
  Reply With Quote
Old 2004-06-03, 05:18   #16 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

No problem about the reply. I have been extremely busy myself.

I'm not usually on IRC. I tried to make the last chat, but I never got a time to be there. I PMd you with my IM information. You can IM me whenever you feel like it.

Unfortunately, I'm just really busy lately with the job, and will continue to be busy until the end of July. Otherwise I don't get my big deadline bonus.

I can send you the code. It's really very simple. The confusing part is understanding how Girder receives 'inputs' and converts them to 'outputs'. I can explain it to you over IM, and if necessisary I can throw a How-To together.

This page explains using Girder from SnapStream to change channels on a Motorolla DCT2000 cable box using the serial cable:

http://www.ubiqsoft.com/snapstream/s...AndDct2000.htm

Nearly the same steps are used to talk to the USBUIRT on USB rather then the cable box directly connected via serial. Girder allows you to select an event and cause an action to occur. Like a certain keyboard hotkey combination can cause your USBUIRT to toggle the power on your receiver via infrared. All we have to do is make our own 'special' events that you can subscribe to in Girder. Rather then a keyboard hotkey, we make Media Portal send a special event to Girder when the channel needs to change. Then, in Girder, whenever that "MediaPortal channel change" event occurs you do whatever you want. You could have Girder turn the lights on and off, but most likely you'll probably have it change channels via USBUIRT, serial, etc
  Reply With Quote
Reply

Bookmarks

Tags
box, cable, digital, external, receiver

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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DVB-C and UPC digital - success story or the opposite LXB MediaPortal 1 Talk 8 2006-07-30 20:16
Help with setup of RC4 snr_duck Installation, configuration support 9 2006-04-25 23:35
Multiple Bug Report eyecue The old Bugreport Forum 2 2006-04-24 12:54
Slow channel change and Stuttering TV with Kworld DVBT rtruninger General Support 0 2005-11-06 03:19
Two BDA cards in 0.2 Causing channel to lockup/freeze BigBuddha General Support 3 2005-10-22 14:43


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


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden