home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Google Calendars Plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="thlucas" data-source="post: 725522" data-attributes="member: 111098"><p>Hi Yoav - answers to your questions:</p><p></p><p>1) no, I was not familiar with the compatibility requirement as I am fairly new to MP. Sounds like it's a pretty simple process to add the compatibility attributes though. I did run into a problem using the "VirtualKeyboard" control and the "Label" property and "SetLabelAsInitialText" method - they are not supported by MP 1.1.1, so I had to remove that code. Other than that, the plugin has been tested with MP 1.1.1 and 1.2.0 and works fine. I personally run the 1.2.0 version, so that is what I am targeting most of my development for.</p><p></p><p>2) Code is not available for the public currently, though I would not have a problem posting it somewhere. I have not looked into creating an SF account yet, but will soon. In the interim, if you (or anyone) would like the code just send me a PM with your email and I will send it to you.</p><p></p><p>Some more thoughts on Plugin development:</p><p></p><p>1) It would be great if the .XML documentation files (are there any?) were distributed with the MP release. I do not download the MP SVN source, and have been developing my plugins stand-alone. It's a PITA to not have Visual Studio intellisense help when referencing the MP core assemblies, as I have to keep switching to the Wiki docs to see what a property is doing, or jump to Reflector to find other assemblies that use a method or property. </p><p></p><p>2) what's up with Plugin interfaces that use method syntax instead of property syntax? For example, the "GetID()" method should be a simple property get like "WindowID", as opposed to a method:</p><p></p><p>string value = this.WindoID;</p><p>instead of ...</p><p>string value = this.GetID();</p><p></p><p>3) The plugin examples need to be expanded to include real-world scenarios. The basic one out there now simply shows how to implement the Window interface. It does not show how to open up a dialog window, or open another window / do something / return to the previous window, or even how to load / store settings or trace code execution. And I did not see any examples on how to create a Process plugin from scratch.</p><p></p><p>Other than that, everything is great and I love the MP interface! I worked on a similar media program called XLobby prior to this, and must say that MP beats it hands down - though there are some event-processing type of functions in XLobby that are pretty cool. Other than that, MP is great!</p><p></p><p>Cheers!</p><p></p><p>More thoughts after reading the Plugin compatibility notes ...</p><p></p><p>The "CompatibleVersion" attribute is confusing! Do I list the actual version information as it appears on the MediaPortal.exe? Or do I use the descriptive version? For example, in the docs it says the 1.2.0 Beta = 1.1.7.0 - which do I specify in the attribute value? What about for the 1.1.1 version? It sounds like the developers need to publish a list of MP version constants that they want us to use, as well as keep them updated for future versions. The same goes for the "UsesSubsystem" attribute.</p><p></p><p>I like the idea of compatibility check, but if you're going to enforce it then you need to publish standards and references for developers to follow.</p></blockquote><p></p>
[QUOTE="thlucas, post: 725522, member: 111098"] Hi Yoav - answers to your questions: 1) no, I was not familiar with the compatibility requirement as I am fairly new to MP. Sounds like it's a pretty simple process to add the compatibility attributes though. I did run into a problem using the "VirtualKeyboard" control and the "Label" property and "SetLabelAsInitialText" method - they are not supported by MP 1.1.1, so I had to remove that code. Other than that, the plugin has been tested with MP 1.1.1 and 1.2.0 and works fine. I personally run the 1.2.0 version, so that is what I am targeting most of my development for. 2) Code is not available for the public currently, though I would not have a problem posting it somewhere. I have not looked into creating an SF account yet, but will soon. In the interim, if you (or anyone) would like the code just send me a PM with your email and I will send it to you. Some more thoughts on Plugin development: 1) It would be great if the .XML documentation files (are there any?) were distributed with the MP release. I do not download the MP SVN source, and have been developing my plugins stand-alone. It's a PITA to not have Visual Studio intellisense help when referencing the MP core assemblies, as I have to keep switching to the Wiki docs to see what a property is doing, or jump to Reflector to find other assemblies that use a method or property. 2) what's up with Plugin interfaces that use method syntax instead of property syntax? For example, the "GetID()" method should be a simple property get like "WindowID", as opposed to a method: string value = this.WindoID; instead of ... string value = this.GetID(); 3) The plugin examples need to be expanded to include real-world scenarios. The basic one out there now simply shows how to implement the Window interface. It does not show how to open up a dialog window, or open another window / do something / return to the previous window, or even how to load / store settings or trace code execution. And I did not see any examples on how to create a Process plugin from scratch. Other than that, everything is great and I love the MP interface! I worked on a similar media program called XLobby prior to this, and must say that MP beats it hands down - though there are some event-processing type of functions in XLobby that are pretty cool. Other than that, MP is great! Cheers! More thoughts after reading the Plugin compatibility notes ... The "CompatibleVersion" attribute is confusing! Do I list the actual version information as it appears on the MediaPortal.exe? Or do I use the descriptive version? For example, in the docs it says the 1.2.0 Beta = 1.1.7.0 - which do I specify in the attribute value? What about for the 1.1.1 version? It sounds like the developers need to publish a list of MP version constants that they want us to use, as well as keep them updated for future versions. The same goes for the "UsesSubsystem" attribute. I like the idea of compatibility check, but if you're going to enforce it then you need to publish standards and references for developers to follow. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Google Calendars Plugin
Contact us
RSS
Top
Bottom