INTERACT FORUM

Please login or register.

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

Author Topic: How do I reference the Sequence number field?  (Read 4810 times)

Warbird777

  • Regular Member
  • Recent member
  • *
  • Posts: 45
How do I reference the Sequence number field?
« on: April 02, 2010, 10:41:21 pm »

How do I reference the Sequence number field?

I would like to use it in Re-Name like this:
PadNumber([Seq],4) - [Artist] - [Album] - [Track #] - [Name]
Logged

Warbird777

  • Regular Member
  • Recent member
  • *
  • Posts: 45
Re: How do I reference the Sequence number field?
« Reply #1 on: April 04, 2010, 10:49:02 am »

Counter does not seem to work either.

PadNumber(Counter(1),4) - [Artist] - [Album] - [Track #] - [Name]
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9119
Re: How do I reference the Sequence number field?
« Reply #2 on: April 04, 2010, 11:10:52 am »

I'm sure that [seq] is a special internal field that we can't access.
Counter resets itself after 5 seconds of inactivity, but may be able to what you want.

for some tips and ideas, Have a read of this post: http://yabb.jriver.com/interact/index.php?topic=50622.msg346031#msg346031
and perhaps, this thread: http://yabb.jriver.com/interact/index.php?topic=48659.0

Does that help at all?

-marko

Warbird777

  • Regular Member
  • Recent member
  • *
  • Posts: 45
Re: How do I reference the Sequence number field?
« Reply #3 on: April 08, 2010, 04:26:20 pm »

Thanks marko.

This was the key pharase that helped from the link you sent:
...
Before you press OK, a few words about "counter()"...
Once invoked, it will keep on counting untill it has been inactive for more than 5 seconds, at which point, it will reset to zero, and keep on counting. What this means is, that if you mouse over the "before/after" columns of the rename, move and copy tool, you will see from the tooltip info that the prepended numbers keep changing, so, what you need to do is trust that the tool will do its job correctly, wait more than 5 seconds, then hit the OK button, making sure to keep the mouse out of the "before/after" area.
...

Especially the part about "trust the tool".

I used "PadNumber(Counter(1),4) - [Artist] - [Album] - [Track #] - [Name]".
And it works fine.

FYI: I rename the files in playlists sequentially, so that when transferred to other devices, I can sort them as desried (assumming the particular player allows me FAT access via ReOrganize).

Michael
Logged

stubbsy

  • Recent member
  • *
  • Posts: 27
Re: How do I reference the Sequence number field?
« Reply #4 on: February 15, 2019, 11:18:58 pm »

I used "PadNumber(Counter(1),4) - [Artist] - [Album] - [Track #] - [Name]".

There is a two step, but reliable way to achieve this:

Step 1 - put sequence # into Episode #
  • Choose Library Tools/Fill Track Number from list order
  • Set Start at 1, increment  by 1, Field as Episode # (avoids trashing the actual track number)
  • Click Ok - this will add the sequence into the Episode # field (not used for audio :))
Step 2 - rename the files
  • In the file rename dialog specify "PadNumber([Episode],4) - [Artist] - [Album] - [Track #] - [Name]"
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9119
Re: How do I reference the Sequence number field?
« Reply #5 on: February 16, 2019, 08:00:33 am »

This thread feels older than me... and I'm old :)

Some time after this thread, we obtained the CustomData(#) function, which does the same, without the hyperactivity of the counter() function...

PadNumber(Customdata(#),4) - [Artist] - [Album] - [Track #] - [Name]

-marko

stubbsy

  • Recent member
  • *
  • Posts: 27
Re: How do I reference the Sequence number field?
« Reply #6 on: February 16, 2019, 10:05:30 pm »

Some time after this thread, we obtained the CustomData(#) function, which does the same, without the hyperactivity of the counter() function...

Thanks Marko - far better  :)
Logged
Pages: [1]   Go Up