<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Additional info...<br><br>I have created a webpage containing the php code -<br><br>&lt;?php <br>&nbsp;echo $_SERVER['HTTP_USER_AGENT'];<br>&nbsp;?&gt; <br><br>which returns <br><br>
Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0<br><br>using the standard Ubuntu version of firefox. However, the return when the website is accessed from Mythbrowser is<br><br>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Mozilla/5.0 (X11; U; Linux i686; en-GB) AppleWebKit/533.3 (KHTML, like Gecko) Qt/4.7.2 Safari/533.3</span><br><br>which the BBC website is presumably interpreting as a mobile browser.<br><br><div>&gt; From: andysummerskill@hotmail.com<br>&gt; To: mythtv-users@mythtv.org<br>&gt; Date: Tue, 16 Aug 2011 15:57:58 +0100<br>&gt; Subject: Re: [mythtv-users] BBC iPlayer website request fetches mobile site<br>&gt; <br>&gt; I'm having this problem too.<br>&gt; <br>&gt; Can anyone give a step-by-step of how to override<br>&gt; QWebPage::userAgentForUrl(const QUrl&amp;url).<br>&gt; <br>&gt; -which file needs editing, location of that file. etc.<br>&gt; <br>&gt; I assume any changes will need to be made on each Frontend<br>&gt; <br>&gt; BTW I'm running Mythfrontend version: fixes/0.24(v0.24.1-69-g515171d)<br>&gt; under Mythbuntu Natty<br>&gt; <br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; mythtv-users@mythtv.org<br>&gt; http://www.mythtv.org/mailman/listinfo/mythtv-users<br></div>                                               </div></body>
</html>