Hello all,
First of all, MediaPortal is great software. I'm receiving a Via EPIA setup today that I will be putting it on, and also will hopefully be working on some plugins. From my first few days of compiling the code and working on the plugin, I had a few questions/suggestions. Please take these as constructive criticism from the viewpoint of someone new to plugin development, and not as a rant :evil: about issues in MediaPortal.
1) My initial checkout via SVN was broken and would not compile. I got the complete source, but had to back up a few revisions to get something that compiled. Is there any way to check out a recent "milestone" that is guaranteed to compile, or is there anywhere that lists the last compileable revision?
2) I am developing using Visual C# express, and noticed that on a fresh install of XP, the project cannot reference Microsoft.mshtml. Visual C# express installs the 2.0 runtime by default, so that is installed, and from googling it appears that the mshtml object either comes from a full visual studio install, the SDK (which microsoft warns developers should not depend on end-users having installed), or an add-on pack from people who have office installed. Is anyone else aware of this issue, and is there a fix, or something additional I need to install (or is this item being removed in the future)?
3) The Plugin HOWTO documentation is a good start, but for anything but the most basic button-only interface I had to go looking into the source code for other plugins that do similar features to what I'm trying to do. I've done some documentation work, and am hoping that as I learn more about plugin coding I might be able to contribute to this myself.
4) While looking through the code for other plugins, I noticed that there is a Utils class containing some common functionality, but that most plugins implement the code for some of the functions in Utils themselves (such as fetching a web document). Has there been any discussion into a common API/documentation for helper functions such as this that are used very commonly in plugins?
5) Similar to (4), I noticed many plugins use a similar GUI style, and was wondering if there might be some benefit to implementing a universal list-style GUI. This is probably partially due to laziness since what I have in mind would also be a list-style GUI
, but so many plugins seem to use the list/drill-down list style, and also a screen to show item/more info/thumbnail. This might speed along plugin development if most of the common GUI functionality is implemented, and can just be extended in the new plugin class.
6) Slightly off-topic, but I attempted to play a WMV9 file in my My Videos, and only got a blank screen. Is this video format supported, or would I have to convert to another format to have it be playable? (I receive the files as WMV9 from source)
Thanks for any help, and hopefully you'll be seeing some contributions from me in the future.
First of all, MediaPortal is great software. I'm receiving a Via EPIA setup today that I will be putting it on, and also will hopefully be working on some plugins. From my first few days of compiling the code and working on the plugin, I had a few questions/suggestions. Please take these as constructive criticism from the viewpoint of someone new to plugin development, and not as a rant :evil: about issues in MediaPortal.
1) My initial checkout via SVN was broken and would not compile. I got the complete source, but had to back up a few revisions to get something that compiled. Is there any way to check out a recent "milestone" that is guaranteed to compile, or is there anywhere that lists the last compileable revision?
2) I am developing using Visual C# express, and noticed that on a fresh install of XP, the project cannot reference Microsoft.mshtml. Visual C# express installs the 2.0 runtime by default, so that is installed, and from googling it appears that the mshtml object either comes from a full visual studio install, the SDK (which microsoft warns developers should not depend on end-users having installed), or an add-on pack from people who have office installed. Is anyone else aware of this issue, and is there a fix, or something additional I need to install (or is this item being removed in the future)?
3) The Plugin HOWTO documentation is a good start, but for anything but the most basic button-only interface I had to go looking into the source code for other plugins that do similar features to what I'm trying to do. I've done some documentation work, and am hoping that as I learn more about plugin coding I might be able to contribute to this myself.
4) While looking through the code for other plugins, I noticed that there is a Utils class containing some common functionality, but that most plugins implement the code for some of the functions in Utils themselves (such as fetching a web document). Has there been any discussion into a common API/documentation for helper functions such as this that are used very commonly in plugins?
5) Similar to (4), I noticed many plugins use a similar GUI style, and was wondering if there might be some benefit to implementing a universal list-style GUI. This is probably partially due to laziness since what I have in mind would also be a list-style GUI
6) Slightly off-topic, but I attempted to play a WMV9 file in my My Videos, and only got a blank screen. Is this video format supported, or would I have to convert to another format to have it be playable? (I receive the files as WMV9 from source)
Thanks for any help, and hopefully you'll be seeing some contributions from me in the future.