HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: JustAListener on 2022-02-22 20:46:58

Title: Foobar 2000 Auto PlayList Not Quite Working
Post by: JustAListener on 2022-02-22 20:46:58
I have searched for applicable help generally and in these forums without finding an answer.  It's probably there somewhere but my google-fu isn't particularly robust.

I'm trying to create an auto playlist in Foobar v1.6.8 that contains tracks that have not been played, i.e. %count% LESS 1.

I create the query by right-clicking on All Music > Create Autoplaylist and enter the query text.  Enabling/disabling force-sorted makes no difference. The resulting list of music contains mostly "Unplayed" tracks but also tracks that have been played anywhere from 1 to 29 times.  It doesn't, however, contain my complete collection.

What am I doing wrong?  What is the query actually returning?

Also, why doesn't the auto-playlist update after I play a track which changes the count field from Unplayed to 1?
Title: Re: Foobar 2000 Auto PlayList Not Quite Working
Post by: kode54 on 2022-02-22 23:39:43
The tag you want is %playcount%, not %count%.
Title: Re: Foobar 2000 Auto PlayList Not Quite Working
Post by: JustAListener on 2022-02-23 00:45:52
The tag you want is %playcount%, not %count%.
Yeah, I should have caught that but it doesn't make a difference.  I right-click on the playlist tab, select Autoplaylist... and adjust the query.  I click on OK but the list itself still contains the same music.  On careful review, though, I think all my music is in the list.  In other words, the query is returning everything.

Can I not sort within this query?
Title: Re: Foobar 2000 Auto PlayList Not Quite Working
Post by: Daeron on 2022-02-23 04:21:19
If you are using the Playback Statistics component, you should be using:
Code: [Select]
%play_count% LESS 1
or
%play_count% MISSING

And if you want sorting:
Code: [Select]
%play_count% LESS 10 SORT DESCENDING BY %play_count%
You can also leave out or replace DESCENDING with ASCENDING
Title: Re: Foobar 2000 Auto PlayList Not Quite Working
Post by: JustAListener on 2022-02-23 17:25:32
If you are using the Playback Statistics component, you should be using:
Code: [Select]
%play_count% LESS 1
or
%play_count% MISSING
That did it, many thanks.

And if you want sorting:
Code: [Select]
%play_count% LESS 10 SORT DESCENDING BY %play_count%
You can also leave out or replace DESCENDING with ASCENDING
When I attempt the SORT condition, the Autoplaylist Properties dialog will not close and displays "Sort operations not available in this context".  It appears one can't sort from within the selection criteria.
Title: Re: Foobar 2000 Auto PlayList Not Quite Working
Post by: Daeron on 2022-02-23 22:42:35
I am guessing you already created the Autoplaylist and you are trying to edit its pattern, instead of just generating a new one with "Library > Search > ... > Create autoplaylist".
Title: Re: Foobar 2000 Auto PlayList Not Quite Working
Post by: JustAListener on 2022-02-24 15:05:50
Yes.
Title: Re: Foobar 2000 Auto PlayList Not Quite Working
Post by: JustAListener on 2022-02-25 00:31:21
When I attempt the SORT condition, the Autoplaylist Properties dialog will not close and displays "Sort operations not available in this context".  It appears one can't sort from within the selection criteria.
Ok, not quite correct.  I reentered the query, including a
Code: [Select]
sort ascending by %RATING% 
, and it worked.  Are the keywords case insensitive?