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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: XBMC Commander - Yet another unofficial third-party XBMC remote for iPad (/showthread.php?tid=81018)



- rolapinou - 2011-03-31

grywnn Wrote:Do gestures work?
If they don't, the app can't connect to xbmcs eventserver.
- check if "allow control by other systems" is activated in system->network
- check that port 9777 on the xbmc machine isn't blocked by a firewall

Well, they work but not as good as I think they are supposed to.
I mean if I tap the screen while playing a video, it pauses/unpauses the video. But I really have difficulties to pop up the OSD.
And when I manage to have the OSD on screen, if I slide to the right (to reach the audio settings for example), the selected item moves to the right but with an unconstant speed, so it's difficult to reach the button I want.

If I understand well, the keyboard can be used to map shortcuts through an .xml file.
For example, the "T" letter is supposed to be used to switch the subtitles language but it doesn't work for me. None of the letters seem to be active through the emulated-keyboard.

Thanks for your quick answer !

PS : I do not have a firewall on the PC is connected to the box provided by my internet provider, which is supposed to include a hardware firewall.


- grywnn - 2011-03-31

Quote:I mean if I tap the screen while playing a video, it pauses/unpauses the video. But I really have difficulties to pop up the OSD.
And when I manage to have the OSD on screen, if I slide to the right (to reach the audio settings for example), the selected item moves to the right but with an unconstant speed, so it's difficult to reach the button I want.

A short "tap" on the remote sends a "return" to XBMC, which might toggle pause (depends on keymap.xml)
A long "tap" - like putting your finger on the ipad for one sec. - sends a "c" and an "o", which should open either the context menu or the osd.

To emulate a single arrow keypress, make a short fast flicking gesture. Its just like on the keyboard: The moment your finger touches the ipad a keypress is emulated, when you lift your finger, the key is released. Doing slow movements is useful when scrolling through long lists, fast movements when selecting buttons.

Quote:If I understand well, the keyboard can be used to map shortcuts through an .xml file.
For example, the "T" letter is supposed to be used to switch the subtitles language but it doesn't work for me. None of the letters seem to be active through the emulated-keyboard.
For reasons unknown, XBMC only reacts to capital letters when using the virtual keyboard. Please try a "T" instead of a "t".


- rolapinou - 2011-03-31

grywnn Wrote:A short "tap" on the remote sends a "return" to XBMC, which might toggle pause (depends on keymap.xml)
A long "tap" - like putting your finger on the ipad for one sec. - sends a "c" and an "o", which should open either the context menu or the osd.

OK, I'll try this. It opens the context menu or the OSD depending on the localisation in XBMC, am I right ? In a menu it shall open the context menu, while playing a move it shall open the OSD ?

grywnn Wrote:To emulate a single arrow keypress, make a short fast flicking gesture. Its just like on the keyboard: The moment your finger touches the ipad a keypress is emulated, when you lift your finger, the key is released. Doing slow movements is useful when scrolling through long lists, fast movements when selecting buttons.

That's what I was expecting but my point is that while I was lifting slowly my finger the button list was scrolling slowly and then the scrolling speed increased in an unexpected way

grywnn Wrote:For reasons unknown, XBMC only reacts to capital letters when using the virtual keyboard. Please try a "T" instead of a "t".
OK, I'll try this.

One last point : can we consider that - besides the problems I mentionned above - that gesture work, so those problems are not linked to an issue in connecting eventserver. Do you agree ?
Do you have an idea why the lateral buttons (OSD, Subtitles, ...) on the remote screen are not working ?

Last remark, could you consider, for a future release to add in the remote screen a button to change the audio language (just like for subtitles). I suppose I could do that through a keyboard shortcut (+ editing the .xml) but my children won't be able to use this.

Cheers and congrats for the incredible support !


- grywnn - 2011-03-31

Quote:OK, I'll try this. It opens the context menu or the OSD depending on the localisation in XBMC, am I right ? In a menu it shall open the context menu, while playing a move it shall open the OSD ?
right.

Quote:That's what I was expecting but my point is that while I was lifting slowly my finger the button list was scrolling slowly and then the scrolling speed increased in an unexpected way
It's like pressing and holding a key on the keyboard: You first get one initial keystroke, then nothing happens for a short time, then the key repeats like hell. Don't know if theres a way to influence the repeat rate.

Quote:One last point : can we consider that - besides the problems I mentionned above - that gesture work, so those problems are not linked to an issue in connecting eventserver. Do you agree ?
completely Smile

Quote:Do you have an idea why the lateral buttons (OSD, Subtitles, ...) on the remote screen are not working ?
These actually still go through the old webserver api.
No Idea why this shouldn't be working on your setup.
Can you browse your libraries with the app?

Quote:Last remark, could you consider, for a future release to add in the remote screen a button to change the audio language (just like for subtitles). I suppose I could do that through a keyboard shortcut (+ editing the .xml) but my children won't be able to use this.
You can do this yourself, hit the tools icon at the bottom of the list on the remote screen.


sort by title - dibsta - 2011-03-31

hi Grywnn

I have asked this before but had no response
is possible to add sort by title see below for example

