NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 964 965 966 967 968 … 1231 Next »
Girder 4 compatability

 
  • 0 Vote(s) - 0 Average
Girder 4 compatability
esajesa
Offline

Junior Member

Posts: 8
Threads: 4
Joined: Jul 2005
#1
2005-09-04, 03:07 PM
Hi,

I wonder if there's any plans on making the Girder channel changer compatible with Girder 4?? I know G4 is still in beta, but it's so stable now I've moved over everything else to it, and would love to move over the GBPVR stuff as well.

Cheers,
Jens
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,795
Threads: 769
Joined: Nov 2003
#2
2005-09-04, 04:59 PM
There is no plans to change the Girder support in GB-PVR at this stage. I would be surprised if Girder 4 requires changes.
esajesa
Offline

Junior Member

Posts: 8
Threads: 4
Joined: Jul 2005
#3
2005-09-06, 08:29 AM
Hi Sub,

well, prepare to get surprised! ;-) The communication protocol in G4 is completely different from G3.3, even a Girder 4 instance can't talk to a Girder 3.3.

Do you have the code for the current Girder support available? I could perhaps take a look and see if I can change it to support G4 myself.

Cheers,
Jens
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,795
Threads: 769
Joined: Nov 2003
#4
2005-09-06, 05:50 PM
GB-PVR doesnt talk directly to Girder, instead it just opens a socket (to the internet event server) and sends strings then closes the socket. I would be surprised if they change how I have to pass information the Internet Event Server plugin. That said, if the they've changed the API, then someone will need to update the Internet Event Server, which I'm sure will be done very quickly.
esajesa
Offline

Junior Member

Posts: 8
Threads: 4
Joined: Jul 2005
#5
2005-09-06, 07:13 PM
Hi again,

yes, the API has changed. They've gone from using the IES to something called Comserver, which uses a different protocol. I've done quite a bit of developing in Girder, and that's why I offered to take a look at doing the necessary changes.

I've gone over to G4 with my whole setup now, and GBPVR is the last part. I love your product, and this is the last thing I want done for now! Big Grin

Anyways, let me know if you want/need any info.

Cheers,
Jens
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,795
Threads: 769
Joined: Nov 2003
#6
2005-09-06, 07:24 PM
Below is the GB-PVR girder code. I dont personally use Girder, but if you can provide an alternative implmentation, then I'll update it. Otherwise it'll just have to stay broken for Girder 4.
Code:
        public void setChannel(int channel)
        {
            Logger.Verbose("GirderTunerController.setChannel " + channel);
            string channelNumber = channel.ToString();
            if (useZeroPadding)
            {
                channelNumber = channel.ToString("00");
                if (useThreeDigitChannelNumbers)
                {
                    channelNumber = channel.ToString("000");
                }
            }

            Logger.Verbose("channel number: " + channelNumber);

            // send girder events
            TcpClient tcpClient = new TcpClient();
            try
            {
                tcpClient.Connect(host, port);

                NetworkStream networkStream = tcpClient.GetStream();
                StreamReader input = new StreamReader(networkStream);
                StreamWriter output = new StreamWriter(networkStream);
                output.AutoFlush = true;
                output.NewLine = "\n";

                output.WriteLine("quintessence");
                String cookie = input.ReadLine();
                output.WriteLine(getMD5String(cookie + ":" + password));
                String accept_result = input.ReadLine();                

                if (accept_result.Equals("accept"))
                {
                    // send keys
                    for (int i=0; i<channelNumber.Length; i++)
                    {                
                        Logger.Verbose("Sending: GB_TUNE_" + channelNumber[i]);
                        output.WriteLine("GB_TUNE_" + channelNumber[i]);                        
                    }                                        

                    output.WriteLine("GB_TUNE_EON");                        
                    output.WriteLine("GB_CHANNEL_" + channelNumber);

                    output.WriteLine("close");
                }
                else
                {
                    Logger.Verbose("Girder login not accepted");
                }
                
                output.Close();
                input.Close();
            }
            catch (Exception ex)
            {
                Logger.Error("Error sending girder event: " + ex.Message);
                Logger.Error(ex.StackTrace);
            }
            finally
            {
                tcpClient.Close();
            }
        }
mixedup
Offline

Senior Member

Posts: 254
Threads: 43
Joined: Oct 2005
#7
2005-10-06, 11:47 AM
hi esajesa,

Just to let you know I'm looking at having to integrate my 2005 MCE remote to GB-PVR via Girder, so its likely I'll be interested in solving this too. (I need Girder to solve the issue with my current arrangement whereby where GB-PVR loses focus + hopefully create extra mappings like to get the mini-guide & OSD functions working within livetv mode)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Hauppauge IR not working with girder Stargrove1 0 1,364 2009-06-18, 06:07 AM
Last Post: Stargrove1
  File Compatability mrogovin 2 1,380 2009-01-04, 04:24 AM
Last Post: sub
  .exe channel changer for girder hatterman 3 1,684 2008-11-11, 05:44 AM
Last Post: pBS
  Disk Space Graph not working from Girder mianpe 2 1,592 2008-02-21, 05:31 AM
Last Post: mianpe
  remote control compatability acrazyfool 2 1,288 2007-10-28, 02:07 AM
Last Post: -Oz-
  Hiding GBPVR screen with girder Kevl 3 1,527 2007-08-31, 12:37 AM
Last Post: Kevl
  Plextor PX-TV100U Compatability kvisions 1 1,488 2007-08-28, 11:39 PM
Last Post: sub
  Compatability Issue jerry430 1 1,185 2007-05-04, 02:23 PM
Last Post: smajor
  How do you configure channel changes with Girder dinki 8 2,263 2007-03-06, 02:46 PM
Last Post: dinki
  Is there a current Girder GML file for GBPVR available? sarcasm 5 1,903 2007-03-05, 03:02 PM
Last Post: weisguy

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode