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

Status
Not open for further replies.

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
I do wanna take a look at the conf but as usual can't seem to find anything :)
Can't seem to get it right myself yet, running into some vhost issue 403 forbidden (apache, iis will only support one site on this xp machine)
 

payload

Portal Member
March 14, 2006
10
0
iPimp suggestions

Hi, I have just started using iPimp and have to say WOW, thanks, it's brilliant.

The TV Server implementation works pretty much perfectly for me. I haven't played with transcoding yet but in terms of giving quick access to the TV Server it's great.
I have a few suggestions, and I apologize if these have already been mentioned earlier in the thread. They are all related to the client control and are really just UI tweaks to make it easier to use.

1. The option to list the clients directly on the main menu rather than through the clients sub-menu.
2. A recorded shows menu for the client, just like the one for the TV Server but to allow playback on the client, accesible from the main client menu.
3. A simple TV control menu accessible from the client main menu that when pressed automatically starts the TV module on the client and gives a menu listing the channels with the current program for each channel.

Keep up the good work.

Justin
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
So since I couldn't find the conf I just checked out the source, looks like you know your stuff regarding apache config (unlike me :)).
Could you maybe help me out here cause I'm struggling? afaik I have to setup iPimp to run under a virtualhost so your relative urls will work out (I would gladly run it in a subdir but seems that it can't be done like that cause of the links, understandable).
This is my current part of virtual host I have setup for iPimp however I keep getting 403. I know this is me doing something wrong, already searched the net up and down, found some causes but no real working solution for me yet.
I've seen references this can be caused by vhost.conf but I do not load that file in httpd.conf (I know I should, really learning still with webserver configuration). I have attached the part of httpd.conf that mathers (I think)
[collapse]
LoadModule aspdotnet_module modules/mod_aspdotnet.so
#and a lot of others, all required are loaded

<VirtualHost *:8181>
ServerAdmin some@email.com
ServerName some.uri
ErrorLog "logs/ipimp_error.log"
CustomLog "logs/ipimp_access.log" common
DocumentRoot "C:/Program Files/iPiMP/Aspx/"

AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo
Alias "C:/Program Files/iPiMP/Aspx/" ##DOCUMENTROOT##"
Alias /TVLogos "##TVIMAGEROOT##"
Alias /MP4 "##MP4ROOT##"

AspNetMount / "##DOCUMENTROOT##"

<Directory "##DOCUMENTROOT##">
Options FollowSymlinks ExecCGI
Order allow,deny
Allow from all
DirectoryIndex Default.aspx
</Directory>

<Directory "##TVIMAGEROOT##">
Options FollowSymlinks ExecCGI
Order allow,deny
Allow from all
</Directory>

<Directory "##MP4ROOT##">
Options FollowSymlinks ExecCGI
Order allow,deny
Allow from all
</Directory>

AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
<Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">
Options FollowSymlinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


<VirtualHost *:80>
ServerAdmin some@email.com
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
ServerName some.uri

ProxyPass /somedir/ some.uri:someport
ProxyPass /somedir some.uri:someport
ProxyPass /somedit/ some.uri:someport
#block hotlinking images
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !some.uri [NC]
RewriteCond %{HTTP_REFERER} !some.uri[NC]
RewriteCond %{HTTP_REFERER} !192\.168 [NC]
RewriteRule \.(gif|jpe?g|png)$ http://i50.tinypic.com/2yya5oh.jpg [NC,L]

#set expries and ETags
FileETag none
ExpiresActive On
ExpiresByType image/gif "access plus 10 years"
ExpiresByType image/jpeg "access plus 10 years"
ExpiresByType image/png "access plus 10 years"
ExpiresByType text/css "access plus 10 years"
ExpiresByType image/x-icon "access plus 10 years"
ExpiresByType application/javascript "access plus 10 years"
ExpiresByType application/x-javascript "access plus 10 years"
</VirtualHost>
[/collapse]

I'm not really sure but the aspx folder has read/write permissions for the right user. I have also seen references that the above folder might also need these permissions (which is not a good idea with my current dir structure :))
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
got passed the 403 problem to run into the next.
Still something config wise (at first I had a simple mistake in httpd) it outputs the content as plain text to the browser.
Maybe some mime type I need in apache? Guess not, probably something wrong that makes it not being parsed?
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
Just got another step further, it's being parsed. Running into an error in web.config though;
[collapse]
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: The value of the property 'timeout' cannot be parsed. The error is: Input string was not in a correct format.

