INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Run Command During Auto-Import  (Read 652 times)

nathanchavez

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 292
  • I know nothing except for the fact of my ignorance
Run Command During Auto-Import
« on: December 17, 2021, 02:42:22 pm »

Is it possible to run a command after auto-import?   Specifically, it would be nice to autorun f12 (fill properties from filename) during the auto-import process.  That would allow me to automate things.  Can that be done?

Thanks!
Logged

nathanchavez

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 292
  • I know nothing except for the fact of my ignorance
Re: Run Command During Auto-Import
« Reply #1 on: December 20, 2021, 03:51:36 pm »

Okay then.  I guess that's not possible.  I can always edit the auto-import to change the "name" to use "[Filename (name)]", but that results in S01E01 - Pilot.mp4 (for example) and I want S01E01 - Pilot.  Is the latter possible with no extension?  If so, what expression would I use?
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Run Command During Auto-Import
« Reply #2 on: December 20, 2021, 11:20:08 pm »

No time to test for you, but, you could try:
Code: [Select]
filename(,0)
You will see that if you enter =filename(,0) into the name field via the tag window, it does what you want. It might behave differently or not at all as a tag on import rule, you'll need to experiment.

-marko

nathanchavez

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 292
  • I know nothing except for the fact of my ignorance
Re: Run Command During Auto-Import
« Reply #3 on: December 21, 2021, 01:51:01 am »

No time to test for you, but, you could try:
Code: [Select]
filename(,0)
You will see that if you enter =filename(,0) into the name field via the tag window, it does what you want. It might behave differently or not at all as a tag on import rule, you'll need to experiment.

-marko

Cool beans!  That worked perfectly.  Thanks.  Do you know what I could do to make sure the "Date" field is empty?  The expression "<empty>" doesn't seem to be working, which is odd because it works in my smartlists.
Logged
Pages: [1]   Go Up