Kodi Community Forum

Full Version: XBMC Commander - Yet another unofficial third-party XBMC remote for iPad
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
chad.walters Wrote:You are correct about the nightlies, I will keep checking them until it gets fixed.

As far as the web interface. I get "connection to server lost" often. However, all my movies eventually showed up here.

Other way round: The directory issue will be solved with the next update of xbmc commander Smile

As for the connection problem: XBMCs web server is single threaded, so a running request blocks all others. Do you have anything else running that is accessing the web interface? Is there anything suspicious in xbmcs logfile?
Here is what the logs say when I query with XBMC Commander. It is interesting. It looks like it does the query to get all my movies, and then 25 at a time gets movie info with another query to get all my movies in there. If this will just take a bunch of time do I have to keep the ipad on and in this app for it to finish (dont let it sleep?)

08:57:34 T:104542208 M:117919744 WARNING: JSONRPC: Type mismatch in type labels
08:57:36 T:104542208 M:117755904 DEBUG: RunQuery took 462 ms for 670 items query: select * from movieview
08:57:41 T:805003264 M:119787520 DEBUG: Thread Jobworker 805003264 terminating (autodelete)
08:58:16 T:104542208 M:103673856 DEBUG: RunQuery took 12 ms for 25 items query: select * from movieview order by idMovie desc limit 25
08:58:20 T:104542208 M:103673856 DEBUG: RunQuery took 443 ms for 670 items query: select * from movieview
08:58:59 T:104542208 M:101421056 DEBUG: RunQuery took 22 ms for 25 items query: select * from movieview order by idMovie desc limit 25
08:59:00 T:104542208 M:101662720 DEBUG: RunQuery took 442 ms for 670 items query: select * from movieview
08:59:42 T:104542208 M: 99385344 DEBUG: RunQuery took 11 ms for 25 items query: select * from movieview order by idMovie desc limit 25
08:59:45 T:104542208 M: 99385344 DEBUG: RunQuery took 454 ms for 670 items query: select * from movieview
09:00:24 T:104542208 M: 97337344 DEBUG: RunQuery took 22 ms for 25 items query: select * from movieview order by idMovie desc limit 25
09:00:25 T:104542208 M: 97341440 DEBUG: RunQuery took 486 ms for 670 items query: select * from movieview
09:01:01 T:104542208 M: 95010816 DEBUG: RunQuery took 12 ms for 25 items query: select * from movieview order by idMovie desc limit 25
09:01:04 T:104542208 M: 95014912 DEBUG: RunQuery took 401 ms for 670 items query: select * from movieview
09:01:40 T:104542208 M: 92803072 DEBUG: RunQuery took 14 ms for 25 items query: select * from movieview order by idMovie desc limit 25
09:01:42 T:104542208 M: 92803072 DEBUG: RunQuery took 412 ms for 670 items query: select * from movieview
09:02:18 T:104542208 M: 90603520 DEBUG: RunQuery took 22 ms for 25 items query: select * from movieview order by idMovie desc limit 25
09:02:20 T:104542208 M: 90603520 DEBUG: RunQuery took 465 ms for 670 items query: select * from movieview
09:02:56 T:104542208 M: 88285184 DEBUG: RunQuery took 13 ms for 25 items query: select * from movieview order by idMovie desc limit 25
09:02:59 T:104542208 M: 88526848 DEBUG: RunQuery took 410 ms for 670 items query: select * from movieview
09:03:36 T:104542208 M: 86118400 DEBUG: RunQuery took 11 ms for 25 items query: select * from movieview order by idMovie desc limit 25
09:03:40 T:104542208 M: 86118400 DEBUG: RunQuery took 443 ms for 670 items query: select * from movieview
09:04:16 T:104542208 M: 83939328 DEBUG: RunQuery took 31 ms for 25 items query: select * from movieview order by idMovie desc limit 25
09:04:19 T:104542208 M: 83939328 DEBUG: RunQuery took 408 ms for 670 items query: select * from movieview
ok looks like the app is querying all movies and the recently added (that the query with the limit) over and over again.

I'll send you a pm for further debugging...
Great app - works flawlessly on my iPad 2. Definitely my favourite/most used iPad app!

I'd like to make a suggestion for a possible future update:

Since transcoding natively isn't yet supported; A button in the app (alongside play, enque item, imdb etc) to open the file in air video.

I would love to be able to browse my XBMC library and then stream to iPad all in one app.
Even though I cache everything, I can't see the TV show banners if I'm not connected... is this expected behavior?
xytreme99 Wrote:I download 720p trailer to my local hard disk for most of my newer movies. Tapping on the DVD gives an option to link to YouTube trailers but is the a way to play my local trailer

Thanks

I would love this feature as well! I have local trailers for all my movies.

Thx for the great app! Big Grin
Hi everyone,

I've got a solution for using XBMC Commander to start up XBMC if it's not already running if anyone is interested... particularly useful to me as I run XBMC on my main PC and have to manually start it/switch monitors to the TV (VNC server/wireless keyboard/virtual mouse/getting up off the sofa all work but nothing is as satisfying as hitting a button in XBMC Commander and it all magically happening!)

