select an item in a category

Got an idea, post it here

select an item in a category

Postby S Pittaway on Wed Apr 02, 2008 7:54 am

seeing as people are activly developing xlobby could someone wire in a select item function for categories.

its got to be a few lines of code on your side and has so many uses (select the playing track. jump to a given cd or movie) its something i have used since day 1... its also something i end up sticking in plugins all the time...

i know it can be done via a plugin but its clunky (you have to do item next/perv until you find what you want or end up back at the start) this can take a long time and you have issues with the screen refreshing while you are searching.

so i propose a function that takes a category name/field name/field value and will select the next entry (relative to the current item) whose field is the requested value.

ie: category : select item : category name : tag_name : tag_value



Sean.
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: select an item in a category

Postby S Pittaway on Fri Apr 04, 2008 9:13 am

go on, you are adding loads of new events at the moment. so wack it in :)
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: select an item in a category

Postby defrag on Fri Apr 04, 2008 10:15 am

S Pittaway wrote:go on, you are adding loads of new events at the moment. so wack it in :)


:lol: :lol: :lol:
defrag
 
Posts: 376
Joined: Mon Jan 16, 2006 7:56 am
Location: Didcot, UK

Re: select an item in a category

Postby wesblack on Fri Apr 04, 2008 8:37 pm

I will put it on the list and see that it gets done.

Thanks,




Wes Black \ Calrad
wesblack
 
Posts: 852
Joined: Mon Mar 05, 2007 5:02 pm
Location: Valencia, Ca

Re: select an item in a category

Postby S Pittaway on Sat Apr 05, 2008 9:34 am

great, it will be a really useful command!
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: select an item in a category

Postby wesblack on Wed Apr 16, 2008 4:19 pm

2 new commands have now been added for the next build.

category->search forward
category->search reverse

these commands take 3 inputs

Category Name (Optional)
Tag Name(s)
Tag Value(s)

For example, tag name could be "artist" and tag value could be
"u2"....when executed it would search from the currently selected item
either forward or in reverse searching for a match to the artist=u2








Wes Black \ Calrad
wesblack
 
Posts: 852
Joined: Mon Mar 05, 2007 5:02 pm
Location: Valencia, Ca