I am in need of a script to adjust a specific field throughout my whole movie database.
I have 758 movies in my database. 351 of those movies have the "Media Type" field set to MKV.
I need the MKV string changed into x264 720p.
Doing this manually by hand will take me a while and I assume it should be fairly easy to write a quick script to achieve this.
I've been reading the documentation and the forums but simply put, I'm a total noob at this and haven't a clue where to start.
I assume the script would have to look something like this:
Code: Select all
program ReplaceField;
begin
SetField(fieldMediaType, 'x264 720p');
end.
Could someone point me in the right direction or write a quick script to do just this?
Thank you very much.
Regards,
LaMa