More > JRiver Media Center 18 for Windows

Adding a static count to views?

(1/1)

mark_h:
Has anybody figured out how to add a static count to a view yet?  In other words a column starting at 1 and counting downwards?

I want to add a position number against entries in some views but so far I think this is still impossible...  Anybody?

Cheers,

Mark

rick.ca:

--- Quote ---Has anybody figured out how to add a static count to a view yet?
--- End quote ---

Only in a limited way. Any playlist (not smartlist) view, including Playing Now, includes an internal Seq#. That can be captured and assigned to a variable with Save(CustomData(#), Var.Seq.[Filename], 1). If used in Playing Now, for example, the variable could be used to display the play sequence number in a view. To add a simple sequence number to a regular view, I suppose you would have to send the contents of the view to a list that captured the sequence. That's not very practical, as the list would have to be cleared, the current view contents sent to it, then the list refreshed before the results would be available to the target view.

mark_h:
Thanks, Rick.

What is the third parameter to save() ?

[edit]Never mind, I remember now![/edit]

rick.ca:

--- Quote ---[edit]Never mind, I remember now![/edit]
--- End quote ---

That's right. It's 'Keep' (1 to output the value, default 0). ;)

Navigation

[0] Message Index

Go to full version