General Development (no feature request here!) (50 Viewers)

Working on your own plugin and got stuck? Post your codeing question here.
Normally we use the 'Tutorial' template for 'How to' Guides, but usually 'user' guides. You can always create a 'blank' page, but copy/paste from forum code needs a lot of clean up. Some contributors create a page on their wiki user page and we work on it to together and then move it to the appropriate section in the wiki. Can you...
Normally we use the 'Tutorial' template for 'How to' Guides, but usually 'user' guides. You can always create a 'blank' page, but...
Hi all If the Team Media Portal members find this guide interesting, I'd like to turn this post into a wiki, but can't find the...
Replies
3
Views
1K
Yeah, I don't think you get to swallow/cancel/consume events.
Yeah, I don't think you get to swallow/cancel/consume events.
Is there a way to prevent a certain Action Event from being handled further? Like in this example, i would like certain keys...
Replies
3
Views
2K
Yep, fair call - the code should have been written properly from the beginning. No bug reports => no reason to go looking at the code. Plenty of other things to do => no time to go looking for potential problems. "The squeaky wheel gets the oil!" :) Completely depends on the plugins installed. My only experience with C# is with...
Yep, fair call - the code should have been written properly from the beginning. No bug reports => no reason to go looking at the...
Is there a way to check the status of the TVServer? Is it online is it offline? I'm trying to fix MP1-4403. Calling...
Replies
20
Views
2K
Hi, Yes - sorry for not getting back sooner. The only thing I can think of is, when I did the first git clone, I didn't specify a branch. It downloaded everything but just left it packed up in a .git folder. I did it again in a new folder, specified a branch and this time it all got nicely unpacked and placed in the folder I did...
Hi, Yes - sorry for not getting back sooner. The only thing I can think of is, when I did the first git clone, I didn't specify a...
Hi, Couldn't find a place for this in development so posting here - hope that's OK. I'm not experienced with Git Clone. I know a...
Replies
5
Views
1K
Hi, My enthusiasm far outweighing my skill, I'm going to have a go at merging the DJBlu EPG plugin and branch into 1.8.0. So far I've got 1.8.0, and now got the EXP-Custom Data Grabber 1.7.1 branch. I was going to try to merge the two but thought this is a pretty big merge - am I doing the right thing? Or is there a smaller branch...
Hi, My enthusiasm far outweighing my skill, I'm going to have a go at merging the DJBlu EPG plugin and branch into 1.8.0. So far...
Hi, My enthusiasm far outweighing my skill, I'm going to have a go at merging the DJBlu EPG plugin and branch into 1.8.0. So far...
Replies
0
Views
2K
Thanks for this clearance. I didn't like to stop the TvService manually for replacing the plugin dll, but meanwhile I made a batch script that stops it automatically before building. And, inspired from your description ;), I made a second script that copies the required files to the install directory.
Thanks for this clearance. I didn't like to stop the TvService manually for replacing the plugin dll, but meanwhile I made a batch...
Hi folks, I'd like to write a plugin for the TvServer and be able to debug it. I'm using the latest stable SharpDevelop and I'm...
Replies
2
Views
1K
Hahah fun @ work, geez :-P A principal project managers work is never fun, just stressful! I'd rather be coding :-)
Hahah fun @ work, geez :-P A principal project managers work is never fun, just stressful! I'd rather be coding :-)
Hi All, I've been trying to get a full build and install generated using Windows 7 and VS2013. I've made good progress, but I've...
Replies
18
Views
5K
The MSBUILD_Rebuild_All_MediaPortal_Release.bat and the MSBUILD_Rebuild_All_MediaPortal_Debug.bat will generate an installer for MP and for TvServer in MediaPortal-1\Release\ directory. It is enough for internal usage. If you want to create a full installer with deploy tool, you need to run the...
The MSBUILD_Rebuild_All_MediaPortal_Release.bat and the MSBUILD_Rebuild_All_MediaPortal_Debug.bat will generate an installer for MP...
Hi All, I'm attempting to get my dev machine running with an install of MP. I previously would install the latest build from teh...
Replies
3
Views
1K
  • Poll
