INTERACT FORUM

Please login or register.

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

Author Topic: Need some help making a numbered list in a Library View  (Read 2866 times)

Saucepan

  • Junior Woodchuck
  • **
  • Posts: 73
Need some help making a numbered list in a Library View
« on: December 28, 2010, 07:37:28 pm »

What I'm looking to do:

In the Audio section, I've created a view for my albums. Now I want to know if there is an expression that will 'number' each record. It's intended to create a list of my top records. They are sorted by ratings and a few other variables, but I need numbers, so I can see where the albums rank exactly.

Is this able to be done? I've tried putting in the counter() expression, but I can't get it to work to my satisfaction.
Logged

Saucepan

  • Junior Woodchuck
  • **
  • Posts: 73
Re: Need some help making a numbered list in my Album View
« Reply #1 on: December 30, 2010, 07:10:22 pm »

C'mon Beta Team!! Help me on this!
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8971
Re: Need some help making a numbered list in my Album View
« Reply #2 on: December 31, 2010, 01:22:45 am »

I'm not sure that this is do-able. "Counter" will not work in a library view as it will keep on counting as the view is refreshed.

If you give us more detailed information to work with, it will help you to obtain a more precise answer. Include screenshots if you feel they might help.

Is this "Number" to be a dynamic value? IE As the albums shift around in the sorted list, does the first entry always need to be "1" regardless of the album?

Where/How will you be using this number value? Are you using a smartlist or a library view?

Are you using album thumbnails or a full file list grouped by album?

-marko

Saucepan

  • Junior Woodchuck
  • **
  • Posts: 73
Re: Need some help making a numbered list in my Album View
« Reply #3 on: December 31, 2010, 01:43:55 am »

Thank you marko.

"Is this "Number" to be a dynamic value? IE As the albums shift around in the sorted list, does the first entry always need to be "1" regardless of the album?"
Yes.

"Where/How will you be using this number value?"
I want it to be displayed just like any other field (Artist, Album, Year etc...). Think of it like a Billboard Top 100. The numbers will stay the same while the albums shift around depending on how they are rated.

"Are you using a smartlist or a library view?"
This is a library view.

"Are you using album thumbnails or a full file list grouped by album?"
Either would be ok. Album Thumbnails preferably.
Logged

Saucepan

  • Junior Woodchuck
  • **
  • Posts: 73
Re: Need some help making a numbered list in a Library View
« Reply #4 on: January 02, 2011, 01:49:38 pm »

a-anyone?
Logged

rick.ca

  • Citizen of the Universe
  • *****
  • Posts: 3729
Re: Need some help making a numbered list in my Album View
« Reply #5 on: January 02, 2011, 06:18:25 pm »

I'm not sure that this is do-able.

Coming from marko, most of us would interpret this as "not humanly possible." Your options are therefore...

  • Decide, while it's a wonderful idea, it's not really necessary. Or,
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71656
  • Where did I put my teeth?
Re: Need some help making a numbered list in a Library View
« Reply #6 on: January 02, 2011, 06:31:23 pm »

Lightning strikes twice sometimes.
Logged

Saucepan

  • Junior Woodchuck
  • **
  • Posts: 73
Re: Need some help making a numbered list in a Library View
« Reply #7 on: January 02, 2011, 07:10:31 pm »

I bet it's possible. C'mon gappie...
Logged

rick.ca

  • Citizen of the Universe
  • *****
  • Posts: 3729
Re: Need some help making a numbered list in a Library View
« Reply #8 on: January 02, 2011, 08:16:12 pm »

Lightning strikes twice sometimes.

Oops. I must have used the _-word.  :-X
Logged

Saucepan

  • Junior Woodchuck
  • **
  • Posts: 73
Re: Need some help making a numbered list in a Library View
« Reply #9 on: January 09, 2011, 07:44:58 pm »

bumping, in case anyone wants to make my week
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2574
Re: Need some help making a numbered list in a Library View
« Reply #10 on: January 09, 2011, 09:29:06 pm »

ListItem?
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8971
Re: Need some help making a numbered list in a Library View
« Reply #11 on: January 10, 2011, 02:22:24 am »

I have thought about this, and tried a few things out, just in case they worked, and they didn't.

I can't see a way to achieve this, and here's why...

Expressions can only work on the tags or file status, for any given single file. There is no way to assign value X to file A, then go to file B and say "make value X equal the same as file A plus one.

There's no way to reference the sequence number from a playlist, not even in the playlist itself viewed as album thumbnails.

I thought we might get somewhere with listitem(), but in order for that to be any use, we first have to force all of the album values present in the dynamic list into a single field that is applied to every file in the list, in the order that they appear in the list. I was not able to make that happen.

I tried some fancy math stuff based off the track # field, but that failed too.

Sorry saucepan, but unless someone else can see a different angle of attack for this one, I have to say it's not achievable. rick.ca recently came up with a neat keywords solution that I hadn't seen, proof there that he sees other angles for stuff, but not this one.

The playing field for expressions is massive, really, really, massive, but it does have boundaries. I think you will have to accept that you have reached a boundary with this one.

Regards,
-marko

Vincent Kars

  • Citizen of the Universe
  • *****
  • Posts: 1154
Re: Need some help making a numbered list in a Library View
« Reply #12 on: January 10, 2011, 02:59:38 am »

Have a look at Playlist
A 'normal' Playlist has a column Seq, the sequence in the list.
Maybe this column can be used to create a numbered list.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8971
Re: Need some help making a numbered list in a Library View
« Reply #13 on: January 10, 2011, 04:10:13 am »

There's no way to reference the sequence number from a playlist, not even in the playlist itself viewed as album thumbnails.

Vincent Kars

  • Citizen of the Universe
  • *****
  • Posts: 1154
Re: Need some help making a numbered list in a Library View
« Reply #14 on: January 10, 2011, 04:27:00 am »

Looks like this yields the Seq

CustomData(#)
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8971
Re: Need some help making a numbered list in a Library View
« Reply #15 on: January 10, 2011, 12:33:13 pm »

CustomData(#) will number files, starting from 1, from first to last in the list, but only does so when used in the "Rename, Move & Copy Files..." tool.
Pages: [1]   Go Up