If you need help on how to use the program
daquint
Posts: 7 Joined: 2006-12-03 07:34:10
Post
by daquint » 2006-12-03 07:38:51
Hi,
New here - very much love the ANT catalog in conjunction with Media Portal My Films plugin.
It is having an issue where its needs the full path of the AVI files on my network.
Of course, i didnt realize this until 500 movies in.
SO i have to go back and edit - Is there an easy way to do this via script?
I basically want to take half of them and prefix each like the following:
Old:
starwars2.avi
New:
\\Tower\disk1\starwars2.avi
and the other half like the following:
Old:
moviename1.avi
New:
\\Tower\disk9\moviename1.avi
If this is possible, can any one help me with a script?
Thanks!
daquint
antp
Site Admin
Posts: 9636 Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:
Post
by antp » 2006-12-03 12:48:20
Hi,
The script woud look like this:
program NewScript;
begin
SetField(FieldUrl, '\\Tower\disk1\' + GetField(fieldUrl));
end.
This can be applied to all selected movies. If the "disk" par is common for a lot of movies (half of them as you said?) if few clicks it should be done.
daquint
Posts: 7 Joined: 2006-12-03 07:34:10
Post
by daquint » 2006-12-03 19:40:50
Thanks - this worked great!
However I need to edit the Media label instead of the URL.
Is it FieldMediaLabel,... ?
Thanks!
antp
Site Admin
Posts: 9636 Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:
Post
by antp » 2006-12-03 21:58:27
FieldMedia (a little mistake, I know, it would have been more logical to call it FieldMedialabel or FieldLabel)
Field names are listed in the Help file