Help - Search - Members - Calendar
Full Version: How do I use the play_count tag in playlist tree?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
stampgevaar
I'm using this code in the playlist tree
SOURCE
@DATABASE
CRITERIA
%play_count% GREATER 0
FORMAT
$num(%play_count%,4) '['$if2(%vinyltrack%,%tracknumber%)']' %title% - %artist% ['['%discogs_label%']']
POPULATION ORDER
$sub(999999,%play_count%)

and I'm using the official playcount statistics component in foobar the weird thing is that the playcounts that are not written to the tags are not usable in the playlist tree panel.

Is this normal or is there something wrong with my code? The ratings that are stored with the custom info component are accessible so I don't think my music has to necessarily have the all the info in it's tag so the playlist tree can read it.

Please help

thanks in advance
stampgevaar
Damn is it such a problem to just say if it's possible or not possible been searching all evening for it to get it to work, your not telling me that I'm the first one who has tried this for the first time or...

Hehe it's working now no idea what it was but suddenly it work so biggrin.gif
tomthomson
This line caused the problem
CODE
%play_count% GREATER 0


Correct
CODE
play_count GREATER 0


%% arent allowed in the Criteria field
stampgevaar
No it's working now it had nothing to do with the code I think it was my computer acting strange but thanks for the reply biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.