| |||||||
| General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jan 2007 Age: 22
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Okay, yesterday I downloaded Mediaportal, thought I'd play around with the source code so downloaded that. But I don't know what you're working on or anything, so this may be useless ![]() First, a quick question: When I run it as a debug in VS2005 I can't use my keyboard arrow keys to navigate (works in normally installed version). Any idea why? In the version I got the search function appeared to be disabled (for the music section anyway). Not quite sure why but I decided to make my own. I sorted out the GUISMSInput control and combined it with a button to make a search control that turns into a textbox when you focus on it. you can enter a search term with keyboard or numpad/remote. (However this uses the given method of determining what you're using, which seems like quite a hack ). Using the already existing methods it updates the search as you type, not sure how fast that would be on a large list. If you mouse away from the control it keeps the search, showing what you entered on the button. If you delete what you entered it goes back to the folder you were looking at previously.I've done a video of it here: http://wilco.34sp.com/mpsearchvid.html (Potential) Bugs: The code for determining if you're using a remote (and thus to use SMS input mode) looks ropey. (if you only press keys 0-9 it assumes you're using a remote, not sure what happens if you press another key on the remote). I made a new layer section to draw the keypad onto to make sure its above the rest, as it seems you can only have 1 object drawing each layer? Potential bugs there Needs skinning ![]() Not sure how fast it is. If you'd think it would be useful I can put together the files I've used. I'm not a great coder (just a small hobby), tho I've tried to stick to the guidelines. |
| | |
| | #4 (permalink) |
| Portal Member Join Date: Jan 2007 Age: 22
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Yeah, it uses the same searching routine as the Virtual Keyboard (which i found after i posted and went looking ) so its probably just about as simple as changing the skin and ~20 lines of code in each file. The bugs need looking at tho I think. TBH I like mine better (not biased ), How do you find the virtual keyboard? I'd find it easier to use the number keys on the remote SMS style. Also takes up less space. |
| | |
| | #5 (permalink) |
| Join Date: Dec 2004 Location: 127.0.0.1 Age: 29
Posts: 6,408
Thanks: 183
Thanked 146 Times in 101 Posts
Country: | the sms-style input looks very nice ![]()
__________________ regards chris MediaPortal Project Coordinator Test Team Leader Do not start to moan if something is not working as you want it to be. Remember that MediaPortal is Open Source. YOU can improve it! |
| | |
| | #6 (permalink) |
| Portal Developer Join Date: Apr 2005 Location: Osnabruck
Posts: 2,765
Thanks: 130
Thanked 133 Times in 93 Posts
Country: | Please look at the scheduling in TVEngine3 there has just been implemented a SMS search as well - would be a pity to have another section using different code to achieve the same.. The search is disabled just in "shares" view. Performance: Just make sure it doesn't start before the 3rd char is entered. The scenario as described above would stall MP for serveral minutes here ![]() If you want help on integrating this just ask here - that's been on the list of mPod and me for quite some time now.. |
| | |
![]() |
| Bookmarks |
| Tags |
| button, search |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [BUG] Unable to scan TV chanels and radio | Bram | pre 1.0 RC1 | 0 | 2006-11-05 14:45 |
| T9 search in database views: Return button? | GoldenEye | General Support | 4 | 2006-06-13 00:02 |
| Issue with My TV, My Videos and Web Browser | Efros | The old Bugreport Forum | 15 | 2006-05-15 22:01 |
| cosmicmyth skin | Anonymous | Skins | 17 | 2004-09-23 18:33 |
| search button in tv guide | Anonymous | Improvement Suggestions | 0 | 2004-05-17 07:39 |