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

Working on your own plugin and got stuck? Post your codeing question here.
I haven't found out where the font style information is but I'm trying in code to make a GUIFadeLabel in italic. Any clues? Erik.
I haven't found out where the font style information is but I'm trying in code to make a GUIFadeLabel in italic. Any clues? Erik.
I haven't found out where the font style information is but I'm trying in code to make a GUIFadeLabel in italic. Any clues? Erik.
Replies
0
Views
589
It is possible for a plugin to be both a window plugin as well as a external player plugin. Still messing around with some proof of concept plugins and I was wondering if this was possible. Thanks for any help Cheers David
It is possible for a plugin to be both a window plugin as well as a external player plugin. Still messing around with some proof of...
It is possible for a plugin to be both a window plugin as well as a external player plugin. Still messing around with some proof of...
Replies
0
Views
688
Here is some sample code that listens to the OnDeactivateWindow event: https://github.com/Technicolour/Trakt-for-Mediaportal/blob/master/TraktPlugin/TraktPlugin.cs#L407
Here is some sample code that listens to the OnDeactivateWindow event...
Hi, Is there a way for checking if a skin is loaded? The scenario are: a users changes skin from a supported skin to a...
Replies
7
Views
976
As I said, samples are any current existing dialogs :) Code-wise I couldn't spot any issues. Maybe the problem is skin related? Share skin file too, I'll try to test your dialog when I find some time (probably not very soon but in a week or two).
As I said, samples are any current existing dialogs :) Code-wise I couldn't spot any issues. Maybe the problem is skin related...
Hi, I want to create a new Dialog in Media Portal, I tried inheriting an existing dialog class and put my customized code...
Replies
3
Views
2K
Hi there, Try installing the 32bit version of TortoiseSVN.... J.
Hi there, Try installing the 32bit version of TortoiseSVN.... J.
2 short question. 1. I am still missing the SVN Release number if i compile an SVN. (only 1.1.7). Can i fix it that i can see the...
Replies
1
Views
945
Okay it is actually working, but when I have this in the skin file <control> <id>1</id> <description>BackGround</description> <type>image</type> <posX>0</posX> <posY>0</posY> <width>720</width> <height>576</height> <texture>background.png</texture> </control>...
Okay it is actually working, but when I have this in the skin file <control> <id>1</id>...
Hi, I have been working on my on plug in. and I have been populating a listcontol with the following code private...
Replies
1
Views
1K
Hello, Is it possible to do a "fork" of the standart video plugin. My goal is to use the standard video interface of all the skin and modify only some event. For exemple, I don't want to use de database but only files. When a flag file is present, my video element is tagged Watched. I have create a new GUI plugin and load...
Hello, Is it possible to do a "fork" of the standart video plugin. My goal is to use the standard video interface of all the...
Hello, Is it possible to do a "fork" of the standart video plugin. My goal is to use the standard video interface of all the...
Replies
0
Views
876
Ok, I think I found a way around this, I had to invoke the method on the gui context... It's only working when in the TvPlugin screen though, otherwise I get an exception and (if called twice in short time) a MediaPortal crash.
Ok, I think I found a way around this, I had to invoke the method on the gui context... It's only working when in the TvPlugin...
For the WifiRemote plugin it would be important to be able to start a Tv Channel on a MediaPortal client from a plugin (so a remote...
Replies
4
Views
1K
MP1 MP2 Plugin menu help DE
Check out GuiControlsDemo - MediaPortal Wiki Should be some examples in there of what you want to do
Check out GuiControlsDemo - MediaPortal Wiki Should be some examples in there of what you want to do
hi guys, i'm building my first windows plugin. I want to have on the left side a menu, and depending on what button i click...
Replies
1
Views
787
Your code must be creating an error. Take a look in the log files of TVServer and it will show you the error OnActivate.
Your code must be creating an error. Take a look in the log files of TVServer and it will show you the error OnActivate.
Hi all, Ive been trying to get my plugin to display the setup screen on the tv server configuration. I can see the plugin, but...
Replies
2
Views
1K
Hi everyone A quick note: I just committed the fix for this. It'll be in 1.2.0rc. Thanks for reporting Anthrax! :thx: mm
Hi everyone A quick note: I just committed the fix for this. It'll be in 1.2.0rc. Thanks for reporting Anthrax! :thx: mm
Hi Folks, yet another nut I can't seem to crack on my own. This is bugging me for over a week now and it's a showstopper for my...
Replies
31
Views
7K
AW: Map my Plugin to Remote-Key ? Hey there cashi, please have a look here: https://forum.team-mediaportal.com/mediaportal-plugins-47/audio-renderer-changer-82337/index5.html#post767806 EDIT: after reading your first post again, this might suit you more...
AW: Map my Plugin to Remote-Key ? Hey there cashi, please have a look here...
Hi, i developed a plugin for control my EIB-Bus to switch lights in the House on/off etc... The Plugin is in "Plugins", i cant...
Replies
2
Views
1K
MP1 MP2 JetBrains Resharper DE
AW: JetBrains Resharper Finally got one as well! Tip: If you're a plugin developer and not a member of the core team, apply for a license via your plugin name rather than 'MediaPortal'. I had to reapply because of that as they figured I wasn't a commiter to MP's source code... cheers Anthrax
AW: JetBrains Resharper Finally got one as well! Tip: If you're a plugin developer and not a member of the core team, apply for a...
In addition to VisualSVN (which I posted about here), JetBrains also do free ReSharper licenses for Open Source projects. I got...
Replies
3
Views
1K
Out the box this is not possible. You would need to write a plugin in combination with a skin file to achieve this. I suggest you have a look at some existing skins which replace basic home (try Maya, StreamedMP and possibly some others that include a menu editor)
Out the box this is not possible. You would need to write a plugin in combination with a skin file to achieve this. I suggest...
Hello MP team, I've gone through the myHome.xml file in the MP Skin-Editor , i find over there the Main Menu options which are...
Replies
9
Views
1K
thanks mm1352000, works spot on.
thanks mm1352000, works spot on.
Hey guys, thought I'd have a dabble in the mediaportal development world. Im currently trying to make a small app for...
Replies
2
Views
946
ForTheRecord will do that.
ForTheRecord will do that.
I'm migrating from SageTV and I'd like to migrate all the history of watched shows into MP so that I can schedule series and not...
Replies
3
Views
2K
Hello MP Team, I want to have a skin which displays the Main Menu Vetically & when I click on any main menu option, it must display its submenu options horizontally. Have attached the screen shot. In all the skins so far downloaded , I've not seen such UI where we can have teh main menu & submenu options on the same page...
Hello MP Team, I want to have a skin which displays the Main Menu Vetically & when I click on any main menu option, it must...
Hello MP Team, I want to have a skin which displays the Main Menu Vetically & when I click on any main menu option, it must...
Replies
0
Views
1K
Oops, why I don't saw that.:ooops: It's working now. :thx:
Oops, why I don't saw that.:ooops: It's working now. :thx:
Hi, I'm implementing a notify manager in the 4TR Tv client plugin, but how can I use the TVNotifyYesNoDialog?? Other dialogs...
Replies
6
Views
652
The comparability check is against other components. If you have just replaced the ones you have changes they will have a version number to the main binaries. You need to make sure these all match
The comparability check is against other components. If you have just replaced the ones you have changes they will have a version...
Hi, I just build a svn version of the tv server (27976) because I needed some personal patches. My problem is that all...
Replies
1
Views
1K
im working on a plugin but i have a problem when switching to channels the first time i switch the channel using TvControl.RemoteControl.Instance.StartTimeShifting(ref user, Int32.Parse(channelId), out card); the TVServer starts timeshifting my choosen channel and i can use vlc player to show the tv stream but the second...
im working on a plugin but i have a problem when switching to channels the first time i switch the channel using...
im working on a plugin but i have a problem when switching to channels the first time i switch the channel using...
Replies
0
Views
1K
AW: Re: [Help needed] How to play streams with HTTP Basic Authentication? wow offbyone, that was quick! Much appreciated. well it seemed it did at least som time ago: VideoProxy.cs - mytrailers - a trailer plugin for MediaPortal - Google Project Hosting I incorporated this method in MyPlexMedia but I hit the wall when I realized...
AW: Re: [Help needed] How to play streams with HTTP Basic Authentication? wow offbyone, that was quick! Much appreciated. well...
Hey devs, I'm hard at work with my new MyPlexMedia plugin at the moment and ran into the following problem: 1...
Replies
2
Views
1K
Wow awesome! I'm going to try some things this evening :) edit: The pictures database is far more easier then the music database. I'm trying to alter some stuff of the pictures database and I think it will work :)
Wow awesome! I'm going to try some things this evening :) edit: The pictures database is far more easier then the music database...
I would like to use a database for my plugin. My plugin is a home automation plugin for the Home Control Box. I would like to be...
Replies
3
Views
1K
It works on my computer (i7 8 virtual cores), but on the HTPC (2 cores) it only works at random times.. I get this error very often: I cannot understand why it only works randomly.. Also the bw_getMacros works mostly only after the first time. So the first time it just doesn't get all the macros.. //edit OMG, I think I've fixed it...
It works on my computer (i7 8 virtual cores), but on the HTPC (2 cores) it only works at random times.. I get this error very...
In a windows forms app I can just use the BackgroundWorker from the Toolbox.. but how to do that with a MediaPortal plugin? I don't...
Replies
7
Views
2K
I am on my phone now but could someone add this to the wiki?
I am on my phone now but could someone add this to the wiki?
Can someone help me please, For the life of me I can't get my images to display in the plugin configuration screen...
Replies
3
Views
779
Hi, i'm working again on a new recording option for MP TV-Server. For this i need a query like this. SELECT * FROM X WHERE y=z AND ((a=b AND c>e) OR (a>b)) Sadly i wasn't able to find out how to construct a query like this with the SQLBuilder. Stefan
Hi, i'm working again on a new recording option for MP TV-Server. For this i need a query like this. SELECT * FROM X WHERE...
Hi, i'm working again on a new recording option for MP TV-Server. For this i need a query like this. SELECT * FROM X WHERE...
Replies
0
Views
1K
Hi mm, once again thanks for all your time and effort to provide this information. I hope you realise I am just trying to be pro-active and I am wanting to learn how this works so I can help in solving my own problem as I realise the S500 is deprecated and no-one else seems to be using it (with anything). I actually do have a toy...
Hi mm, once again thanks for all your time and effort to provide this information. I hope you realise I am just trying to be...
Hi again - hope I don't hear too many sighs! Could someone care to explain, or direct me to the relevant place, as to how the TV...
Replies
2
Views
1K
MP1 MP2 file.exists problem DE
Would OnPageLoad and OnPageDispose be enough? To recall and to save. Not sure if the OnPageDispose is the right code, But you get my point.
Would OnPageLoad and OnPageDispose be enough? To recall and to save. Not sure if the OnPageDispose is the right code, But you get...
Hi all, Just doing some very basic testing here as I'm new to C# and MP dev. I write mainly C++ for Arduino's.....anyways:-...
Replies
6
Views
3K
You need to get the global player instance and call it's stop method I think
You need to get the global player instance and call it's stop method I think
Hi, I am very new to MP development and have my first plugin working. My background isn't really programming but I can hack...
Replies
1
Views
1K
I'm very grateful for any help you can give. I'm happy to give the code a rest, though I've now got it working, but clearly trying to debug the tvserver and set parameters is rather difficult :sigh. So okay, I'll leave off the code. I have actually re-installed the 1.2 beta from scratch and was just playing around with different...
I'm very grateful for any help you can give. I'm happy to give the code a rest, though I've now got it working, but clearly trying...
Hey guys, I wanna start compiling MP myself using latest SVN, but i have no idea what to do. Is there a guide somewhere which is...
Replies
13
Views
2K
MP1 MP2 .NET4 and MP DE
Agree, the await keyword looks awesome. I am using TPL in .NET3.5 (implemented in Reactive Extensions) but wanted to know if I will be able to use the corresponding classes in .NET4.
Agree, the await keyword looks awesome. I am using TPL in .NET3.5 (implemented in Reactive Extensions) but wanted to know if I...
Do we have anything in the MediaPortal v1 roadmap about .NET4, or is that reserved for MediaPortal v2?
Replies
4
Views
1K
Top Bottom