MediaPortal Forums HTPC/MediaCenter

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 2007-03-09, 12:33   #1 (permalink)
Portal Member
 
Join Date: Oct 2004
Location: Speyer
Posts: 194
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Send a message via ICQ to tom1502
Default Multi-OS Remote Control

Hi,

i currently use TVE3 in multiseat environment. Nice...
But i'd love to be able to control the Server in Terms of channel-Switching, EPG and recordings without windows/Mediaportal Client.

So far i know that the communication is realized via .NET remoting with the binary protocol via TCP.
What i could do is:
Write a Java application that works like a remote and shows the EPG.
Problem is, that i dont know the binary format, and as far as i know, it is proprietary.

Is there any .NET remoting lib for java?
Or would it be a Problem to use the XML/SOAP way via HTTP?
How much more traffic would that be? How hard would it go on CPU load?

Does anyone else think it would make sense to have such a remote, to control MP-Server and watch via VLC i.e.(On my mac mini, or linux-notebook)

Thx and regards

tom
__________________
Client:
mac mini - 1,83Ghz Core Duo, 1GB RAM, 80GB HDD, DL-DVD

Server:
AMD Xp2500+ @ 2200Mhz(ca. 3000+), 1GB RAM, Radeon 9800 Pro, 770 GB HDD
tom1502 is offline   Reply With Quote
Old 2007-03-09, 12:46   #2 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,227
Thanks: 22
Thanked 183 Times in 96 Posts

Country:

My System

Default

I don't think it is possible to get the binary remoting work under java as it is indeed proprietary.
Another approach do accomplish this could by this -> http://forum.team-mediaportal.com/po...ed-t18949.html
but nobody seems to be interested so i did not continue on thinking about it.
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is online now   Reply With Quote
Old 2007-03-09, 12:54   #3 (permalink)
Portal Member
 
Join Date: Oct 2004
Location: Speyer
Posts: 194
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Send a message via ICQ to tom1502
Default

hi gemx,

why not put us together, you write the plugin, me the client-application.
Lets handle it via XML.
Therewith we can cover all systems where J2SE(maybe J2ME l8er on)is available, and no need for ugly console-commands :-D
What do you think?

tom
__________________
Client:
mac mini - 1,83Ghz Core Duo, 1GB RAM, 80GB HDD, DL-DVD

Server:
AMD Xp2500+ @ 2200Mhz(ca. 3000+), 1GB RAM, Radeon 9800 Pro, 770 GB HDD
tom1502 is offline   Reply With Quote
Old 2007-03-16, 07:45   #4 (permalink)
Portal Member
 
Join Date: Oct 2004
Location: Speyer
Posts: 194
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Send a message via ICQ to tom1502
Default

HI,

i've checked out the possibilities via .NET remoting and JAVA.
Nothing is against teaching your application the "SOAP-Slang" of .NET remoting, BUT this is going to take ages i guess... i've found a commercial product for .NET remoting with java, but $399 per license is a bit... too expensive!

So what we should do is:
Develop a "kiss"-like protocol, write a plugin for the server and a nice Java app for the client...
Who is willing to do this with me(in a slooooow process due to my rare time)?
Gemx, are you still with me?

tom
__________________
Client:
mac mini - 1,83Ghz Core Duo, 1GB RAM, 80GB HDD, DL-DVD

Server:
AMD Xp2500+ @ 2200Mhz(ca. 3000+), 1GB RAM, Radeon 9800 Pro, 770 GB HDD
tom1502 is offline   Reply With Quote
Old 2007-03-16, 07:53   #5 (permalink)
Portal Developer
 
scoop's Avatar
 
Join Date: Nov 2004
Posts: 610
Thanks: 2
Thanked 6 Times in 5 Posts

My System

Default

Hi Tom,

Why not just use C# as a language? It has very much resemblance with Java so it should be very easy for you to make the switch. Or do you really need the benefits of Java (i.e. true multi-platform support )? Before I started helping with MP I always wrote in Java, and I found it very easy to make the switch. I mean, with .NET it's a matter of a refference to a particular DLL and you're ready to go. Much easier than writing again an additional remoting interface on top of the current one.

Kind regards,
Michel

P.S.: What about PowerScheduler? Have you tested it already?

