LinHES Forums
http://forums.linhes.org/

Mythweb not showing properly on ipod/iphone
http://forums.linhes.org/viewtopic.php?f=25&t=21098
Page 1 of 1

Author:  smartel [ Wed May 26, 2010 11:09 am ]
Post subject:  Mythweb not showing properly on ipod/iphone

I have searched over and over, and since I am not a web programmer, I am a bit at lost.

I have seen this post wich shows how to detect mobile device, and get fonts bigger, that works great.

The first page shows up properly when I type the IP adress of my box from Safari web browser on Ipod

http://ip.of.myth.box

I see the menu properly aligned and all showing, when I select Mythweb I end up with only two buttons Television and Remote, Remote does not work wich is not bad, I don't need it, and when I select Television I get Upcoming and Recorded , these two work properly but there is no way to set up a new recording!

When I access it with Firefox, everything is cool and working properly.


Any help/pointers appreciated
Thanks

Author:  brfransen [ Wed May 26, 2010 11:27 am ]
Post subject: 

MythWeb is detecting that you are viewing it on an iPhone/iPod touch and is serving the iPod MythWeb template and skin. If you want the default template and skin that you see in Firefox on the page with Television and Remote at the bottom hit the "Reset template and skin to defaults".

Britney

Author:  smartel [ Wed May 26, 2010 3:10 pm ]
Post subject: 

ooops!
didn't scroll down. :(
I saw the link thanks,
where can I start to take a peek at the page that I am presented when it is detecting the ipod/iPhone, if I can change/update?

Thanks again

Author:  mattbatt [ Wed May 26, 2010 9:18 pm ]
Post subject: 

just a note I had a hard time getting back to that view on my phone. Once you click the default skin it's hard to go back.

Author:  DoomedTX [ Sun Jul 11, 2010 8:11 am ]
Post subject: 

smartel wrote:
ooops!
didn't scroll down. :(
I saw the link thanks,
where can I start to take a peek at the page that I am presented when it is detecting the ipod/iPhone, if I can change/update?

Thanks again


/data/srv/httpd/htdocs/mythweb/skins/iPod-default/ is where you want to start looking, I think. I'd love to see some improvement here as the iPod skin gives me several errors when looking at a recorded program. The text is overlapping so it's hard to read, but it's something about the recording "/myth/tv/[recording number].mpg" not being in the allowed path followed by a long list of directories.

Also as you mentioned it would be nice to schedule recordings and view listings from the iPhone/iPod.

Update: As mattbatt said, it's not super intuitive to change back to the iPod version. I changed the current template to iPod under Settings, My Session, but it sort of half changed because I didn't do the skin as well. I get the iPod menu choices but without the graphics and with the default background. Getting back the iPod theme requires changing template and skin settings. In the meantime the bastardized skin made it easier to copy the error:

Code:
Warning at /data/srv/httpd/docs/mythweb/modules/tv/classes/Program.php, line 815:
file_exists() [function.file-exists]: open_basedir restriction in effect.
File(/myth/tv/1026_20100702083000.mpg) is not within the allowed path(s):
(/data/srv/httpd/htdocs/:/home/:/tmp/:/usr/share/pear/:/data/srv/temp/:/usr/share/mythtv/mythweb/scripts/:/data/srv/httpd/htdocs/mythweb/data/video/:/myth/ipodfeed/:/data/srv/httpd/htdocs/archive/:/etc)


I get the error 4 times, one for each of the directories in my storage group.

Author:  brfransen [ Sun Jul 11, 2010 1:50 pm ]
Post subject: 

Quote:
Code:
Warning at /data/srv/httpd/docs/mythweb/modules/tv/classes/Program.php, line 815:
file_exists() [function.file-exists]: open_basedir restriction in effect.
File(/myth/tv/1026_20100702083000.mpg) is not within the allowed path(s):
(/data/srv/httpd/htdocs/:/home/:/tmp/:/usr/share/pear/:/data/srv/temp/:/usr/share/mythtv/mythweb/scripts/:/data/srv/httpd/htdocs/mythweb/data/video/:/myth/ipodfeed/:/data/srv/httpd/htdocs/archive/:/etc)


I get the error 4 times, one for each of the directories in my storage group.


Edit the /etc/php/php.ini and either comment out the open_basedir or add the path. In new installs the open_basedir is commented out.

Author:  tjc [ Mon May 09, 2011 6:54 pm ]
Post subject: 

Can somebody ban this spammer and kill their posts? :roll:

Author:  manicmike [ Wed May 11, 2011 10:25 pm ]
Post subject: 

tjc wrote:
Can somebody ban this spammer and kill their posts? :roll:


I'm killing the posts now but the admin panel is essentially blocked by the corporate firewall I'm behind

Mike

Author:  manicmike [ Wed May 11, 2011 10:31 pm ]
Post subject: 

No, I cannot get rid of this one. Keeps telling me invalid session and booting me out. I've had to log in over thirty times in the past 10 mins and still getting nowhere.

Someone else will have to do it or wait until I get home tonight.

:-(

Author:  Big_D_271 [ Mon Jun 20, 2011 11:55 pm ]
Post subject: 

So how do I make mythweb recognize my Android? I have change my user agent on Android to look like iPhone, and tried that to. I still am unable to get mythweb to give me the WAP version.

Author:  Big_D_271 [ Tue Jun 21, 2011 12:07 am ]
Post subject: 

Big_D_271 wrote:
So how do I make mythweb recognize my Android? I have change my user agent on Android to look like iPhone, and tried that to. I still am unable to get mythweb to give me the WAP version.


Nevermind.

needed to add Android to the 'mobile.php' file

/data/srv/httpd/htdocs/mythweb/includes/mobile.php

$mobiles = array(

'Android' => array('width' => 320, 'height' => 480),

Thanks to the Ubuntu forums:
http://ubuntuforums.org/showthread.php?t=919440

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/