Online - populate extended tag fields

Use this forum for everything concerning script usage
Post Reply
User avatar
jtclipper
Administrator
Administrator
Posts: 768
Joined: Tue Aug 10, 2010 12:04 pm

Online - populate extended tag fields

Post by jtclipper »

This will use the Composer value from the online grid to update some other extended fields (Lyricist etc.. )

Please not that using this script will update the files!
So click Apply first and use this after.
It is ofcourse possible to automate the entire procces and do the apply/update/rename in one go.

Code: Select all

Program composer_to_Lyricist;

var
  i, iCount: integer;
  sComposer: string;
begin

  iCount := on_getGrdRowCount;
  if iCount = 0 then exit;

  for i := 1 to iCount do begin
      on_setGrdRow(i);

      on_LoadFile;
      sComposer := on_getGrdField( 'Composer' );

      gTag.Lyricist := sComposer;
      gTag.OrigLyricist := sComposer;

      on_UpdateThis( false );
  end;
  on_setGrdRow(1);
end.
Save the above as an .scl file in the scripts folder. It will be available in the 'Album info' part of the scripts.
Dimitris

Post Reply