INTERACT FORUM

Please login or register.

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

Author Topic: BUG: Using the PadNumber/Counter function doesn't give consistent results  (Read 2857 times)

keither

  • Junior Woodchuck
  • **
  • Posts: 79

Hey folks,

I'm working on guest spot for an internet radio program.  I've been asked to provide the files with a specific file name format, which includes play order.  How can I go about exporting (copies of) my files from MC into a folder with a specific name which includes the sequence in a playlist?

Any help would be appreciated.
Logged

rick.ca

  • Citizen of the Universe
  • *****
  • Posts: 3729
Re: Export files w/ rename/sequence number in filename?
« Reply #1 on: September 22, 2009, 12:37:07 am »

With all the items in your playlist selected, right-click and select Rename, Move & Copy Files. Set the action to Copy (careful—it defaults to Rename). Set Base Path to the folder to copy to. Set Filename to Counter(1,1) [Name] (or replace [Name] with whatever the required format is).
Logged

keither

  • Junior Woodchuck
  • **
  • Posts: 79
Re: Export files w/ rename/sequence number in filename?
« Reply #2 on: September 22, 2009, 11:23:31 am »

Awesome!

Is there any way to zero-pad the counter:

01 - blah blah blah
02 - blah blah blah

(instead of 1 - blah)?
Logged

Lasse_Lus

  • Citizen of the Universe
  • *****
  • Posts: 999
Re: Export files w/ rename/sequence number in filename?
« Reply #3 on: September 22, 2009, 11:38:56 am »

=PadNumber(Counter(1),2) - ["field"]

Logged
MT5FR

keither

  • Junior Woodchuck
  • **
  • Posts: 79
Re: Export files w/ rename/sequence number in filename?
« Reply #4 on: September 22, 2009, 12:27:06 pm »

Thanks - looks like there's a bug in the rename,move,copy dialog box.

I use this rule:
PadNumber(Counter(1,1), 2)_[Artist]_[Name]

And, as you drag your mouse around the box, the output numbers on the new filename jump.  I'm using 13.0.169.

Since this is core functionality, I'd love to see this addressed in 13 as well as 14.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9124
Re: BUG: Using the PadNumber/Counter function doesn't give consistent results
« Reply #5 on: September 22, 2009, 12:40:49 pm »

It's not a bug, it's just the way it works. Some reading may help...

here and from here down.

Hopefully there's some info there that's useful to you.

-marko.

keither

  • Junior Woodchuck
  • **
  • Posts: 79
Re: BUG: Using the PadNumber/Counter function doesn't give consistent results
« Reply #6 on: September 22, 2009, 12:50:08 pm »

Thanks, marko.

I appreciate knowing it's not just me, but I would strongly argue that the current behavior is not the desired behavior.  Having to keep the mouse out of a window is a bug.  Since it's a bug, I'm hoping that the MC folks will be interested in helping.  :)
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9124
Re: BUG: Using the PadNumber/Counter function doesn't give consistent results
« Reply #7 on: September 22, 2009, 12:55:10 pm »

They may, they may not, you can never really tell, but it's been that way since it's inception way back, at least two major builds ago.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: BUG: Using the PadNumber/Counter function doesn't give consistent results
« Reply #8 on: September 22, 2009, 01:25:12 pm »

The counter function is built around a time-delay.  The list is running expressions on demand as you force a repaint by moving the mouse.  It's operating as it was designed to operate.

It sounds like you're looking for a ListIndex() or similar function.  This doesn't exist, but we'll keep it in mind.

Thanks.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: BUG: Using the PadNumber/Counter function doesn't give consistent results
« Reply #9 on: September 22, 2009, 01:46:27 pm »

In build 72 and later (available in about a week):
NEW: Added ability to use "CustomData(#)" expression in the Rename, Move, & Copy Files dialog for outputting the list index.
Logged
Matt Ashland, JRiver Media Center

keither

  • Junior Woodchuck
  • **
  • Posts: 79
Re: BUG: Using the PadNumber/Counter function doesn't give consistent results
« Reply #10 on: September 24, 2009, 02:20:05 pm »

See, and here people say there are no compelling reasons to upgrade.  *sigh*  Thanks, Matt.  Now I have to scrape together the upgrade fee.  :)
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: BUG: Using the PadNumber/Counter function doesn't give consistent results
« Reply #11 on: September 24, 2009, 02:39:05 pm »

I think several of your requests here have also been added to v14:
http://yabb.jriver.com/interact/index.php?topic=51551.msg363759#msg363759

Regardless, thanks for considering the upgrade.
Logged
Matt Ashland, JRiver Media Center

keither

  • Junior Woodchuck
  • **
  • Posts: 79
Re: BUG: Using the PadNumber/Counter function doesn't give consistent results
« Reply #12 on: September 24, 2009, 02:43:21 pm »

Oh, I know.  It's simply finances that have been holding me up.  I really do appreciate how responsive you've been to my requests.
Logged
Pages: [1]   Go Up