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
myGadgets plugin (in Development)
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="samuel337" data-source="post: 99531" data-attributes="member: 10347"><p>1. Yes its possible. I don't believe there's a common way to grab data from the web, so just use the in-built .NET WebRequest and WebService methods. For website scraping, James has written some code that you can reuse. See <a href="https://forum.team-mediaportal.com/showthread.php?t=12576&highlight=webepg+web" target="_blank">https://forum.team-mediaportal.com/showthread.php?t=12576&highlight=webepg+web</a></p><p></p><p>2. Download the MP code, and check out the Databases project.</p><p></p><p>3. Try see if the weather plugin writes the data to the PropertyManager class. Plugins should do this, but they don't all comply. Otherwise you can get the weather settings from the MediaPortal.xml file using the MP config methods.</p><p></p><p>4. not sure.</p><p></p><p>5. I suggest you implement the ISetupForm interface in C# and write it in that. That way it appears in the MP Configuration dialog. If you can write the plugin in C#, you can write the setup form in C#.</p><p></p><p>6. I'd be interested in how you allow the user to layout the gadgets on the screen...</p><p></p><p>Sam</p></blockquote><p></p>
[QUOTE="samuel337, post: 99531, member: 10347"] 1. Yes its possible. I don't believe there's a common way to grab data from the web, so just use the in-built .NET WebRequest and WebService methods. For website scraping, James has written some code that you can reuse. See [url]https://forum.team-mediaportal.com/showthread.php?t=12576&highlight=webepg+web[/url] 2. Download the MP code, and check out the Databases project. 3. Try see if the weather plugin writes the data to the PropertyManager class. Plugins should do this, but they don't all comply. Otherwise you can get the weather settings from the MediaPortal.xml file using the MP config methods. 4. not sure. 5. I suggest you implement the ISetupForm interface in C# and write it in that. That way it appears in the MP Configuration dialog. If you can write the plugin in C#, you can write the setup form in C#. 6. I'd be interested in how you allow the user to layout the gadgets on the screen... Sam [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
myGadgets plugin (in Development)
Contact us
RSS
Top
Bottom