Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Need help: Albumlist titleformating (Read 4102 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

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,

 

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

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.

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.
elevatorladylevitateme

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.

Need help: Albumlist titleformating

Reply #5
fixed above.
elevatorladylevitateme