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

htpcNoob

Portal Pro
January 23, 2005
52
0
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.php?func=detail&aid=1172931&group_id=107397&atid=647927

UPDATE: Patch is now obsolete. A better, event based method has been implemented[/b]
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
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:
 

htpcNoob

Portal Pro
January 23, 2005
52
0
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
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
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.
 

htpcNoob

Portal Pro
January 23, 2005
52
0
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.
 

Users who are viewing this thread

Similar threads

It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me over the edge for sure.;)
It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me...
We are proud to present MediaPortal 2.3 MediaPortal 2.3 is a full-blown media center software that addresses the most common user...
Replies
4
Views
2K
Experiencing a strange issue. With my MediaPortal 1.13, on my Windows 10 HTPC, I use MovingPictures for movies, and have Cyberlink PowerDVD 15 Ultra setup as the external player for ISO's. This combination works flawlessly - no problems. All my BD & DVD ISO's launch in PowerDVD, remote control works fine & everything works...
Experiencing a strange issue. With my MediaPortal 1.13, on my Windows 10 HTPC, I use MovingPictures for movies, and have...
Experiencing a strange issue. With my MediaPortal 1.13, on my Windows 10 HTPC, I use MovingPictures for movies, and have...
Replies
0
Views
539
MPExtended (Mobil access) for MP2 only for TV access It's available and properly working since beginning of this year... I've used it until I switched over from DVB-S to SAT>IP in Spring 2018 where such things are no longer necessary at all.
MPExtended (Mobil access) for MP2 only for TV access It's available and properly working since beginning of this year... I've used...
We are proud to present MediaPortal 2.2 Final Since the recent release of MediaPortal 2.2pre, we fixed some minor things. We now...
Replies
11
Views
6K
That's awesome news! I can't say how I'm happy to help fellow XP user :D
That's awesome news! I can't say how I'm happy to help fellow XP user :D
Ok, I’m back, MP1.14 has been working great for the last few years, up until last month when a recording overwrote the hard drive...
Replies
18
Views
2K
  • Sticky
Not that I know of...
Not that I know of...
GitHub repository | Wiki | Skinning Guide | Available Sites | German Thread History I restarted development on the OnlineVideos...
Replies
702
Views
135K
Top Bottom