Author Topic: Exact  (Read 2436 times)

sebastiaankop

  • Guest
Hi All,

When making a Auto-Playlist I can use the 'Mood' field and select every file that is marked as 'Easy'. If I have a song that has 'Easy' in its mood field the song will show up in this playlist.

When a song has 'Easy; Funky' in the mood field the song will also be on the new playlist.

Is it possible to make a playlist that selects the 'Mood' field with the -exact- content of 'Easy'? Then songs with 'Easy; Funky' are not on that list.

Thanks Sebastiaan.

redwing

  • Guest
For "artist" and "genre" field that have separate multi-value field "artists" and "genres", it can be done in a single playlist with the following two rules:

(When searching for tracks that has only "Pop" in genre field)

Genre / match RegEx/i / ^pop$
Genres / does not contain / ;

But for other multi-value fields, it requires an additional playlist to exclude.

Playlist A:

Mood / match RegEx/i / ^easy$
Playlist / is not / Playlist B

Playlist B:

Mood / match RegEx/i / ^(?!easy$).*

sebastiaankop

  • Guest
Sorry for double posting. Thanks for your time and answer.

I did not have notifications for the post I made so I missed the answer.

I played with it and it works great.

Now I need to figure out how it works so I can deal with this kind of problem in the future.

Thanks,

Sebastiaan.

redwing

  • Guest
In short,

^easy$

matches all files contain "easy" in the specified tag, including multi-values like "Easy; Energetic".

^(?!easy$).*

matches all files having a value other than "easy" in the specified tag.
Last Edit: August 08, 2014, 09:21:50 AM by redwing