Searchable 'archive'?

Everything, that fits not well into other forums - Questions, Talk, Beta-Versions ...
[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
User avatar
hotspur
Posts: 61
Joined: 30. Dec 08, 14:27
Location: US
[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

Searchable 'archive'?

Postby hotspur » 27. Jun 09, 14:29

One of the things I like about the modern bar-room jukeboxes is their 'archive' feature, for a lack of a better term. The idea is that they display a limited number of albums for browsing purposes, while providing access to a much larger database of songs through the search function.

Could Silverjuke be modified to allow this sort of mode? I would love to provide access to my entire collection (who knows what people will want to listen to?), without forcing guests to browse through hundreds of albums. It would be the best of both worlds.

SilverEagle
Posts: 713
Joined: 30. Sep 08, 14:00
Location: Netherlands
[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: Searchable 'archive'?

Postby SilverEagle » 27. Jun 09, 14:43

Hi Hotspur,

Did you have a look at the SJ music selections? You could for instance by default browse in a selection like "rating over 3 stars", or "track must contain /favorite/' in its URL, or "track must been played in last three months" or whatever suits you.

You could then (de-)activate the selection in the usual way (menu), or add a button to a skin toggling between 'all' and your selection. Or us keyboard shortcuts.

Or maybe even have a script de-activate any selection as soon as the search field is not empty, and have it restore the selection when the search is cleared.

Cheers,
SilverEagle

User avatar
hotspur
Posts: 61
Joined: 30. Dec 08, 14:27
Location: US
[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: Searchable 'archive'?

Postby hotspur » 27. Jun 09, 14:52

Very good ideas, Silver Eagle. I've use the music selections before, but I just couldn't figure a good way to incorporate that feature into my 'archive' concept.

The deactivate button sounds like the easiest to implement, while the script would be the best solution if I can figure out how to make it work. I guess I have some work to do.

SilverEagle
Posts: 713
Joined: 30. Sep 08, 14:00
Location: Netherlands
[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: Searchable 'archive'?

Postby SilverEagle » 29. Jun 09, 13:22

hotspur wrote:
> ...while the script would be the best
> solution if I can figure out how to make it work.
> I guess I have some work to do.

No you don't, I just did it for you ;-).
See http://forum.silverjuke.net/viewtopic.php?p=11706#p11706 for your plugin.

Enjoy,
SilverEagle

Guest
[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: Searchable 'archive'?

Postby Guest » 3. Jul 09, 12:33



[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
[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

Return to “Main Forum”