INTERACT FORUM

More => Old Versions => JRiver Media Center 28 for Windows => Topic started by: nathanchavez on December 17, 2021, 02:42:22 pm

Title: Run Command During Auto-Import
Post by: nathanchavez 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!
Title: Re: Run Command During Auto-Import
Post by: nathanchavez 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?
Title: Re: Run Command During Auto-Import
Post by: marko 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
Title: Re: Run Command During Auto-Import
Post by: nathanchavez 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.