iPhone interface for MediaPortal (iPiMP) - original thread (now closed) (14 Viewers)

Status
Not open for further replies.

ehs

New Member
October 17, 2009
4
0
Setting up iPiMP on IIS server

I have installed the iPiMP on my server but since I have already a IIS running for 4TheRecord I don't want to install an Apache server.
In the IIS Administration I have created a new site called "iPhone" and pointed this to the directory where iPiMP is installed.
I have also entered timeout figures in the web config file but what more do I have to do to make the application work?
If i try to open http://myservername/iPhone
I get the following error:

Server Error in '/iPhone' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>




On the server I have installed SQL Express Edition which is used for MP and 4TheRecord but I guess that something has got to be configured for the iPiMP application as well?

Please tell me what to do in details step by step

Sorry, here comes the actual error message taken from the server:

Server Error in '/iPhone' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'DirectShowLib' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Source Error:


Line 36: <providers>
Line 37: <clear/>
Line 38: <add name="SQLiteRoleProvider" type="iPiMPWeb.iPiMPProvider.SQLiteRoleProvider" connectionStringName="ConnString" applicationName="iPiMP" writeExceptionsToEventLog="false"/>
Line 39: </providers>
Line 40: </roleManager>


Source File: C:\Program Files (x86)\iPiMP\aspx\web.config Line: 38

Assembly Load Trace: The following information can be helpful to determine why the assembly 'DirectShowLib' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
 

ehs

New Member
October 17, 2009
4
0
Ok, I have changed the pool and now there is a connection when I open http://myservername/iphone locally in IE but the page that is being opened is http://myservername/login.aspx?ReturnUrl=/default.aspx
and this is just a black screen. There is a label which says "iPiMP by Cheezey" and in the left corner it says "Error on Page".
What else has to be configured?
I am using a 64 bit server with Windows7 Enterprise edition and the latest IIS.
 

cheezey

Community Plugin Dev
August 26, 2004
1,559
312
58
West Yorks, UK
Home Country
United Kingdom United Kingdom
Well for a start it doesn't work with IE.

You'll understand a bit more about iPiMP if you read the iPiMP wiki, or indeed have a browse through this thread.
 

ehs

New Member
October 17, 2009
4
0
Sorry, I didn't notice that I have to use Safari.
With Safari running on a different computer on the LAN I have tried to open http://192.168.1.2/iphone but now the result is:

404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

I have tried to search for "IIS" and "setup" here in this forum with no results. Is there a guide in this tread (85 pages !) ?
I have read the pdf document but can not find any further guidance or forums/"Wiki" for this application anywhere.
Please help me out :)
 

cheezey

Community Plugin Dev
August 26, 2004
1,559
312
58
West Yorks, UK
Home Country
United Kingdom United Kingdom
Sorry, I didn't notice that I have to use Safari.
With Safari running on a different computer on the LAN I have tried to open http://192.168.1.2/iphone but now the result is:

404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

I have tried to search for "IIS" and "setup" here in this forum with no results. Is there a guide in this tread (85 pages !) ?
I have read the pdf document but can not find any further guidance or forums/"Wiki" for this application anywhere.
Please help me out :)

;) You see this is the reason I bundle Apache, so I don't have to provide instructions/support on IIS5, IIS6, IIS6.1, IIS7, IIS7.5, Cassini, etc. etc. One web server to rule them all!

There are no explicit instructions for setting this up in IIS as most people use the bundled Apache, the few users using IIS for iPiMP are on there own really. However as I use IIS7.5 on my dev box, here's a few pointers...

Your first post indicates you have setup a new website - if this is the case then you should be browsing to http://192.168.1.2

If you have setup a new site it will have created a dedicated app pool which by default runs with the identity "ApplicationPoolIdentity", you also need to grant this identity access to your website folder.

You should also create 2 virtual directories under this website, one called TVLogos mapped to the location of your TV logos, and one called MP4 mapped to the location of your transcoded MP4 files.

