| |||||||
| General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
| 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] |
| | |
| | #2 (permalink) |
| Retired Team Member Join Date: Jan 2005 Location: Berlin Age: 34
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts
Country: | 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... |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
| | #4 (permalink) |
| Retired Team Member Join Date: Jan 2005 Location: Berlin Age: 34
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts
Country: | Might also be interesting for your concerns (extended plugin class): Code: IPluginReceiver:IPlugin 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... |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
| 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. |
| | |
![]() |
| Bookmarks |
| Tags |
| control, external, patch, player, remote, winlirc |
| Thread Tools | |
| Display Modes | |
| |
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 |