Author Topic: Selecting more than 1 attribute topic  (Read 171 times)

HJH

  • Newbie
  • *
  • Posts: 6
    • View Profile
Selecting more than 1 attribute topic
« on: August 11, 2018, 15:45:00 »

Hi

Try see attached picture.
I wonder if it is possible to set more than 1 attribute topic as a filter?

In the example, you can see I have a Decade attribute. Can I tell the Mini Scheduler it is okay to select a song from decade 1950-1959 or 1960-1969 or 2000-2009 ?

I imagine I can hold down CTRL button on the keyboard, while clicking on the decades I want in the list and then it will look something like this in the filter column field: [1950-1959,1960-1969,2000-2009]


In this example, I have used decades. It could have been something else, that is set up as an attribute. For example music genre. Imagine selecting ROCK and HARD ROCK topics. That would allow Mini Scheduler to pick songs from these 2 genres only.

HJH


Torben

  • Administrator
  • Doktor mAirList
  • *****
  • Posts: 17037
    • View Profile
Re: Selecting more than 1 attribute topic
« Reply #1 on: August 13, 2018, 12:15:48 »
Use "~195", it will match all values starting with "195".

HJH

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Selecting more than 1 attribute topic
« Reply #2 on: August 13, 2018, 21:05:44 »
Okay yes.  That will work to some degree. But it will not fully solve the examples I gave earlier.

- So it means that I can not select more than 1 topic in an attribute drop-down list ?    (see picture earlier attached)

- The only possibility at the moment, is using the  ~  or the  !  characters for doing a kind of filtering on the topics ?



Thanks

HJH

Torben

  • Administrator
  • Doktor mAirList
  • *****
  • Posts: 17037
    • View Profile
Re: Selecting more than 1 attribute topic
« Reply #3 on: August 14, 2018, 10:54:25 »
That's all you can do at this time.

We would need to define a "query language". And I would have to write a parser for it.

Uli Nobbe

  • Regular
  • *
  • Posts: 434
  • Moderator ohne Webradio
    • View Profile
    • Impressum
    • Email
Re: Selecting more than 1 attribute topic
« Reply #4 on: November 30, 2018, 20:59:10 »
I am glad to have found this thread.  :)
This is a good workaround, but still I would like to know if more is not possible?

For example, the filter "BPM": If I enter "~13", I should get all titles with BPM from 130 to 139, right?
It would be nice if I could put a filter "IS between 130 AND 150". Or, "IS > 140" - pretty much everything the query language offers.  8)

The same applies to the AND and OR operands ("Language IS spa OR ita" etc.).

Which of these filter extensions can currently be easily implemented in the music template?
Alternative: Are there any other codes or tricks like the "~"?

- The only possibility at the moment, is using the  ~  or the  !  characters for doing a kind of filtering on the topics ?

The "!" is new to me.
Has anyone a link to a simple explanation?
mAirList 6.1.8 Home Studio, Røde M3, Allen&Heath ZED-14, dbx 166XL, Behringer Combinator MDX 8000, M-Audio Delta 1010LT

Torben

  • Administrator
  • Doktor mAirList
  • *****
  • Posts: 17037
    • View Profile
Re: Selecting more than 1 attribute topic
« Reply #5 on: December 01, 2018, 09:44:00 »
More complex filters would require:

1. Define a language
2. Write a parser/lexer :-/

Uli Nobbe

  • Regular
  • *
  • Posts: 434
  • Moderator ohne Webradio
    • View Profile
    • Impressum
    • Email
Re: Selecting more than 1 attribute topic
« Reply #6 on: December 01, 2018, 10:01:13 »
I see.

Would you please explain the secret behind the "!" using as a part of the filter?

Thanks
Uli
mAirList 6.1.8 Home Studio, Røde M3, Allen&Heath ZED-14, dbx 166XL, Behringer Combinator MDX 8000, M-Audio Delta 1010LT

Torben

  • Administrator
  • Doktor mAirList
  • *****
  • Posts: 17037
    • View Profile
Re: Selecting more than 1 attribute topic
« Reply #7 on: December 01, 2018, 10:15:49 »
Negation.