# Notes on Translating Ratings

While it is doubtful that you will be translating ratings very often, it is important that you understand exactly what is being done.

It is advised that you make changes to your ratings types when no files are open. Also, if you are changing your entire collection it is advised to run a single action via the Batch Processor to make the changes. The action you run should only do enough processing to translate the ratings. That way you do not have to worry about other file modifications. You may have to make decisions in your action based on file types as to how ratings are translated.

When you change the Full Rating Mapping configuration you are changing the internal format of ratings and how subsequent ratings will be read and written from audio files which have a Full (0-255) rating mapping. (This can be all file types except m4a/mp4).

The following

The following section describes the workflow required to make individual changes. If you are changing the Full Rating Mapping do so before beginning the described workflow. Individual workflows may be combined in a logical manner.

Changing from Direct (0-5) to Full (0-255)
  1. Change the appropriate Direct (0-5) Preference-Audio rating mapping to Full (0-255)
  2. Create an action which contains a Translate Ratings for the appropriate file types from Direct to Current statement.
  3. Execute the action over all appropriate files.
Changing from iTunes (0-100) to Full (0-255)
  1. Change the appropriate iTunes (0-100) Preference-Audio rating mapping to Full (0-255)
  2. Create an action which contains a Translate Ratings for the appropriate file types from iTunes to Current statement.
  3. Execute the action over all appropriate files.
Changing from Direct*2 (0-10) to Full (0-255)
  1. Change the appropriate Direct*2 (0-10) Preference-Audio rating mapping to Full (0-255)
  2. Create an action which contains a Translate Ratings for the appropriate file types from Direct*2 to Current statement.
  3. Execute the action over all appropriate files.
Changing to a changed Full Rating Mapping
  1. If the ratings were written with Yate's default Full Rating Mapping, create an action which contains a Translate Ratings for the appropriate file types from Default to Current statement.
  2. If the ratings were written with a custom Full Rating Mapping, create an action which contains a Translate Ratings for the appropriate file types from Custom to Current statement. You will have to specify the custom mapping that was used.
  3. Execute the action over all appropriate files.
Changing from Direct (0-5) to iTunes (0-100)
  1. Change the appropriate Direct (0-5) Preference-Audio rating mapping to Full (0-255)
  2. Create an action which contains an Execute a Translate Ratings in appropriate files from Direct to iTunes statement.
  3. Execute the action over all appropriate file types.
  4. Change the appropriate Full (0-255) rating mapping to iTunes (0-100).
Changing from Direct*2 (0-10) to iTunes (0-100)
  1. Change the appropriate Direct*2 (0-10) Preference-Audio rating mapping to Full (0-255)
  2. Create an action which contains an Execute a Translate Ratings in appropriate files from Direct*2 to iTunes statement.
  3. Execute the action over all appropriate file types.
  4. Change the appropriate Full (0-255) rating mapping to iTunes (0-100).
Changing from Full (0-255) to iTunes (0-5)
  1. If the ratings were written with Yate's default Full Rating Mapping, create an action which contains a Translate Ratings in appropriate files from Default to iTunes statement.
  2. If the ratings were written with a custom Full Rating Mapping, create an action which contains a Translate Ratings in appropriate files from Custom to iTunes statement. You will have to specify the custom mapping that was used.
  3. Execute the action over all appropriate file types.
  4. Change the appropriate Full (0-255) rating mapping to iTunes (0-100).
Changing from iTunes (0-100) to Direct (0-5)
  1. Change the appropriate iTunes (0-100) Preference-Audio rating mapping to Full (0-255)
  2. Create an action which contains an Execute a Translate Ratings in appropriate files from iTunes to Direct statement.
  3. Execute the action over all appropriate files.
  4. Change the appropriate Full (0-255) rating mapping to Direct (0-5).
Changing from Direct*2 (0-10) to Direct (0-5)
  1. Change the appropriate Direct*2 (0-10) Preference-Audio rating mapping to Full (0-255)
  2. Create an action which contains an Execute a Translate Ratings in appropriate files from Direct*2 to Direct statement.
  3. Execute the action over all appropriate files.
  4. Change the appropriate Full (0-255) rating mapping to Direct (0-5).
Changing from Full (0-255) to Direct (0-5)
  1. If the ratings were written with Yate's default Full Rating Mapping, create an action which contains a Translate Ratings in appropriate files from Default to Direct statement.
  2. If the ratings were written with a custom Full Rating Mapping, create an action which contains a Translate Ratings in appropriate files from Custom to Direct statement. You will have to specify the custom mapping that was used.
  3. Execute the action over all appropriate files.
  4. Change the appropriate Full (0-255) rating mapping to Direct (0-5).
Changing from iTunes (0-100) to Direct*2 (0-10)
  1. Change the appropriate iTunes (0-100) Preference-Audio rating mapping to Full (0-255)
  2. Create an action which contains an Execute a Translate Ratings in appropriate files from iTunes to Direct*2 statement.
  3. Execute the action over all appropriate files.
  4. Change the appropriate Full (0-255) rating mapping to Direct*2 (0-10).
Changing from Direct (0-5) to Direct*2 (0-10)
  1. Change the appropriate Direct (0-5) Preference-Audio rating mapping to Full (0-255)
  2. Create an action which contains an Execute a Translate Ratings in appropriate files from Direct to Direct*2 statement.
  3. Execute the action over all appropriate files.
  4. Change the appropriate Full (0-255) rating mapping to Direct*2 (0-10).
Changing from Full (0-255) to Direct*2 (0-10)
  1. If the ratings were written with Yate's default Full Rating Mapping, create an action which contains a Translate Ratings in appropriate files from Default to Direct*2 statement.
  2. If the ratings were written with a custom Full Rating Mapping, create an action which contains a Translate Ratings in appropriate files from Custom to Direct*2 statement. You will have to specify the custom mapping that was used.
  3. Execute the action over all appropriate files.
  4. Change the appropriate Full (0-255) rating mapping to Direct*2 (0-10).
You've changed the Preferences-Audio m4a/mp4 rate atom setting from Ignore to other or other to Ignore
  Force a save of the files with an action such as:
  Set the action test state to true for audio type: mpeg-4
  if true
  Save all files
  endif

Additional Information:

Translate Ratings action statement

Ratings Mappings