INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Tag on import not working with some expressions  (Read 1382 times)

zetetic

  • Recent member
  • *
  • Posts: 19
Tag on import not working with some expressions
« on: December 18, 2020, 06:10:12 pm »

I have been learning the expression language and realised I could do some really great batch changes in JRiver that other taggers have been unable to do. Now I want to add some of those to tag on import but am having trouble.

I am just trying something simple before I add more, so I am trying to sort the genre field.

In "Apply These tags" I have:
Genre: ListSort([genre])
This doesn't work.

However, if I change it to:
Custom: ListSort([genre])
It then fills the custom field with the genre tags sorted. This is how I know the rules are being used.

So why does my basic genre sort rule not work? That expressions works perfectly well when I apply it manually to my whole library in the tag editor.

Before I finished this post I thought I would try a different field, so I used this rather more complex expressions and it worked perfectly.
Grouping: ListSort(ListClean(If(Regex([name], /#(remix|rmx|\(.*mix.*\))#/, 0, 0), ListBuild(1, ;, [Grouping], RX), [Grouping]), 1))
Logged
Pages: [1]   Go Up