View Single Post
Old 07-23-2007, 08:32 PM   #16
JohnWPB
Road Runner & Mp3car Gatherings Moderator
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Posts: 2,929
OSK to search the Database

Quote: Originally Posted by tejesh83 View Post
Excellent idea! Can you post the relevant commands or a patch file?

If I get some more time, I'd like to take that even further and do something like DJIK's Jump 2 File Plugin. I really miss the "j" function of winamp and would love to have an easy way to query the entire medialibrary to find and play or enqueue any mp3 using an OSK.

There has been no alteration to the script needed whatsoever, just how the information gets passed to the script is all.

As far as the JTT, this replaces it completely. The only thing it does not do, is show the songs as you type the name. On the MAJOR plus side, this method is completely skinnable, and works 100% seamlessly with Road Runner.



All that is needed is for these 2 lines to bring up the OSK to search for text in the title of a song, to be added to the ExecTbl.ini file.

Code:
"SearchForSong"," ||OSKTOCMD;MySearch;SearchSongTitle" "SearchSongTitle","RUNQW;wscript.exe" "$rrpath$\SmartPlayLists\queryWinamp.vbs" "$winamppath$" "title HAS "$MySearch$"" "||RELOADLIST||Load;Audio_Playlist.skin"

Then all you need for the Button code is the following:
Code:
"SearchForSong"

When its all set up, it works like this:

- Press the search Button
- The OSK pop's up and you type in a search word, "Rock" in this example
- In only a second or 2 it kicks you to the playlist screen with all the search results (MUCH better than the minute or so for Road Runner to search the hard drive!)

Here is the result of the "Rock" search:
__________________
Front End of Choice: Road Runner (Is there anything else??? )
& Powered by the DigitalFX 4.0 Skin
Available at www.JohnWPB.com

Last edited by JohnWPB; 07-23-2007 at 08:37 PM.
JohnWPB is online now   Reply With Quote