2011-08-17, 04:38
Any progess on mobile version?
RaNaMaster Wrote:https://github.com/xbmcfreak/xbmc-remote-php
php remote for xbmc
<td width="80" align="center"><?php
if( fopen(''.$transmission_web.'/images/graphics/logo.png', 'r')) {
echo "<img src='media/green-tick.png' height='15px' Title='Found.'>" ;
} else {
echo "<img src='media/red-cross.png' height='15px' Title='Unavailable'>"; } ?></td>
DejaVu Wrote:Firefox seems to be the centre of attention at the moment, it's not doing quite a few things it used. One huge one is the history.back() in javascript seems to be screwed too.
lunias Wrote:I believe I found the cause of this issue and fixed it on my local copy.
Code:if(!empty($_GET["display"])) {
include_once "../config.php";
[b] $html = getComingSoon($sickbeardcomingepisodes);
$body = stripBody($html);
$body = stripInnerWrapper($body);[/b]
$urldata = @parse_url($sickbeardcomingepisodes);
I'm more or less lost when it comes to PHP so this messed me up for awhile, but there is one call to displayComingSoon() which should perhaps be deprecated because it is never executed for me? Instead the above code is run and as it stands in the latest commit of DejaVu's repo there is no stripping of the body or the inner wrapper. Once you add them in the errors cease and everything is much more responsive. I also modified stripInnerWrapper() to strip starting at <h1 class="day">, but this is probably unecessary.
lunias
Archigos Wrote:Click the little arrow in the line above for original post
DejaVu Wrote:I officially declare this POST OF THE WEEK.
He is bang on and for someone that is 'more or less lost when it comes to PHP' has done a cracking job here. I recommend this on all repo's. ComingEpisodes loading slow, IMO has been fixed by Lunias! Nice one.
DejaVu Wrote:I officially declare this POST OF THE WEEK.