XBMC Community Forum
XBMC Commander - Yet another unofficial third-party XBMC remote for iPad - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: XBMC Commander - Yet another unofficial third-party XBMC remote for iPad (/showthread.php?tid=81018)



- Eddict - 2011-03-23 21:57

grywnn Wrote:Yeah myself Smile
Was annoyed by this too, so the next release will silently ignore any timeouts without bugging the user. Available in 1-2 weeks.
that would be great! or make the (length of the) timeout adjustable via settings?


- codex70 - 2011-03-24 18:09

Been using commander and very impressed. One option I would love is to be able to do a slideshow of photos from commander. Going to files, then pictures I can view some of my photos on the ipad (all photos are on an smb nas drive), but many come up as too large to view.

I've tried running xbmc on the ipad, but as yet it's very difficult to use, slow and regularly crashes. Trying to view photos is almost impossible.

Anyway, I know commander is supposed to be a remote, but it would be nice to have the slideshow, and even possibly as a screen saver so you can sit it on the side playing photos whilst not in use.

Anyway, just an idea.


- hotlobster - 2011-03-25 22:09

Hi

I've just bought Commander, to fit my new iPad 2, and it fits well.

Really nice app. Gratz.

There's a little problem with the way you get the picture if xbmc web server is behind apache and mod_proxy.

If I proxy with apache, it doesn't download thumbnails. The query is urlencoded and Apache seems lost. Request end with 404 error:

Code:
GET /vfs/special%3A%2F%2Fmasterprofile%2FThumbnails%2FVideo%2F9%2F9defb067.tbn HTTP/1.1" 404 506 "-" "Commander 1.9.8 (iPad; iPhone OS 4.3; fr_FR)"

"The requested URL /vfs/special://masterprofile/Thumbnails/Video/9/9defb067.tbn was not found on this server."

If i get the same url trought apache too but without urlencoding, it works, and download the thumb.

So to make short:

Doesn't Work:
Code:
http://mediacenter/vfs/special%3A%2F%2Fmasterprofile%2FThumbnails%2FVideo%2F9%2F9defb067.tbn

Works:
Code:
http://mediacenter/vfs/special://masterprofile/Thumbnails/Video/9/9defb067.tbn

But the urlencoded query direct to xbmc http server works of course:

Works:
Code:
http://mediacenter[b]:8080[/b]/vfs/special%3A%2F%2Fmasterprofile%2FThumbnails%2FVideo%2F9%2F9defb067.tbn

Anyway to fix this on next version by not urlencode those query ?
Other apps like XBMC remote control works ok.

Thanks.


- grywnn - 2011-03-25 23:31

codex70 Wrote:Been using commander and very impressed. One option I would love is to be able to do a slideshow of photos from commander. Going to files, then pictures I can view some of my photos on the ipad (all photos are on an smb nas drive), but many come up as too large to view.

I've tried running xbmc on the ipad, but as yet it's very difficult to use, slow and regularly crashes. Trying to view photos is almost impossible.

Anyway, I know commander is supposed to be a remote, but it would be nice to have the slideshow, and even possibly as a screen saver so you can sit it on the side playing photos whilst not in use.

Anyway, just an idea.

...an idea i actually like a lot Smile
But i think i'll wait until xbmc supports server side scaling of images, which will make things a lot easier.

@hotlobster
That's what i call a detailed bug report !
Please try adding [nocanon] to the end of your ProxyPass directive.
This will tell apache to pass the URL path "raw" to the backend

You might want to limit this to vfs urls though, like
Code:
ProxyPass /vfs/   http://server:8080/vfs/ [nocanon]
ProxyPass /       http://server:8080/
(mind the ordering; the specific rule must be before the general one. Configuring and fine tuning apache is one of the things i earn my money with Smile )

Otherwise:
I need to do the urlencoding to handle possible special characters in the profile name.
I'll remove the encoding of "/" and ":" in my code, which should make the paths valid again, and shouldn't have too much impact on profile names.
Unfortunately (or fortunately, depends on the point of view) the next update is already in revision, so this "fix" won't make it in there.


- Arquizona - 2011-03-26 00:49

This wonderful app, will run with XBMC Dharma 10.1?


- hotlobster - 2011-03-26 02:08

Quote:That's what i call a detailed bug report !

And that's what I call fast support. Smile

I didn't know this nocanon option.

Tryed but didn't work, apache doesn't start with it.

Quote:Syntax error on line 1 of /etc/apache2/httpd.conf:
Invalid ProxyPass|ProxyPassMatch parameter. Parameter must be in the form 'key=value'.
Action 'configtest' failed.

My httpd.conf have this line:

Quote:ProxyPass /vfs http://localhost:8080/vfs/ [nocanon]

I've tryed with "nocanon" too, apache starts, but no behavior change on this problem.

This nocanon option is not really well documented, I will investigate further.

Thanks for the trick.

Anyway I can wait, this is only for when I use it outside my network. As it's totally useless, this is just to show my friends from outside how cool this app is Wink.


- grywnn - 2011-03-26 09:53

Arquizona Wrote:This wonderful app, will run with XBMC Dharma 10.1?
It will Smile

@hotlobster
Drop the [], i've put them there by mistake. So much for reading the documentation at 11 pm after ~5 beers Smile


- hotlobster - 2011-03-26 12:32

That's what I've tryed after, but no success. There's still the canonical url problem.

I'll try url rewriting on apache side. This is dirty but should work Smile


- hotlobster - 2011-03-27 13:48

I've foud a good trick. Smile
Just set at virtualhost level in apache:

Code:
AllowEncodedSlashes On


By default apache ignore %2F in a url and answer 404, if it's not inside a variable.
Found it here: http://framework.zend.com/issues/browse/ZF-3959

Cheers.


- Arquizona - 2011-03-28 00:45

dibsta Wrote:Hi Gyrwnn
I'm unable to connect keep getting

Server Error server didn't respond to JSON request

Can you Help

Same problem here... correct ip
Any other clue?Oo