Help - Search - Members - Calendar
Full Version: Recently Added query string for Playlist Tree
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
Fractal_Mortality
How would I go about creating a query in the Foo_Playlist_Tree plugin that enables me to see which files are newest to the database... What kind of tags would I use... I know the basic creation of query strings in Playlist Tree but I'm not sure how to do this.
fabiospark
QUOTE(Fractal_Mortality @ Jun 22 2005, 05:21 PM)
How would I go about creating a query in the Foo_Playlist_Tree plugin that enables me to see which files are newest to the database... What kind of tags would I use... I know the basic creation of query strings in Playlist Tree but I'm not sure how to do this.
*




"If at first you don't succed, try and try and try again"

Yes, my English teacher taught me some English proverb too!

Apart joking (but not so much...): I have an %added% tag that holds the date the file was added (fancy that) to the database. I use masstagger to do that.
Then, in PLTree, you have just to query for %added% then whatever else you like.
My format string for this is:
CODE
%added%|%album artist%|%album%|$num(%tracknumber%,2). %title%

Just think to write the date yy-mm-dd if you want to have a cronological order.
In the "query" box put the filtering you need (es: genre IS jazz) or just "1" if you don't need a filter.
Remember to check the "dosplay" sort criteria if you want have an order that follows your format string or specify any other if you want a custom one.

Bye.
Fractal_Mortality
QUOTE(fabiospark @ Jun 22 2005, 04:20 PM)
QUOTE(Fractal_Mortality @ Jun 22 2005, 05:21 PM)
How would I go about creating a query in the Foo_Playlist_Tree plugin that enables me to see which files are newest to the database... What kind of tags would I use... I know the basic creation of query strings in Playlist Tree but I'm not sure how to do this.
*




"If at first you don't succed, try and try and try again"

Yes, my English teacher taught me some English proverb too!

Apart joking (but not so much...): I have an %added% tag that holds the date the file was added (fancy that) to the database. I use masstagger to do that.
Then, in PLTree, you have just to query for %added% then whatever else you like.
My format string for this is:
CODE
%added%|%album artist%|%album%|$num(%tracknumber%,2). %title%

Just think to write the date yy-mm-dd if you want to have a cronological order.
In the "query" box put the filtering you need (es: genre IS jazz) or just "1" if you don't need a filter.
Remember to check the "dosplay" sort criteria if you want have an order that follows your format string or specify any other if you want a custom one.

Bye.
*




Sounds good, thanks!
jkwarras
You could use the 'Fresh' col file I made sometime ago. Available here:
http://foobar.bowron.us/example_collections/

From the readme:

QUOTE
Fresh.col: Keep an updated list of tracks that have been added to the database in the last month (from today). Sorted by Artist>(Date) Album>Tracknumber.

      Notes:
      - Uses foo_filedate plugin tags (%added% tag in the i.e. 20040130 format). Otherwise it'll not work.


This should do the trick smile.gif

PS: Right now I use another way of doing it (via quicktagsql, which doesn't tag the file itself), if you're interested I can provided you later the col.
Fractal_Mortality
QUOTE(jkwarras @ Jun 23 2005, 05:57 AM)
You could use the 'Fresh' col file I made sometime ago. Available here:
http://foobar.bowron.us/example_collections/

From the readme:

QUOTE
Fresh.col: Keep an updated list of tracks that have been added to the database in the last month (from today). Sorted by Artist>(Date) Album>Tracknumber.

      Notes:
      - Uses foo_filedate plugin tags (%added% tag in the i.e. 20040130 format). Otherwise it'll not work.


This should do the trick smile.gif

PS: Right now I use another way of doing it (via quicktagsql, which doesn't tag the file itself), if you're interested I can provided you later the col.
*



hmm... Well it would be nice if there was a way for me to have a recently added list without having to add a date tag to everything... Does this method (quicktagsql, that is) use a more automated system, or what? please explain.
jkwarras
QUOTE(Fractal_Mortality @ Jun 23 2005, 12:47 PM)
hmm... Well it would be nice if there was a way for me to have a recently added list without having to add a date tag to everything... Does this method (quicktagsql, that is) use a more automated system, or what? please explain.
*


No, you still have to add manually an added tag, but it's stored in a sqlite (external) database, so it'll not modify your files.
Fractal_Mortality
QUOTE(jkwarras @ Jun 23 2005, 04:40 PM)
QUOTE(Fractal_Mortality @ Jun 23 2005, 12:47 PM)
hmm... Well it would be nice if there was a way for me to have a recently added list without having to add a date tag to everything... Does this method (quicktagsql, that is) use a more automated system, or what? please explain.
*


No, you still have to add manually an added tag, but it's stored in a sqlite (external) database, so it'll not modify your files.
*



ah ok... Well I don't mind having the files modified (since the tracks I'll be using it on will likely be recently added to my computer anyway.)
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.