Source Error:

Line 37: <authentication mode="Forms">
Line 38: <forms name=".ASPXAUTH" loginUrl="DefaultLogin.aspx" protection="All" timeout="" path="/" requireSSL="false" slidingExpiration="true" defaultUrl="Default.aspx" cookieless="UseCookies" />
Line 39: </authentication>
[/collapse]
This one I really need some help with. I fixed it by putting a proper value in the timeout attribute (for now 60) but I'm not sure what the timeout is used for. You probably had some reason leaving it empty (which means indefinit?!)
 

cheezey

Community Plugin Dev
August 26, 2004
1,559
312
57
West Yorks, UK
Home Country
United Kingdom United Kingdom
Just got another step further, it's being parsed. Running into an error in web.config though;
[collapse]
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: The value of the property 'timeout' cannot be parsed. The error is: Input string was not in a correct format.

Source Error:

Line 37: <authentication mode="Forms">
Line 38: <forms name=".ASPXAUTH" loginUrl="DefaultLogin.aspx" protection="All" timeout="" path="/" requireSSL="false" slidingExpiration="true" defaultUrl="Default.aspx" cookieless="UseCookies" />
Line 39: </authentication>
[/collapse]
This one I really need some help with. I fixed it by putting a proper value in the timeout attribute (for now 60) but I'm not sure what the timeout is used for. You probably had some reason leaving it empty (which means indefinit?!)

Actually no - the timeout must have a value. The iPiMP installer populates this when you select the apache install. You set it to the number of seconds you want the cookie to last. I've got it set to a very large value so that I don't have to re-login frequently.

The timeout also appears in the following line:

[collapse]<roleManager defaultProvider="SQLiteRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="300000" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="All">[/collapse]

The one other thing I'd say is there is an installer section which does some stuff with the mod_aspnet to get it working, you can see the commands run in ApacheModAspNet.nsh - ipimp - Project Hosting on Google Code
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
Just wanted to say :D again to cheezey making this cool app. Man you really put something together here :D alot!
I got it going beatifuly now and even learned some stuff about apache in the progress! Great!

atm I am working on making my server console mobile (although this link is still desktop only, works not too shabby already on the iphone, that mobile browser is really, really good). I have to refacture that one badly (especially config wise) so I can someday distribute something like you got going here
 

cheezey

Community Plugin Dev
August 26, 2004
1,559
312
57
West Yorks, UK
Home Country
United Kingdom United Kingdom
Just wanted to say :D again to cheezey making this cool app. Man you really put something together here :D alot!
I got it going beatifuly now and even learned some stuff about apache in the progress! Great!

atm I am working on making my server console mobile (although this link is still desktop only, works not too shabby already on the iphone, that mobile browser is really, really good). I have to refacture that one badly (especially config wise) so I can someday distribute something like you got going here

joz - Cool looking server console - I like these aggregated utilities.

It'd be great if you could document what you did to get iPiMP running with your existing Apache install - I know others have asked about this in the past. I'd like to include it as a page on the iPiMP wiki to help others who would like to do the same.

Forget it found the awnser

goomba516 - Already forgotten :D
 

goomba516

Portal Member
October 25, 2007
26
0
Home Country
United States of America United States of America
okay i am back have a few questions
1st under tv server status and then TV card status i get !! FUBAR !!

Object reference not set to an instance of an object.

followed by a long message can paste if you need to see it
2nd Under my music i get Unable to cast object of type 'System.String' to type 'Jayrock.Json.JsonObject'.
and finally under recorded programs i get Object reference not set to an instance of an object.
Can anyone help with any of these
3rd under MP client and then now playing i get this error message
Unable to cast object of type 'System.String' to type 'Jayrock.Json.JsonObject'.
I realize some of these could be easy to solve but after everything my mind feels like mush
Finally do i need set up a new user or can i just stay with admin
 
Status
Not open for further replies.

Users who are viewing this thread

Top Bottom