Skip to main content

Topic: Need help: Albumlist titleformating (Read 3243 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • buktore
  • [*][*][*][*][*]
Need help: Albumlist titleformating
I'm trying to make an albumlist that would show something like this.. (using %play_count% tag)

- Playcount
|
-- never played
-- 1+ (Tracks with play count = 1 and more)
-- 10+ (Tracks with play count = 10 and more)
-- 30+

Possible? If so, how?

Thanks,

  • shakey_snake
  • [*][*][*][*][*]
  • Moderator
Need help: Albumlist titleformating
Reply #1
How about:

Code: [Select]
$if(%play_count%,'>'$left(%play_count%,$sub($len(%play_count%),1))'0',Never Played)
elevatorladylevitateme

  • buktore
  • [*][*][*][*][*]
Need help: Albumlist titleformating
Reply #2
Doesn't work, It show a group of playcount divide by 10 (>0,>10,>20,...,>550)

Currently, I use this

Code: [Select]
$if(%play_count%,$ifgreater(%play_count%,29,30+,$ifgreater(%play_count%,9,10-29,1-9)),Never played)


Which show

Playcount
- 1-9
- 10-29
- 30+
- Never played

But it's not exactly what I want. I have tried a lot and concluded that it's not possible, But maybe there is.. so I make a topic.

  • shakey_snake
  • [*][*][*][*][*]
  • Moderator
Need help: Albumlist titleformating
Reply #3
Ah... I see.



No, what you want is impossible since a file cannot belong to more than one tree-branch, without citing a multivalue field.

[edit]corrected.
  • Last Edit: 07 May, 2008, 01:00:30 PM by shakey_snake
elevatorladylevitateme

  • buktore
  • [*][*][*][*][*]
Need help: Albumlist titleformating
Reply #4
Quote
since a file cannot belong to more than one tree-branch


Ah.. didn't know this.. Ok, thanks for the help anyway.

  • shakey_snake
  • [*][*][*][*][*]
  • Moderator
Need help: Albumlist titleformating
Reply #5
fixed above.
elevatorladylevitateme