Remote control on MP (1 Viewer)

Armiana

New Member
June 29, 2010
2
0
Hi all,

I want to run MediaPortal on a server and have a remote control with a client connected by TCP/IP. The client have to run on a computer. That's may looks like MEDIAPORTAL - free media center - Pocket PC Remote 0.2.2.0 but not only for a pocket PC.


For the moment I can see 2 solutions :

1- Separate the GUI and other fonctionalitities , puting GUI on the client and others on the server where MP is running. This solution can be easy if GUI and MP fonctionalitities are well separated in the MP's source code.

2- Develop a plugin which can accept a TCP/IP connection (on the server) and which can interpret commands that a client sends. This solution requires to develop a new client GUI.


I don't want to use something like UVNC. The client application must be directly connected with MP on the server.
May be someone can help me to find the best solution to work.
:D
 

Tazzios

Portal Pro
November 7, 2006
57
4
Home Country
Netherlands Netherlands
where do you want to view Mediaportal? on the server or computer.

on computer install mediaportal (without server). MP is design as server<>client application
 

Armiana

New Member
June 29, 2010
2
0
Well I had work on it. I am now doing a plugin for MP.

This plugin is now running as a TCP Server. I can receive some commands as PLAY, STOP, UP_VOLUME and so on and execute it on MP.
The client can send those command and receive and acknoledge.

I am now looking for the C# fonction to get the playlist which is playing. I guess it's like :
MediaPortal.Playlists pList = playList.GetPlaylist(MediaPortalMediaPortal.Playlists.PlayListType.PLAYLIST_MUSIC);

but it doesn't work :(
 

Users who are viewing this thread

Top Bottom