?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<id>tt0088763</id>
<title>Back to the Future</title>
<originaltitle>Back to the Future</originaltitle>
<sorttitle>Back to the Future 1</sorttitle>

Cheers Dibsta


- grywnn - 2011-03-31

Isn't that what you get when you sort by name?


- rolapinou - 2011-03-31

grywnn Wrote:It's like pressing and holding a key on the keyboard: You first get one initial keystroke, then nothing happens for a short time, then the key repeats like hell. Don't know if theres a way to influence the repeat rate.
Understood. The problem is that it scrolls so fast that I can't reach precisely the button I was aiming at ...

grywnn Wrote:These actually still go through the old webserver api.
No Idea why this shouldn't be working on your setup.
Can you browse your libraries with the app?

I can browse my audio and video library (both movies and TV Shows) perfectly. That's why I'm that frustrated as your app is - to me - so close to perfection !!!

grywnn Wrote:You can do this yourself, hit the tools icon at the bottom of the list on the remote screen.
I can add a audio-language button by myself ? Waow that's perfect. I suppose I'll have to edit the keymap.xml file as explained here : http://xbmc-commander.com/page2/page8/page8.html ?


- grywnn - 2011-03-31

rolapinou Wrote:Understood. The problem is that it scrolls so fast that I can't reach precisely the button I was aiming at ...

I can browse my audio and video library (both movies and TV Shows) perfectly. That's why I'm that frustrated as your app is - to me - so close to perfection !!!

I can add a audio-language button by myself ? Waow that's perfect. I suppose I'll have to edit the keymap.xml file as explained here : http://xbmc-commander.com/page2/page8/page8.html ?

That's the one.
while you're having a look at keymap.xml, check if the mappings to the other commands in the list are correct.
Since everything else is working, the only explanation i have left is that your keymap.xml is screwed up somehow.
So please compare the keys that are defined in the app for each list entry with the command thats defined in the <keyboard> section of keymap.xml.
Cause thats really all the app does: Send a keyboard event to xbmc via http api.


- rolapinou - 2011-03-31

grywnn Wrote:That's the one.
while you're having a look at keymap.xml, check if the mappings to the other commands in the list are correct.
Since everything else is working, the only explanation i have left is that your keymap.xml is screwed up somehow.
So please compare the keys that are defined in the app for each list entry with the command thats defined in the <keyboard> section of keymap.xml.
Cause thats really all the app does: Send a keyboard event to xbmc via http api.

I'll try ton install a brand new and fresh XBMC on my PC tonight, deleting every old file and let you know.
Cheers


Sort by sorttitle - dibsta - 2011-03-31

hi grywnn

No sort by Name is not the same
For example Die Hard Collection
Die Hard
Die Hard 2
Die Hard-With a Vengeance
Live Free or Die Hard
Above is how it shows up in XBMC using sorttitle

Below is how it shows in XBMC Commander
Die Hard
Die Hard 2
Die Hard-With a Vengeance
**All films that begin with E - K are shown before the last Die Hard film which begins with L**
Live Free or Die Hard
See Here http://www.flickr.com/photos/57115311@N07/5576894894/

Cheers Dibsta


Sort by sorttitle - dibsta - 2011-03-31

These are the nfo files for Die Hard Collection

<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<id>tt0095016</id>
<title>Die Hard</title>
<originaltitle>Die Hard</originaltitle>
<sorttitle>Die Hard 1</sorttitle>
<year>1988</year>

<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<id>tt0099423</id>
<title>Die Hard 2</title>
<originaltitle>Die Hard 2</originaltitle>
<year>1990</year>

<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<id>tt0112864</id>
<title>Die Hard 3 Die Hard with a Vengeance</title>
<sorttitle>Die Hard 3</sorttitle>
<year>1995</year>

<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<id>tt0337978</id>
<title>Live Free or Die Hard</title>
<originaltitle>Live Free or Die Hard</originaltitle>
<sorttitle>Die Hard 4</sorttitle>
<year>2007</year>

Hope this helps XBMC uses the sorttitle to put them in order
I think XBMC Commander is using title to put them in order

Cheers Dibsta


- grywnn - 2011-03-31

Now i see.

Point is: This is already working as you desire on the base level of the library, but not in sets Smile
Sets are a special kind of beast. I had to go through hell and back to get them working, since they are not supported by the JSON api (yet).
I'm using sorttitle in all json requests, but the normal title when i grab the stuff from the database for sets. That's because when i looked at my own database, the "sorttitle" field was always empty - so i thought "what the heck, i can't rely on that one".
Seeing your xml i realize the sorttitle is only set when it's different from the original title. Explains a lot Smile

I'll fix this.


Sort by sorttitle - dibsta - 2011-03-31

Thanks GrywnnBig GrinSmile
look forward to seeing it in a later release


Playing local trailer - xytreme99 - 2011-03-31

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

What about playing a whole season of TV show rather than just one episode. Eg, letting little Einstein play for a few hours to entertain the kids

Thanks


- DarkHelmet - 2011-03-31

Is there a difference between using it on an iphone and using it on an ipod touch? I tried it on an ipod touch 4G with ios 4.3.1 and get an immediate black screen when starting the app. I always thought that what works on an iphone should work on an ipod touch as well. Am I wrong?