Remove quotes from titles?

If you need help on how to use the program
Post Reply
IronCrow
Posts: 2
Joined: 2013-11-01 17:42:15

Remove quotes from titles?

Post by IronCrow »

Ive looked and I cant figure out how to remove quotes from my movies titles.

Image

I have a few hundred movies like this and was wonderng how to batch remove them?
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,

- Open scripting window (Shift+F6)
- Do not select a script (click in empty zone)
- Click on "Editor" (at top left)
- Paste this code:

Code: Select all

program RemoveQuotes;
var
  value: string;
begin
  value := GetField(fieldOriginalTitle);
  value := StringReplace(value, '"', '');
  SetField(fieldOriginalTitle, value);
  
  value := GetField(fieldTranslatedTitle);
  value := StringReplace(value, '"', '');
  SetField(fieldTranslatedTitle, value);
end.
- Click on "Scripts" (at top left)
- Select "All" in movies to include (at right)
- Run the script
- Finish

Soulsnake.
IronCrow
Posts: 2
Joined: 2013-11-01 17:42:15

Post by IronCrow »

Thanks :)
Post Reply