Last edited by scoop; 2007-03-16 at 07:55.
scoop is offline   Reply With Quote
Old 2007-03-16, 08:00   #6 (permalink)
Portal Member
 
Join Date: Oct 2004
Location: Speyer
Posts: 194
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Send a message via ICQ to tom1502
Default

Hi,

i am really sorry i didnt test yet... i could use a 48h day... well i will, i promise, hopefully tonight!

I really need the multi platform benefits... i want to be able to control the server from OS X on my mac mini, and linux on my laptop...
I know, using C# and .NET would make it much easier, but i wouldnt be able to achieve what i want...

sry again that i didnt test yet...

tom
__________________
Client:
mac mini - 1,83Ghz Core Duo, 1GB RAM, 80GB HDD, DL-DVD

Server:
AMD Xp2500+ @ 2200Mhz(ca. 3000+), 1GB RAM, Radeon 9800 Pro, 770 GB HDD
tom1502 is offline   Reply With Quote
Old 2007-03-16, 09:00   #7 (permalink)
Portal Member
 
thechad's Avatar
 
Join Date: Feb 2005
Location: Geelong, Australia
Age: 26
Posts: 187
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

Why not look at using MONO as I am pretty sure it supports .Net Remoting and will run on Mac, Linux and Windows.

The other option is to use the MP web interface that is currently in development and let it act as a HTTP Soap proxy interface to the .net remoting interface, http://forum.team-mediaportal.com/ne...ce-t11792.html
__________________
thechad is offline   Reply With Quote
Old 2007-03-16, 09:59   #8 (permalink)
Portal Member
 
Join Date: Oct 2004
Location: Speyer
Posts: 194
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Send a message via ICQ to tom1502
Default

why not Mono... no problem for me, but i never used it, and i never really coded in C#... so thats why i wanted Java... but i am open for other ideas!
can i use C# to run on Linux/Mac OS? -> is there a compiler for the different platforms?

tom
__________________
Client:
mac mini - 1,83Ghz Core Duo, 1GB RAM, 80GB HDD, DL-DVD

Server:
AMD Xp2500+ @ 2200Mhz(ca. 3000+), 1GB RAM, Radeon 9800 Pro, 770 GB HDD
tom1502 is offline   Reply With Quote
Old 2007-03-16, 11:33   #9 (permalink)
Portal Developer
 
scoop's Avatar
 
Join Date: Nov 2004
Posts: 610
Thanks: 2
Thanked 6 Times in 5 Posts

My System

Default

You can find more info about Mono here: http://www.mono-project.com/
But AFAIK Remoting hasn't been implemented yet by Mono? If it ever will be, it'll most likely be compatible with .NET Remoting as its goal is to to be compatible with the EMCA spec for the CLI. And yes, Mono supports multiple platforms including Linux and MacOS.

EDIT: It seems I was wrong, Mono already has support for Remoting and it looks like some people have succesfully setup remoting between different CLI's on different OS's. So it might be worth a try?

Last edited by scoop; 2007-03-16 at 11:58.
scoop is offline   Reply With Quote
Old 2007-03-16, 12:59   #10 (permalink)
Portal Member
 
Join Date: Oct 2004
Location: Speyer
Posts: 194
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Send a message via ICQ to tom1502
Default

yeah, i know mono is available for different platforms... the question is, if i can use C# for x-platform development?
Isnt C# a M$ baby?
__________________
Client:
mac mini - 1,83Ghz Core Duo, 1GB RAM, 80GB HDD, DL-DVD

Server:
AMD Xp2500+ @ 2200Mhz(ca. 3000+), 1GB RAM, Radeon 9800 Pro, 770 GB HDD
tom1502 is offline   Reply With Quote
Reply

Bookmarks

Tags
control, multios, remote

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
[b]Remote[/b]: Toshiba MCE Remote Control PX1246E-1ETC ruimegas General Support 14 2008-02-20 15:46
Multi source/Multi card issues trevor Get Support 0 2007-01-23 16:24
Logitech UltraX Media Remote -remote control pahakurki Improvement Suggestions 8 2006-08-23 17:03
no remote - no control Daij-Djan General Support 0 2005-11-18 21:29
Best Remote Control Anonymous Hardware Selection Help 1 2005-04-16 23:49


All times are GMT +1. The time now is 20: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