Yes, your code v3 . yes the goal was to make this thread public for have history about this code. Good luck with the code next gen
Yes, your code v3 . yes the goal was to make this thread public for have history about this code. Good luck with the code next gen
Hi, while working on the Atmolight plugin (see here...
Replies
38
Views
4K
Hi all, Is there any way that in a client side plugin I can determine that the EPG has been updated? I've looked over this http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/4_Development/TV-Server/TV-Server_Plugins/Plugin_Events - however that seems to only apply to TV server plugins. I'm not sure this would work...
Hi all, Is there any way that in a client side plugin I can determine that the EPG has been updated? I've looked over this...
Hi all, Is there any way that in a client side plugin I can determine that the EPG has been updated? I've looked over this...
Replies
0
Views
854
Eureka! That was it, added the URL "git://git.1f0.de/libbluray.git" to the firewall and it resolved the issue, with the submodules now updating successfully! It's always the last place you look! Thank to all for the help...
Eureka! That was it, added the URL "git://git.1f0.de/libbluray.git" to the firewall and it resolved the issue, with the submodules...
Hope someone can help me with an issue, which is probably something simple that I have overlooked. I have cloned the main GIT...
Replies
12
Views
2K
Hi All, I've built a plugin and an installer using the MPEMaker. It works fine on my dev box that hosts the MP1 codebase and a 1.7 Pre-Release version installed. I can configure the plugin and view it in MP. When I come to using on my production box (my living room) which has a fairly clean install of 1.7 Pre, the installer works...
Hi All, I've built a plugin and an installer using the MPEMaker. It works fine on my dev box that hosts the MP1 codebase and a 1.7...
Hi All, I've built a plugin and an installer using the MPEMaker. It works fine on my dev box that hosts the MP1 codebase and a 1.7...
Replies
0
Views
1K
Oh in that case I don't know sorry, it takes about 10 secs max for mine so never looked at other options.
Oh in that case I don't know sorry, it takes about 10 secs max for mine so never looked at other options.
Hi Guys, I was wondering if there is any implementation of Dependency Injection currently in MP1. We use Unity and it is fabulous...
Replies
3
Views
882
Morning and thanks for the response morpheus. I'm more interested in getting something up and running as I've bailed out of WMC into MP and would like to address the gaps ASAP. I've built the "backend" already against MP1 TV Server, but implemented it "loosely" behing and interface, so when I come to adapt it for TV35, as long as the...
Morning and thanks for the response morpheus. I'm more interested in getting something up and running as I've bailed out of WMC...
Hi All, I'm after some advice on the best way to factor the needs of my plugin into the architecture of MP. So, I should probably...
Replies
7
Views
1K
Hi, I thought I'd document my solution to a exception that gettsing thrown by DirectX when testing my code that calls the IMDBFetcher on my Dev Box. The exception states: LoaderLock occurred Message: Managed Debugging Assistant 'LoaderLock' has detected a problem in...
Hi, I thought I'd document my solution to a exception that gettsing thrown by DirectX when testing my code that calls the...
Hi, I thought I'd document my solution to a exception that gettsing thrown by DirectX when testing my code that calls the...
Replies
0
Views
2K
Thanks for the link - the TvPlugin was exactly what I was looking for. I couldn't find it cause I assumed it was part of the MediaPortal UI solution. Between the TvPlugin code and the GUIVideos plugin code - I should have enough now to go on to cobble together something. The SetGentleCOnfigFile method was what I needed to get it...
Thanks for the link - the TvPlugin was exactly what I was looking for. I couldn't find it cause I assumed it was part of the...
Hi All, I'm very new to MP - moving from WMC. I'd like to create a visual plugin that works a lot like the Movie Guide, displays a...
Replies
5
Views
1K
@Edalex - Thank you - I will try to document every step of my set-up and post it here.
@Edalex - Thank you - I will try to document every step of my set-up and post it here.
Hello Developers & Experts, I would like to get involved and start on some plug-in development. I have some (;)) programming...
Replies
4
Views
1K
For information my plugin's repository is here. It is just a wireframe based on the plugin development guidance for now - and once I get it installing, I will flesh it out. I've followed the guidance and added two lines to my assembly.info like this: [assembly: CompatibleVersion("1.6.100.0", "1.6.100.0")] [assembly...
For information my plugin's repository is here. It is just a wireframe based on the plugin development guidance for now - and once...
For information my plugin's repository is here. It is just a wireframe based on the plugin development guidance for now - and once...
Replies
0
Views
989
Thanks for that - I had seen it, but it seemed applicable to IMDB only whereas the grabber dialog in MP Config allows a choice from several different (non-IMDB) grabbers. Would I be right in thinking then that the original grabber implementation was for IMDB originally, but expanded out to other implementations but as existing...
Thanks for that - I had seen it, but it seemed applicable to IMDB only whereas the grabber dialog in MP Config allows a choice from...
Hi All, Hopefully I'm on the right track - I would like to write a plugin that consumes the grabbers that are defined in the Video...
Replies
2
Views
854
MP1 MP2 [solved] Local DB DE
I didn't know I needed the TVServer - being new to the MP codebase, I wasn't to know that listings and schedules are managed by the TV server. I suspected that I would ultimately install on my dev box to fully configure. Thanks for your help.
I didn't know I needed the TVServer - being new to the MP codebase, I wasn't to know that listings and schedules are managed by the...
Hi, I was hoping that I could get some advice on my local development setup. I am at the point where my development box has the...
Replies
6
Views
2K
in C# using MediaPortal.GUI.Library; using Action = MediaPortal.GUI.Library.Action; public override bool OnMessage(GUIMessage message) { switch (message.Message) { case GUIMessage.MessageType.GUI_MSG_ITEM_SELECTED: { } break; } return base.OnMessage(message); }...
in C# using MediaPortal.GUI.Library; using Action = MediaPortal.GUI.Library.Action; public override bool OnMessage(GUIMessage...
Hi All, Am developing my own speech recognition app with a plugin for MP - am not writing the actual engine just using the .net...
Replies
5
Views
2K
Hey, im currently working on the atmolight plugin. What i want to do is to show some infos via the GUIDialogOK and when OK is pressed open the VirtualKeyboard. After that i will again show some infos via GUIDialogOK. My code looks like this: GUIDialogOK dlgOK =...
Hey, im currently working on the atmolight plugin. What i want to do is to show some infos via the GUIDialogOK and when OK is...
Hey, im currently working on the atmolight plugin. What i want to do is to show some infos via the GUIDialogOK and when OK is...
Replies
0
Views
1K
Yeah it's a game player using flash and unity3d, so I'm kind of stuck with them. While i have most of it sorted its was just my issues above that really are not ideal.I do have an Idea for the Dialogs which should solve that one too. Guess it's really my only option. thanks for your help.
Yeah it's a game player using flash and unity3d, so I'm kind of stuck with them. While i have most of it sorted its was just my...
Hi guys i trying to add a FlashPlayer object to MP and have it behave like the normal MP Player. I don't need to control it but I'm...
Replies
8
Views
1K
g_Player.Stop() Check MP source code
g_Player.Stop() Check MP source code
Hi together, How can I stop current playback on demand in a plugin: ist there an API-Call available to stop current playback? Is...
Replies
2
Views
1K
TortoiseGit managed to get everything down 2GB - seems to split up the requests as one of the last objects was 1GB+. Got everything building now - don't you just love NuGet.... Shame there isn't a directx nuget! Thanks for your help.
TortoiseGit managed to get everything down 2GB - seems to split up the requests as one of the last objects was 1GB+. Got...
Hi All, I'm new to MP and GitHub. I've done what I think is right but get consistent timeouts when cloning my fork down to my local...
Replies
5
Views
1K
MP1 MP2 Experimental TsReader development (1 Viewer) DE
Установил этот TsReader и всё хорошо, на HD каналах ни одного заикания, всё отлично. Very good!
Установил этот TsReader и всё хорошо, на HD каналах ни одного заикания, всё отлично. Very good!
OK folks - by popular request, this thread is for discussions related to development of the MP1 'TsReader.ax' splitter/source...
Replies
949
Views
181K
We have a "HelloWorld" example plugin https://github.com/MediaPortal/MediaPortal-2/tree/master/MediaPortal/Resources/Examples/HelloWorldExamplePlugin. And the wiki section http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/8_Contribute also contains some examples and guidelines for plugin development. If you have questions feel free...
We have a "HelloWorld" example plugin...
Hello, I am new to MediaPortal but I have coding experience. I've previously (and currently) write my own plugins for MeediOS. I...
Replies
3
Views
1K
i yhink install nuget , and download htmlagility but you have report build, with error building
i yhink install nuget , and download htmlagility but you have report build, with error building
I keep getting the following error and nothing is building: File not found - _BuildReport_Files I did review all my prerequisite...
Replies
4
Views
1K
Ah, of course - sorry for my wrong comment ;)
Ah, of course - sorry for my wrong comment ;)
I was wondering if there is interest in a skin editor. I'm no expert in .NET so i wont continue the existing one. However I...
Replies
224
Views
75K
I was browsing the source for MP online. The MediaPortal.cs file has a section that might be useful: if (_useScreenSaver) { if ((GUIGraphicsContext.IsFullScreenVideo && g_Player.Paused == false) || GUIWindowManager.ActiveWindow == (int)GUIWindow.Window.WINDOW_SLIDESHOW || GUIWindowManager.ActiveWindow ==...
I was browsing the source for MP online. The MediaPortal.cs file has a section that might be useful: if (_useScreenSaver)...
Hi. My plugin uses external player. Now some users reported, that when they are watching movie, MPs screensaver is run. I have...
Replies
1
Views
921
Top Bottom