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
Webinterface 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="samuel337" data-source="post: 7794" data-attributes="member: 10347"><p>Hmm... interesting. What version of MP are you using? Make sure that when you go into MP configuration, plugins section, that the 'External Control Plugin' is enabled. Also, check the MP log file and see if there's a line similar to "ExtControl: remoting initialised".</p><p></p><p></p><p>Its currently hard-wired for png files - it was a decision made by maschine, but I'll talk to him able making it accept jpg and gif files as well. Programatically it would be hard because currently it asks for the logo from <a href="http://localhost/MPthumbs/image_file.png" target="_blank">http://localhost/MPthumbs/image_file.png</a> and if that does not exist, apache will return the nochannellogo.gif file (<a href="http://localhost/MPthumbs" target="_blank">http://localhost/MPthumbs</a> is an apache alias to your MP logos folder). It would be hard to test for jpg and gif and other graphics formats. Using the alternate method (setting the 'thumbs' path), it is easier to solve the problem however it will involve testing for file existence multiple times (once for png, then jpg then gif). Maybe there should be a setting that specifies what the logo extension is... we'll have a look into this.</p><p></p><p></p><p>Thanks! 8 PCs? that's one computerised household! </p><p></p><p></p><p>The main reason is ease of installation automation and configurability. It is much easier for me to install apache and php and write out a config file than for me to write out a huge set of instructions telling people how to install IIS, then install PHP support, then setting up websites and permissions etc. The other thing is that IIS is not included in XP Home. </p><p></p><p>To setup the app on IIS, install the setup file so the files are extracted and the plugin is installed. Don't install apache as a windows service.</p><p></p><p>Now install PHP support into IIS if you haven't already done so (see <a href="http://www.php.net" target="_blank">www.php.net</a>). Also make sure ASP.NET support is installed into IIS (if not, navigate to \windows\microsoft .net\<1.1 version number> and run aspnet_regiis -i).</p><p></p><p>Now setup three websites in IIS:</p><p>1. Setup one called MPExtControlWS and map this to mediaportal\MPWebControl\htdocs\MPExtControlWS. Make this a web app. It should be accessible at <a href="http://localhost/MPExtControlWS" target="_blank">http://localhost/MPExtControlWS</a>.</p><p>2. Setup another one called webscheduler (or at the root if you wish) and map this to mediaportal\MPWebControl\htdocs\webscheduler. PHP support needs to be activated for this website (if needed - I haven't setup PHP under IIS before, but it should be pretty easy and instructions should be on <a href="http://www.php.net" target="_blank">www.php.net</a>). This may have to be made a web app as well. </p><p>3. Setup a final website called MPthumbs (accessible by <a href="http://localhost/MPthumbs" target="_blank">http://localhost/MPthumbs</a>). Link this to the mediaportal\thumbs\tv\logos folder. Make the 404 page <a href="http://localhost/webscheduler/nochannellogo.gif" target="_blank">http://localhost/webscheduler/nochannellogo.gif</a>.</p><p></p><p>It should work now - as I said its untested so report back if you have issues or a better or more detailed method.</p><p></p><p>Lastly, all security permissions are your responsibility. In the bundled apache server, I have limited web service to local network connections only, and the webscheduler only accessible with a username/password. </p><p></p><p>HTH</p><p></p><p>Sam</p></blockquote><p></p>
[QUOTE="samuel337, post: 7794, member: 10347"] Hmm... interesting. What version of MP are you using? Make sure that when you go into MP configuration, plugins section, that the 'External Control Plugin' is enabled. Also, check the MP log file and see if there's a line similar to "ExtControl: remoting initialised". Its currently hard-wired for png files - it was a decision made by maschine, but I'll talk to him able making it accept jpg and gif files as well. Programatically it would be hard because currently it asks for the logo from [url]http://localhost/MPthumbs/image_file.png[/url] and if that does not exist, apache will return the nochannellogo.gif file ([url]http://localhost/MPthumbs[/url] is an apache alias to your MP logos folder). It would be hard to test for jpg and gif and other graphics formats. Using the alternate method (setting the 'thumbs' path), it is easier to solve the problem however it will involve testing for file existence multiple times (once for png, then jpg then gif). Maybe there should be a setting that specifies what the logo extension is... we'll have a look into this. Thanks! 8 PCs? that's one computerised household! The main reason is ease of installation automation and configurability. It is much easier for me to install apache and php and write out a config file than for me to write out a huge set of instructions telling people how to install IIS, then install PHP support, then setting up websites and permissions etc. The other thing is that IIS is not included in XP Home. To setup the app on IIS, install the setup file so the files are extracted and the plugin is installed. Don't install apache as a windows service. Now install PHP support into IIS if you haven't already done so (see [url]www.php.net[/url]). Also make sure ASP.NET support is installed into IIS (if not, navigate to \windows\microsoft .net\<1.1 version number> and run aspnet_regiis -i). Now setup three websites in IIS: 1. Setup one called MPExtControlWS and map this to mediaportal\MPWebControl\htdocs\MPExtControlWS. Make this a web app. It should be accessible at [url]http://localhost/MPExtControlWS[/url]. 2. Setup another one called webscheduler (or at the root if you wish) and map this to mediaportal\MPWebControl\htdocs\webscheduler. PHP support needs to be activated for this website (if needed - I haven't setup PHP under IIS before, but it should be pretty easy and instructions should be on [url]www.php.net[/url]). This may have to be made a web app as well. 3. Setup a final website called MPthumbs (accessible by [url]http://localhost/MPthumbs[/url]). Link this to the mediaportal\thumbs\tv\logos folder. Make the 404 page [url]http://localhost/webscheduler/nochannellogo.gif[/url]. It should work now - as I said its untested so report back if you have issues or a better or more detailed method. Lastly, all security permissions are your responsibility. In the bundled apache server, I have limited web service to local network connections only, and the webscheduler only accessible with a username/password. HTH Sam [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Webinterface plugin
Contact us
RSS
Top
Bottom