Multiple genres are not recognized by filters
Multiple genres are not recognized by filters
v.3.0.15.21
Many of my songs have 2 genres in their tag. When I test a filter asking for the second genre tag it does not result of any track.
Many of my songs have 2 genres in their tag. When I test a filter asking for the second genre tag it does not result of any track.
Re: Multiple genres are not recognized by filters
The genre TAG is a single string (text).
If multiple genres are defined, they are simple separat d by a semicolon.
As such you can not apply an EQUALS filter.
Instead use the CONTAINS filter.
Did you do that?
Please show the filter you sre using!
I guess it is not a bug
If multiple genres are defined, they are simple separat d by a semicolon.
As such you can not apply an EQUALS filter.
Instead use the CONTAINS filter.
Did you do that?
Please show the filter you sre using!
I guess it is not a bug
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: Multiple genres are not recognized by filters
I think it's a bug because I can not use CONTAINS.
I 'll explain why:
I have a song that has genres "something" and "Rock Ballad"
I have another song that has genres "blabla" and "Rock"
If I use CONTAINS "Rock", the result will also return the first song.
I 'll explain why:
I have a song that has genres "something" and "Rock Ballad"
I have another song that has genres "blabla" and "Rock"
If I use CONTAINS "Rock", the result will also return the first song.
Re: Multiple genres are not recognized by filters
Sorry, it is NOT a bug, as said, the genre TAG within ProppFrexx is a single string! As such EQUALS always compares the entire string text!
Note, that some file formats (e.g. MP3) might actually support multiple separate genres, but other formats don't! As such ProppFrexx 'sees' the genre as a single string text to support ALL formats equally.
So you must either use mutual exclusive TAGs, or your filter simply gets a bit more complex based on all your genres you are using.
For example if the genre strings for 2 tracks might be:
1. "Rock"
2. "blabla; Rock Ballad"
And you just want to select the first track, your filter might be: (CONTAINS "Rock") AND (NOT CONTAINS "Rock Ballad").
Or you are using the extended MatchesAnyOf resp. ContainsAnyOf:
See here: viewtopic.php?f=9&t=27&p=78
Note, that some file formats (e.g. MP3) might actually support multiple separate genres, but other formats don't! As such ProppFrexx 'sees' the genre as a single string text to support ALL formats equally.
So you must either use mutual exclusive TAGs, or your filter simply gets a bit more complex based on all your genres you are using.
For example if the genre strings for 2 tracks might be:
1. "Rock"
2. "blabla; Rock Ballad"
And you just want to select the first track, your filter might be: (CONTAINS "Rock") AND (NOT CONTAINS "Rock Ballad").
Or you are using the extended MatchesAnyOf resp. ContainsAnyOf:
See here: viewtopic.php?f=9&t=27&p=78
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: Multiple genres are not recognized by filters
I haven't thought of "And NOT CONTAINS"
Thank you for the suggestion.
Thank you for the suggestion.
Re: Multiple genres are not recognized by filters
One more note. You say
It looks strange to me because in my tests here, the EQUALS does not compare the entire string.
If my tag is: "blabla; Rock" and I look for EQUALS "blabla", it finds that title but it shouldn't. Right ?
as said, the genre TAG within ProppFrexx is a single string! As such EQUALS always compares the entire string text!
It looks strange to me because in my tests here, the EQUALS does not compare the entire string.
If my tag is: "blabla; Rock" and I look for EQUALS "blabla", it finds that title but it shouldn't. Right ?
Re: Multiple genres are not recognized by filters
Just made a quick test here and yes, that is exactly what it is doing here (it only finds exact matches).
If not on your side, please show me your exact filter string and how you are testing things...
If not on your side, please show me your exact filter string and how you are testing things...
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: Multiple genres are not recognized by filters
Bernd I don't know if I am doing something wrong, but I am testing things and :
I have a track that has two genres and according to your info the tag string that PF reads is: "genre1; genre2"
I have another track that has genre: "genre2"
In find track I use: "e:genre2" or use "~Contains([Genre], 'genre2')" (without ") it finds only the second track. It should return both.
Also when I look for "=e:genre1" or use "~[Genre] = 'genre1'" it does not return any track.
This is a big problem for me because I have thousands of tracks having 2 gernes.
That now explains why all of those tracks have never been on air.
I have a track that has two genres and according to your info the tag string that PF reads is: "genre1; genre2"
I have another track that has genre: "genre2"
In find track I use: "e:genre2" or use "~Contains([Genre], 'genre2')" (without ") it finds only the second track. It should return both.
Also when I look for "=e:genre1" or use "~[Genre] = 'genre1'" it does not return any track.
This is a big problem for me because I have thousands of tracks having 2 gernes.
That now explains why all of those tracks have never been on air.
Re: Multiple genres are not recognized by filters
Please send me those 2 tracks in question. As here with my tracks it works fine.
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: Multiple genres are not recognized by filters
Do you want to start a TV session ? It's easier to show you.
edit:
Nevermind. I 've sent you the files.
edit2:
Just now happened the other issue about the track not removed. You could see that by yourself.
edit:
Nevermind. I 've sent you the files.
edit2:
Just now happened the other issue about the track not removed. You could see that by yourself.