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
Development
General Development (no feature request here!)
Web Interface......
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="Anonymous" data-source="post: 4899"><p>Why not build a basic webserver in and let individual plugins provide html content based on the current skin to the built in browser. Then let main mediaportal control the plugins as usual. </p><p></p><p>It would mean that GUI plugin writers would need to adopt a number of interfaces and you might have to define a custom URI.</p><p></p><p>Can you imagine it you browse to your HTPC and you get the (almost) same interface as the portal on the HTPC, any actions you carry out would be reflected on the pc.</p><p></p><p>To implement (just a rough idea)</p><p></p><p>Navigate through all the controls (including plugins, I presume the GUI ones inherit from control some way downstream?)</p><p></p><p>Then</p><p></p><p>Capture the controls image (possible guys? my directx is hazy)</p><p>Write it to a stream or output to file</p><p>Render html with control positions and custom uri links</p><p>Webserver redirects request to appropriate plugin </p><p></p><p>e.g</p><p></p><p>htpc://<ip or host>:<custom port>/<plugin filename (no path)>/<method>/<parameters></p><p></p><p>Then use reflection to find the loaded plugin and call method with parameters. The plugin should generate a checksum so that the uri cannot be tampered with.</p><p></p><p>Not simple but would be amazing, I am getting sometime off come the end of this month and may take a crack at it.</p></blockquote><p></p>
[QUOTE="Anonymous, post: 4899"] Why not build a basic webserver in and let individual plugins provide html content based on the current skin to the built in browser. Then let main mediaportal control the plugins as usual. It would mean that GUI plugin writers would need to adopt a number of interfaces and you might have to define a custom URI. Can you imagine it you browse to your HTPC and you get the (almost) same interface as the portal on the HTPC, any actions you carry out would be reflected on the pc. To implement (just a rough idea) Navigate through all the controls (including plugins, I presume the GUI ones inherit from control some way downstream?) Then Capture the controls image (possible guys? my directx is hazy) Write it to a stream or output to file Render html with control positions and custom uri links Webserver redirects request to appropriate plugin e.g htpc://<ip or host>:<custom port>/<plugin filename (no path)>/<method>/<parameters> Then use reflection to find the loaded plugin and call method with parameters. The plugin should generate a checksum so that the uri cannot be tampered with. Not simple but would be amazing, I am getting sometime off come the end of this month and may take a crack at it. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Web Interface......
Contact us
RSS
Top
Bottom