[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4326: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4328: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4329: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4330: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
forum.wdlxtv.com • Search functionality explained
Page 1 of 2

Search functionality explained

PostPosted: Mon Aug 02, 2010 11:32 pm
by zoster

Re: Search functionality explained

PostPosted: Sat Dec 18, 2010 11:55 am
by sombragris
Do you know if there is any chance to add new criteria? For example changing "title" to "Artist" in order to allow diferent searches to be conducted.

Re: Search functionality explained

PostPosted: Sun Dec 19, 2010 2:05 pm
by zoster
The music and pictures search has some additional attributes but they are all hardwired. What you could do is to come up with some sort of tag system like "a: <search term>" to search for artists. The parsing would be up to your search implementation.

Re: Search functionality explained

PostPosted: Mon Dec 20, 2010 3:43 am
by sombragris

Re: Search functionality explained

PostPosted: Tue Mar 22, 2011 4:11 pm
by avkiev
How to execute (emulate... force...) "Search" ?
Can I in my plugin create some folder (or item) with name "Run Search" with such property: pressing Enter on it - equivalent to pressing "Search" button on remote ?

Re: Search functionality explained

PostPosted: Wed Mar 23, 2011 2:22 am
by mad_ady
@avkiev: There are 2 ways of doing it (assuming you don't want to test it by pressing search on the remote):

1. Use a web browser and navigate to http://&lt;your.wdtv.ip&gt;/umsp/umsp-test.php. Navigate to your plugin and if search is implemented you'll see a search box on your page and you can test the search functionality really easily
2. You can implement an item that when called would pass a special argument to your UMSP script (something like doSearch=xxx). Then, on the server side you can test for this and call your search function. But beware - you can't ask for user text in this step, since the OSD will not display a keyboard.

Hope this helps.

Re: Search functionality explained

PostPosted: Wed Mar 23, 2011 3:04 am
by avkiev

Re: Search functionality explained

PostPosted: Wed Mar 23, 2011 3:46 am
by avkiev
The solution is: exec("echo E > /tmp/ir_injection");
E - it is Search
Can't try it now, but I hope it''ll works

Re: Search functionality explained

PostPosted: Wed Mar 23, 2011 4:45 am
by mad_ady
:)) Clever. You might need to run it through sudo, since apache is a different user and might not have the necessary privileges.

Question - why do you want to do that? What's wrong with the search button?

Re: Search functionality explained

PostPosted: Wed Mar 23, 2011 4:57 am
by avkiev