• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
title formatting
#1
I'm trying to have a good formatting but I can't do it, I've read the manual about this and I'm sure to make some syntax errors because I'm noto able to achieve my goal that is to avoid the - character if a field is empty and to have the words " NO %FIELD NAME%" in case of missing (I mean if I don't put the tonality of a song I'd like to have "NO TONALITY"). could I have an example from which I fan further improve my will ? Thank you very much. I attach my actual expression string.


Attached Files Thumbnail(s)
   
Sad ...looking for a good Tablet....!!! Confused
OS ...to be determined !!! 
Reply
#2
You will need to make use of the advanced syntax in order to do this, so it will look something like this:

%ARTISTS:${VALUE}|NO ARTISTS% %GENRES: - ${VALUE}|NO GENRES% %KEYS: - ${VALUE}|NO KEYS%

and so on for the rest of the fields you want. Notice how I'm only printing the dash character before each field if it exists. This should meet your requirements.

Mike
Reply
#3
I'm trying without success, if I use the first part of the expression (ARTISTS) in my song list I can't see the ARTISTS (and I have every song compiled with the artist.
I put the screenshot.


Attached Files Thumbnail(s)
       
Sad ...looking for a good Tablet....!!! Confused
OS ...to be determined !!! 
Reply
#4
I just want to verify: you are using the artists field and not the composers field right? That formatting seems correct, and it works for me. While spacing shouldn't matter, can you verify that there isn't any extra space at the beginning of the format string?
Reply
#5
Yes, I'm using the artists field and not the composers filed, no extra space at the beginning of the format string.

It seems when I put the VALUE syntax it doesn't work...
Sad ...looking for a good Tablet....!!! Confused
OS ...to be determined !!! 
Reply
#6
I just went back through my source control system, and it appears that I didn't even add the advanced syntax in 1.1.8. I really apologize - I could have sworn it was already in place... I'm trying to wrap up the update for 1.1.9 - I've now finished one of the biggest parts (writing out annotations to all of the various supported file types) so now I'm just going to go back through bug reports and other things I've promised to fix for this new update and make sure everything has been completed.

Mike
Reply
#7
Perfect, it was pretty clear to me that something was wrong but I wasn't sure about my eventual mistake.

Glad to hear that this will be fixed.

Roberto
Sad ...looking for a good Tablet....!!! Confused
OS ...to be determined !!! 
Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.