Posts: 310
Joined: May 2004
Reputation:
0
Hi,
is there any way of quick jumping to, for example, a specific letter while in movie library view? Coming up on 500 movies now and scrolling to the middle is taking quite some time.
I read something somewhere about a feature incorporating a "T9" type quick jump/search with the 0-9 keys. Anything new about that or anything else working in a similar way?
Cheers.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
2008-09-02, 00:36
(This post was last modified: 2008-09-03, 00:53 by jmarshall.)
Yep, you can do it.
Map the actions JumpSMS2 (etc) to keymap.xml and away you go. There's also FilterSMS2 (etc) for the filtering side of things, or just highlight the filter edit control (not sure if it's there in library mode - PM3 should have it I think?) and SMS type in to it.
Cheers,
Jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
This block in keymap.xml:
<number2>JumpSMS2</number2>
<number3>JumpSMS3</number3>
<number4>JumpSMS4</number4>
<number5>JumpSMS5</number5>
<number6>JumpSMS6</number6>
<number7>JumpSMS7</number7>
<number8>JumpSMS8</number8>
<number9>JumpSMS9</number9>
does the jumping. Press "2" once and it'll jump the first movie starting with "A", press it again, and it'll jump to "B" etc.
Also: Note that only the music search and filter is anywhere near "final". The video one I hope to work like the music one in the end. I can't recall offhand if I made the filter button an edit control in music or not - if not, just change it to an edit control in the skin.
Cheers,
Jonathan
Posts: 310
Joined: May 2004
Reputation:
0
That is pure excellence. Thanks a lot.
Posts: 913
Joined: May 2007
Reputation:
3
Finally got the chance to play with this having setup a xbox version that is modern enough to do it.
Didn't have the success I was looking for. This portion originally got me excited "Press "2" once and it'll jump the first movie starting with "A", press it again, and it'll jump to "B" etc."
I thought one button would do this through the entire alphabet. It doesn't. "JumpSMS2" only cycles A,B,C. It would appear you require the other buttons to get the other letters.
I don't fully understand the SMS stuff (googled it but never really explained how to use it - and no...I've never sent a text message, so don't know how it works on a mobile phone).
On my remote I have the number buttons globally mapped to other aspects of xbmc, so I can't use all the number keys in this SMS manner.
A long shot - is it possible to have only one button cycle through all the letters?
Sorry I'm so ignorant about such things.
ZOTAC IONITX-D-E Intel Atom N330 Dual Core 1.6 GHz NVIDIA ION with LIVE on SSD (now updated to Nvidia Shield Pro (P2897)
Posts: 26,215
Joined: Oct 2003
Reputation:
187
By far the fastest method of scrolling is with the controller. This is because you get analog control, so when holding the thing down we can push it as fast as we like (give or take).
All views should scroll at pretty much the same speed, and it's not really skinnable in that regard.
Cheers,
Jonathan
Posts: 913
Joined: May 2007
Reputation:
3
I've tried to create an onscreen button that uses the JumpSMS? action to navigate through the titles. I haven't had a of of success. First, I created a button that pops up with a remote button press, but that steals focus, so I used the setfocus option (56)ID. That seemed to keep the focus on the video covers. However, nothing happened with the onclick action. I tried the same with a button directly in the myvidoenav.xml window. Still nothing.
Guess I need to ask if this is possible first.
I wonder if I've got the focus setup properly. And, I'm not sure of the action code. I've tried lots - (#=number) JumpSMS#, action.JumpSMS#, xbmc.JumpSMS#, activate.JumpSMS# + others. It's probably the fact I don't have something focused properly. More than likely, it doesn't work! Any suggestions? Thx.
ZOTAC IONITX-D-E Intel Atom N330 Dual Core 1.6 GHz NVIDIA ION with LIVE on SSD (now updated to Nvidia Shield Pro (P2897)
Posts: 26,215
Joined: Oct 2003
Reputation:
187
So you want a button list that pops up when you press a button on the remote?
You could perhaps try the following:
1. Create a new dialog window.
2. Add a bunch of buttons, or a list with some static items in it.
3. The actions for each item should be something like this:
<onclick>Close</onclick>
<onclick>JumpSMS2</onclick>
Cheers,
Jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
As you've found, the action will only work if the window has focus. Thus the Close call in the first onclick. You might try a <onclick>Close(true)</onclick> to ensure it shuts immediately.