MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
Thread Tools Display Modes
Old 2005-03-30, 03:03   #1 (permalink)
Portal Member
 
Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts


Default [Patch] External Player + Winlirc (or other remote control)

If anyone uses an exteral DVD/Movie player and the winlirc plugin, the problem is that the commands in LIRC will be relayed to MP when the external player is active. This patch implements a read-only property IsExternalPlayerActive that is set to true when the external DVD/Movie player is running and set to false when it exits. This is done in the Util.cs and all that WinLIRC and other remote plugins has to do is check the value of the property MediaPortal.Util.Utils.IsExternalPlayerActive.

http://sourceforge.net/tracker/index...97&atid=647927

UPDATE: Patch is now obsolete. A better, event based method has been implemented[/b]
htpcNoob is offline   Reply With Quote
Old 2005-03-30, 05:50   #2 (permalink)
Retired Team Member
 
mPod's Avatar
 
Join Date: Jan 2005
Location: Berlin
Age: 34
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

This is already implemented in the current CVS versions by 2 events. One is raised BEFORE a player starts and one AFTER a WaitForExit(). There will be more changes today (e.g. in case a WaitForExit is not performed and some code cleanup), so I'd suggest you'll wait to implement it until the changes are done. This also affects the behaviour of the MyPrograms plugin, which you did not regard. If you contact me or waeberd on IRC, we can tell you more... :wink:
__________________


Bad news from the stars...

We cannot give any support without a properly filled support template
and a full mediaportal.log pasted here.


Before you ask...
mPod is offline   Reply With Quote
Old 2005-03-30, 06:15   #3 (permalink)
Portal Member
 
Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Ahhhh. I didnt notice those changes in the CVS since I saw the code from 2 weeks ago. Since then I automatically add my custom codes using windows grep during my daily cvs downloads so I couldnt tell when this was implemented. Good to see that its there now. :-D
htpcNoob is offline   Reply With Quote
Old 2005-03-30, 07:36   #4 (permalink)
Retired Team Member
 
mPod's Avatar
 
Join Date: Jan 2005
Location: Berlin
Age: 34
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

Might also be interesting for your concerns (extended plugin class):

Code:
IPluginReceiver:IPlugin
Take a look at guilib\IPlugin.cs.... :wink:

This was implemented in later CVS versions after the 0.1.0.10 release.
__________________


Bad news from the stars...

We cannot give any support without a properly filled support template
and a full mediaportal.log pasted here.


Before you ask...
mPod is offline   Reply With Quote
Old 2005-03-30, 09:22   #5 (permalink)
Portal Member
 
Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Wonderful. This makes my patch obsolete . Not in a bad way. I've updated my start post + tracker patch thread post. Now all it requires is implementation by the authors of winlirc + other plugins.
htpcNoob is offline   Reply With Quote
Reply

Bookmarks

Tags
control, external, patch, player, remote, winlirc

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
Pinnacle MediaCenter 100i Remote kadafi General Support 28 2007-02-06 19:57
Help with TVServer and client rick78 Get Support 8 2006-12-12 19:48
Map buttons on MCE remote & Control external hardware djmarzel Codecs, External Players 3 2006-11-01 01:40
Controlling External Sky STB waveslam MediaPortal 1 Talk 4 2006-08-14 19:43
Using MCE remote to control my external Sky Digibox allanmb General Support 13 2006-04-23 22:29


All times are GMT +1. The time now is 08:21.


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