#1 2013-11-20 09:58

carib909
Member
Registered: 2013-11-20
Posts: 4

What's wrong with this Pascal Script?

What's wrong with this Pascal Script?

begin
  FileName := CalculateMetaTag(FilePath, 'Title');
end.

Nothing happens when I preview or rename the files?

Offline

#2 2013-11-20 11:32

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: What's wrong with this Pascal Script?

There is no meta tag with a name "Title".

You can see the full list of available meta tags from the Insert Meta Tag dialog in the Insert rule or in Meta Tags article on the Wiki. For example, if you are trying to extract a title of a song from WMA file, you should use "WMA_Title" tag.

Offline

#3 2013-11-20 21:52

carib909
Member
Registered: 2013-11-20
Posts: 4

Re: What's wrong with this Pascal Script?

Thank you for that.  Should I  use id3_title  for mp3's?

Also,  when I  replace  the FilePath  variable  with the actual path, I  get an error message  about the drive letter not being recognized.

den4b wrote:

There is no meta tag with a name "Title".

When I  reply,   I get an error  message from your board saying  I'm not allowed to post url's. I'm not posting url's!   You did in your response. I  had to delete most of your message so I could reply.

Last edited by carib909 (2013-11-20 21:54)

Offline

#4 2013-11-21 11:57

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: What's wrong with this Pascal Script?

carib909 wrote:

Should I  use id3_title  for mp3's?

Yes. MP3 files use ID3 tagging system, so you should use ID3_* tags for these files.

carib909 wrote:

when I  replace  the FilePath  variable  with the actual path, I  get an error message  about the drive letter not being recognized.

Please post the line of code that causes the error, so I can inspect it.

carib909 wrote:

When I  reply, I get an error  message from your board saying  I'm not allowed to post url's. I'm not posting url's!   You did in your response. I  had to delete most of your message so I could reply.

It is one of the measures against spam bots which prevents new users from posting links. As soon as you make 10 posts you will be automatically moved to a group that is allowed to post links. When you quoted my message you included the link from it into your response, so the anti-spam measure kicked in.

Sorry for the inconvenience. We are trying to do everything possible to keep this forum free of spam.

Offline

Board footer

Powered by FluxBB