INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: mark_h on August 30, 2012, 06:49:08 am

Title: Adding a static count to views?
Post by: mark_h on August 30, 2012, 06:49:08 am
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
Title: Re: Adding a static count to views?
Post by: rick.ca on August 30, 2012, 02:28:28 pm
Quote
Has anybody figured out how to add a static count to a view yet?

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.
Title: Re: Adding a static count to views?
Post by: mark_h on August 31, 2012, 02:11:00 am
Thanks, Rick.

What is the third parameter to save() ?

[edit]Never mind, I remember now![/edit]
Title: Re: Adding a static count to views?
Post by: rick.ca on August 31, 2012, 04:03:18 am
Quote
[edit]Never mind, I remember now![/edit]

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