Hi,
Here's a script for resetting any searches or selections after a certain amount of time of user inactivity.
I use it to solve the problem that one guests makes a selection and the next guest is confused and cannot find her/his favourite song, not knowing that she/he is looking in the selection of the previous guest.
What the tool does is simply resetting any searches or selections after a certain amount of seconds of user inactivity (20 seconds works ok for me).
The script installs the tool. Activating the tool (via the context menu) opens a dialog in which resetting can be turned on or off (default is off) and the number of seconds of user inactivity can be set.
All input is stored in the .ini file and reloaded at start-up of Silverjuke.
Hope you find it useful too.
Please let me know your remarks or suggestions for improvements.
Cheers,
Bert
Search Reset Script
- bertkessels
- Posts: 15
- Joined: 6. Nov 05, 14:05 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Search Reset Script
- Attachments
-
- search_reset_tool.sj
- (2.23 KiB) Downloaded 897 times
-
- dialog-search-reset-tool.JPG (11.3 KiB) Viewed 12503 times
Last edited by bertkessels on 30. Dec 08, 12:32, edited 2 times in total.
Re: Search Reset Script
Thanks, I will try this.
Frank.
Frank.
Re: Search Reset Script
Yes ! l tried it.
very useful, thank you !!
very useful, thank you !!
- djjb
- Posts: 128
- Joined: 15. Nov 05, 13:41
- Location: Geldrop / Holland [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Search Reset Script
This is toppie!!!
Thanks for your great script.
Thanks for your great script.
Re: Search Reset Script
How do i use this script? It sounds like something that i will find VERY useful
- bertkessels
- Posts: 15
- Joined: 6. Nov 05, 14:05 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Search Reset Script
Guest wrote:
> How do i use this script? It sounds like something
> that i will find VERY useful
Just place the file in your Silverjuke directory and Silverjuke will load it automatically.
Press right mouse button in Silverjuke to show the context menu and select Tools. There it should show Search Reset Tool...
Good luck.
Bert
> How do i use this script? It sounds like something
> that i will find VERY useful
Just place the file in your Silverjuke directory and Silverjuke will load it automatically.
Press right mouse button in Silverjuke to show the context menu and select Tools. There it should show Search Reset Tool...
Good luck.
Bert
-
- Posts: 16
- Joined: 22. Aug 08, 20:41 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Search Reset Script
I would like to know if you would consider expanding the functionality of this script a little bit
I want a way to view what people have searched for to give me ideas for new songs I don't already have
Simple thing would be to have you append a txt file with current search info before clearing the search
ideally (if possible) only append the txt file if the search query did not result in a match (this should be optional, so you have a choice between seeing all searches or just ones that did not match)
Thanks for the script
I want a way to view what people have searched for to give me ideas for new songs I don't already have
Simple thing would be to have you append a txt file with current search info before clearing the search
ideally (if possible) only append the txt file if the search query did not result in a match (this should be optional, so you have a choice between seeing all searches or just ones that did not match)
Thanks for the script
Re: Search Reset Script
Hi, Great Script idea - I am having difficulty with it. I have it installed and it's telling me its active - But thats as far as it goes
I start a search and wait for the 10 seconds I have setup but it doesn't reset the search. Is this script compatible with older versions of Silverjuke? Many Thanks

- bertkessels
- Posts: 15
- Joined: 6. Nov 05, 14:05 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Search Reset Script
This script works for Silverjuke version 2.52 beta15 and up (caused by the use of the function lastuserinput, which is not available in older releases).
What version are you currently using?
What version are you currently using?
-
- Posts: 12
- Joined: 21. Jun 08, 11:17
- Location: Denmark [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Search Reset Script
Been missing something like that.
Thanks for the script. :)
Thanks for the script. :)