Author Topic: {filename:-3} Variable in ingest path  (Read 3644 times)

Offline e.live

  • Newcomer
  • *
  • Posts: 7
    • View Profile
{filename:-3} Variable in ingest path
« on: July 10, 2012, 05:39:19 AM »
As there seems to be a bug withe {type} variable (see other post), I wanted to use  {filename:-3} instead. Works in the stationary pad, but in ingest there is an error message that the variable is not allowed in a path statement. Strange: {type} worked, but a wrong output.

This is what I had in the ingest dialog:
{type}\{year4}-{month0}-{day0}-{jobname} - generates for example: ..MooV\2012-06-25-Berlin-6308-O1.mov

the other:
{filename:-3}\{year4}-{month0}-{day0}-{jobname} did not work. Error: the folder name field contains a variable, {filename}, which cannot be used ....

btw I am on Win 7 64 bit.

Thanks

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24730
    • View Profile
    • Camera Bits, Inc.
Re: {filename:-3} Variable in ingest path
« Reply #1 on: July 10, 2012, 06:30:04 AM »
I think what you're wanting to use is {mediatype} instead of {type}.  It evaluates to things like 'still' and 'video'.  Use it in combination with Code Replacement and you can make it evaluate to any other label you desire.

HTH,

-Kirk

Offline e.live

  • Newcomer
  • *
  • Posts: 7
    • View Profile
Re: {filename:-3} Variable in ingest path
« Reply #2 on: July 10, 2012, 06:33:45 AM »
Thanks,

I will give it a try ...

Eckart