IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Need help: Albumlist titleformating
buktore
post May 7 2008, 16:55
Post #1





Group: Members
Posts: 506
Joined: 24-November 06
Member No.: 38011



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,
Go to the top of the page
+Quote Post
shakey_snake
post May 7 2008, 17:14
Post #2





Group: FB2K Moderator
Posts: 4322
Joined: 1-November 06
From: Cincinnati
Member No.: 37036



How about:

CODE
$if(%play_count%,'>'$left(%play_count%,$sub($len(%play_count%),1))'0',Never Played)


--------------------
elevatorladylevitateme
Go to the top of the page
+Quote Post
buktore
post May 7 2008, 17:31
Post #3





Group: Members
Posts: 506
Joined: 24-November 06
Member No.: 38011



Doesn't work, It show a group of playcount divide by 10 (>0,>10,>20,...,>550)

Currently, I use this

CODE
$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.
Go to the top of the page
+Quote Post
shakey_snake
post May 7 2008, 17:38
Post #4





Group: FB2K Moderator
Posts: 4322
Joined: 1-November 06
From: Cincinnati
Member No.: 37036



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.


This post has been edited by shakey_snake: May 7 2008, 18:00


--------------------
elevatorladylevitateme
Go to the top of the page
+Quote Post
buktore
post May 7 2008, 17:47
Post #5





Group: Members
Posts: 506
Joined: 24-November 06
Member No.: 38011



QUOTE
since a file cannot belong to more than one tree-branch


Ah.. didn't know this.. Ok, thanks for the help anyway.
Go to the top of the page
+Quote Post
shakey_snake
post May 7 2008, 18:01
Post #6





Group: FB2K Moderator
Posts: 4322
Joined: 1-November 06
From: Cincinnati
Member No.: 37036



fixed above.


--------------------
elevatorladylevitateme
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd September 2014 - 23:08