You will also need to add a mime type mapping the .mp4 extension to video/mpeg.

This should be sufficient to get it up and running.
 

ehs

New Member
October 17, 2009
4
0
Thanks a lot for all your help. I did try to use the built in Apache server but this wasn't installable on the Windows7 server.

However, with the description from you I have now managed to set up the site on IIS and all the menus are working perfectly in the Safari browser on my PC and on my iPhone.

The problem is now that I don't see any data in it. I can see all the TV channels but no TV guide and no schedules.

I am using 4theRecord on top of MediaPortal on my web server. Is that the reason why I don't get any data or do I have to change anything to get it then?

I have noticed that you have "4TR support" as an item for future releases on your list but do not now if this means that I can't use iPiMP with 4TR at all?
 

cheezey

Community Plugin Dev
August 26, 2004
1,559
312
58
West Yorks, UK
Home Country
United Kingdom United Kingdom
Thanks a lot for all your help. I did try to use the built in Apache server but this wasn't installable on the Windows7 server.

However, with the description from you I have now managed to set up the site on IIS and all the menus are working perfectly in the Safari browser on my PC and on my iPhone.

The problem is now that I don't see any data in it. I can see all the TV channels but no TV guide and no schedules.

I am using 4theRecord on top of MediaPortal on my web server. Is that the reason why I don't get any data or do I have to change anything to get it then?

I have noticed that you have "4TR support" as an item for future releases on your list but do not now if this means that I can't use iPiMP with 4TR at all?

Glad you have it working. I don't why you couldn't install Apache onto your Windows 7 machine, it works fine on all mine (maybe you had a port clash?).

iPiMP does not support 4TR, only the MP TV Server recording engine. 4TR support is down at the bottom of my list to develop as I do not use it.

However iPiMP has been completely rewritten and iPiMP4 will be released in the next few days. As part of this rewrite I have published the source to Google code (ipimp - Project Hosting on Google Code) and I'm hoping others will be encouraged to join iPiMP development, maybe they could put 4TR support in.

Alternatively perhaps the 4TR team can add an iPhone friendly site into their release.
 

snoekieboe

Portal Pro
October 20, 2007
52
4
Home Country
Netherlands Netherlands
Hi Cheezey,

First of all, thanks for all your hard work and effort you put into you IPIMP project.

Could you give as a release date for IPIMP 4 and perhaps a changelog in comparison with version 3.5?

I'm about to reinstall my HTPC but i might wait knowing your about to release a new version :)
 

cheezey

Community Plugin Dev
August 26, 2004
1,559
312
58
West Yorks, UK
Home Country
United Kingdom United Kingdom
Hi Cheezey,

First of all, thanks for all your hard work and effort you put into you IPIMP project.

Could you give as a release date for IPIMP 4 and perhaps a changelog in comparison with version 3.5?

I'm about to reinstall my HTPC but i might wait knowing your about to release a new version :)

Release date - can't say exactly - certainly by this time next week.

Changelog - most of the changes are under the covers - iPiMP has been completely re-written for two main reasons:

1. To make it more supportable - hopefully others will be able to contribute (ipimp - Project Hosting on Google Code).
2. To support multiple languages - English & German are done and tested and will be in the release. Someone is working on the Dutch translation, this will be added to the release if received in time. If anyone else wants to contribute to a translation then read this (https://forum.team-mediaportal.com/tv-server-plugins-294/ipimp-4-translations-71797/).

There are a few UI changes you'll notice though:

  • All buttons have been moved to the title bar to give a common layout to all screens.
  • All music sections have a new common layout making it easier to select what to play.
  • Added an option to view all tracks by an artist.
  • Added a Next Day link to a channel's daily program view.
  • Added a Power Option to close MediaPortal.
  • Added a Global Message option to send a message to all clients.

iPiMP 4 will still be for MediaPortal versions up to 1.0.2. There are known issues with MP 1.1.0 Beta.

It seems faster in initial testing too.
 
Status
Not open for further replies.

Users who are viewing this thread

Top Bottom