In fact, I've got two solutions :-) One works right now (sniffing for WOL magic packets) and the other one is a small local webserver which XBMC Commander can throw a HTTP request to via a custom menu item on the Remote page ... right now, that solution is not much use because that menu isn't shown when XBMC isn't running (grywnn very kindly agreed to add this to his todo list for a future release - thanks grywnn!) but the WOL sniffer works great as an alternative until that feature is in.

If anyone is interested, please respond to the separate thread I've created which outlines the two solutions and which will also hopefully determine if it's something many people would like to use.

Thanks!
misteriks Wrote:I would love this feature as well! I have local trailers for all my movies.

Same here, that would be perfect. I guess is that it would take almost as much effort as allowing to play the actual movies on the ipad (via transcoding). As this won't be supported by XBMC in the near future, I don't have too high hopes.

Someone in this thread suggested to use airvideo's transcoding capabilities to make this happen. No clue whether this would be possible, but this would be awesome!!! Another thought would be combining it with "Videostream", which basically does the same as airvideo, but its developers used to be in this forum and may be willing to help?
steve1977 Wrote:Same here, that would be perfect. I guess is that it would take almost as much effort as allowing to play the actual movies on the ipad (via transcoding). As this won't be supported by XBMC in the near future, I don't have too high hopes.

ah wait, let me clarify a bit

I don't want the trailer to play on my iPad or iPhone. I just want to be able to play the trailer that is locally availible on my XBMC PC on my TV.
So I want to start the trailer the same way I play a movie on my TV.
I seem to experiencing the same problem as @chad.walters. My Movies will not load in XBMC Commander for love or money. TV Shows, Music, and Files load just fine. Weird thing is, it DID work a few days ago, and now it doesn't anymore.

This is what I keep getting in the log:

15:02:26 T:86609920 M: 68345856 DEBUG: RunQuery took 16 ms for 25 items query: select * from movieview order by idMovie desc limit 25

Nada. No movies listed. Nothing. I tried downloading the info to cache, and it never gives a progress bar, just flashes up on the screen and stops.

Any ideas?
Hi,

dieharder Wrote:Hi everyone,

I've got a solution for using XBMC Commander to start up XBMC if it's not already running if anyone is interested.

there is allready a build-in WOL Option in XBMC Commander, that is working fine, just input the right mac and it works.
Where is your improvement?

Image Image

Maybe i get you wrong and you mean to start xbmc (application) if it's not running?
Please tell us what you mean and what you have done.

EDIT:

Ok i understood you wrong Wink my fault!


Greetz X23
@x23
What dieharder did is starting xbmc by hitting the wol button, not the xbmc machine!
That is, if your htpc is up and running, but xbmc isn't (maybe because you use the htpc for other stuff too), xbmc commander will think the htpc is offline and present the wol button. Dieharders script will then allow to startup xbmc remotely by hitting that button Wink

@n3IVI0
I'm still in progress of investigating chads issue.
At the moment i suspect that the request for the movie list times out.
I've got a timeout of 10s for the request, but it seems that chads machine takes longer than that to return the movie list.
Which is actually quite odd, because i'm getting the response for an equally sized library within fractions of a second.
So the problem would be on xbmcs side. Don't know whats going on there, maybe its a bug thats been introduced in a recent nightly.

Anyway: I've submitted an update to apple a few minutes ago, that will (amogst others) increase the timeout to 60s.
While this doesn't solve the slow request, it should at least make the movies reappear in the app.

@misteriks
Biggest problem with your request will be figuring out where to put the button and how to call it Smile
Seriously: I already query for the trailer url. Sending a "play" command to xbmc isn't a problem. I'll try to think of a way to add this.

@clock2113
All my banners show up fine when offline.
Just to be sure: Your banners are shown when online?

@jackmeehan
I've requested support for an url scheme (thus allowing me to link "deep" into their app - like i do with imdb) from the developers of airvideo, but they wouldn't add that for security reasons.
grywnn Wrote:@clock2113
All my banners show up fine when offline.
Just to be sure: Your banners are shown when online?

Yes, no banners show up offline, but the second I connect they all start filling in.
clock2113 Wrote:Yes, no banners show up offline, but the second I connect they all start filling in.

My bad!
I'm writing all images > 100.000 pixels to the iPad temporary directory, which gets purged by the system on a regular basis. Everything below 100k goes into a permanent cache.
The intention was to make cached fanart disappear automatically after some time, freeing precious ipad memory.
Now guess what: Banners are scaled to 768x141 - which is 108.288 pixels.
I'll adjust the limit Smile
grywnn Wrote:@misteriks
Biggest problem with your request will be figuring out where to put the button and how to call it Smile
Seriously: I already query for the trailer url. Sending a "play" command to xbmc isn't a problem. I'll try to think of a way to add this.

Great! Much appriciated! Big Grin