Help - Search - Members - Calendar
Full Version: foo_playlist_tree
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
q-stankovic
I tried something similar but it doesn't work although i used the PT2 specific language.

your example: @format<'$len(%tag%)> GREATER 4.

But it seems that you only can use the @format function for the value but not for the field expression of a playlist_gen_query. Would like to have that useful feature to create some fancy queries with my %mood%, %style%, %situation% tags! smile.gif
MiSP
I need a little help with this script.

CODE
$if(%artist%,
%artist%|['['%date%']'] $if2(%album%,-<Unknown album>-)|[$num(%tracknumber%,2) - ]%title%,
$if(%album%,-<Unknown artist>-|%album%|[$num(%tracknumber%,2) - ]%title%,-<Unknown artist>-|<Unknown album>|[$num(%tracknumber%,2) - ]%title%)
)


I have no criteria. What I want it to do, basically, is to sort by artist and put all the tracks without artists but with album into "-<Unknown artist>-|album|title", and all tracks without both artist and album into "-<Unknown artist>-|-<Unknown album>-|title. When I use line 2 and 3 separately (in separate queries) with "artist MISSING" and "NOT artist MISSING" they work perfectly, but once I put them together here, the tracks without artist but with album does not get listed.

Does anybody have an idea of what is wrong?
MiSP
Nevermind, I figured it out - the problem was that the tracks I expected to have artist, did have an album artist, and therefore they did not count as having no artist at all.

Is there a way to check only the artist field, and not the album artist, composer or performer?
q-stankovic
QUOTE(MiSP @ Dec 2 2006, 15:52) *

Is there a way to check only the artist field, and not the album artist, composer or performer?


$meta(artist)
tableschairs
QUOTE(tberman333 @ Sep 3 2006, 12:43) *

I have tried to set the double-click action on this plugin to be "Edit Other/Add to Specified Playlist" The problem is, when you do that there is no place to specify the playlist you want to send to. Would there be anyway to add an option to define a specifed playlist to add tracks to if you select that option as an action?

Thanks!


I just want to second this request in case it got missed in the jumble of other posts. It is already possible to specify a playlist when setting hotkeys, and a similar thing for the playlist tree menu would be completely fantastic - it would allow a playback behavior that is closer to what people intuitively expect when browsing and playing music at the same time. I have been scouring the forums looking for some way to get foobar to play and browse in separate playlists, and while there are a ton of awkward workarounds out there (using the queue, right clicking and selecting send to playlist, etc.) this little function would work perfectly.

Seriously, from the searching I have done it seems like there are quite a few people who would love a way to make their foobar act like this, and making this option functional would be an amazing solution. I honestly can't stress enough how great it would be if this could be implemented, as it would fix the single biggest issue I (and others, apparently) have with the way foobar handles playback.
cwbowron
QUOTE(tableschairs @ Dec 3 2006, 15:59) *

I just want to second this request in case it got missed in the jumble of other posts. It is already possible to specify a playlist when setting hotkeys, and a similar thing for the playlist tree menu would be completely fantastic - it would allow a playback behavior that is closer to what people intuitively expect when browsing and playing music at the same time. I have been scouring the forums looking for some way to get foobar to play and browse in separate playlists, and while there are a ton of awkward workarounds out there (using the queue, right clicking and selecting send to playlist, etc.) this little function would work perfectly.


Its being looked into and should be in the next release.
fabiospark
Is there a way to refresh one query only?

If I launch the refresh queries, it goes on forever (killed FB after 4 mins) so,
probably there is some unsafe query in my tree.

To check which one is, I need to be able what I asked above.
Or some other way is there, maybe? (apart having to remove all queries
and then add one at a time, of course)

Thanks.
cwbowron
QUOTE(fabiospark @ Dec 17 2006, 09:19) *

Is there a way to refresh one query only?


middle click or shift right click on the query node and select "refresh queries". It will only refresh that query. Also if you have a static folder that contains multiple queries you can click on it, and select "refresh queries" and it will refresh ONLY the queries underneath it.
fabiospark
QUOTE(cwbowron @ Dec 17 2006, 17:17) *

QUOTE(fabiospark @ Dec 17 2006, 09:19) *

Is there a way to refresh one query only?


middle click or shift right click on the query node and select "refresh queries". It will only refresh that query. Also if you have a static folder that contains multiple queries you can click on it, and select "refresh queries" and it will refresh ONLY the queries underneath it.


Yes, I knew that but, due to the extra long time it took, and to the "s" at the end of the word "queries", for a moment I thought it was refreshing always everything.

Anyway, I tried that refresh on a couple of queries and this is what came out:

1)
Format= %artist%|%title% - %album%
Sort= by name after populating
refresh time = 2 secs

2)
Format= %artist%|%title%|%album%
Sort= by name after populating
refresh time = 65 secs

3)
Format= %artist%|%date%|%title%|%album%
Sort= by name after populating
refresh time = 118 secs

but...

following a hint I found in the wiki, I put "%overallindex%: %_name%" in the Folder name box of the preferences and that was the problem.
Removing that %overallindex%, reduced the time of 2) and 3) to a couple of secs.

As I'd like to be able to refresh a query and send it to a playlist with a remote control, is there a way to link a query to a keyboard shortcut without using that slowing function?
(Maybe assigning a fixed index number manually)

Thanks
mdhare007
Having problems with nodes.

I've created a folder called "blah". Under this folder, I have a few queries. I'd like to use the contents of this folder in another query. I've tried every possible iteration that I can think of and I can't get anything to work.

* What is the actual definition of a node?
* Would the node name for a folder labeled 'blah' be 'blah' or 'Folder::blah' ?
* Does the 'folder format:' config option change the node name?
* The node syntax is used as a source so is used only in the Criteria section of a query?

I've searched and read as much as I could but am still lost..

-Michael
cwbowron
QUOTE(mdhare007 @ Dec 28 2006, 14:51) *

Having problems with nodes.

I've created a folder called "blah". Under this folder, I have a few queries. I'd like to use the contents of this folder in another query. I've tried every possible iteration that I can think of and I can't get anything to work.

* What is the actual definition of a node?
* Would the node name for a folder labeled 'blah' be 'blah' or 'Folder::blah' ?
* Does the 'folder format:' config option change the node name?
* The node syntax is used as a source so is used only in the Criteria section of a query?

I've searched and read as much as I could but am still lost..


You should be able to use that node as the Source of another query using "@node<blah>"

The folder format should not affect it.

Here's an example.
mdhare007
[/quote]

You should be able to use that node as the Source of another query using "@node<blah>"

The folder format should not affect it.

Here's an example.
[/quote]

Thanks for the quick reply. I've tried your example verbatim on 2.2.4 with no success. I assure you that I have songs with the RATING field flushed out smile.gif

Any ideas on how to troubleshoot further?

http://nibbler.wiscnet.net/~m7h/node_woes.jpg
cwbowron
QUOTE(mdhare007 @ Dec 28 2006, 15:17) *

Any ideas on how to troubleshoot further?


You could try @node<blah {28G}> to see if the {} stuff is what's causing the issue.
mdhare007
QUOTE(cwbowron @ Dec 28 2006, 14:23) *

QUOTE(mdhare007 @ Dec 28 2006, 15:17) *

Any ideas on how to troubleshoot further?


You could try @node<blah {28G}> to see if the {} stuff is what's causing the issue.


Yup, that was it! I thought I had tried this before bothering you, but I guess not. That's a bummer, since foo_playlist_tree is the only way I know how to get the size of a playlist, but these two features seem to be incompatible. The reason the size of the playlist was important is because I am now using foo_dop to sync to my Ipod and I have more music than what the Ipod can handle in my library.
cwbowron
QUOTE(mdhare007 @ Dec 28 2006, 15:28) *

Yup, that was it! I thought I had tried this before bothering you, but I guess not. That's a bummer, since foo_playlist_tree is the only way I know how to get the size of a playlist, but these two features seem to be incompatible. The reason the size of the playlist was important is because I am now using foo_dop to sync to my Ipod and I have more music than what the Ipod can handle in my library.


I checked the code, and I am using the display name so that makes sense.

I added it to the known bugs, and I will probably take a look at fixing that when i get a chance.

In the mean time, you can could the display to just using the name and right click a node and select "Properties" to find out the filesize, or you could do like i do and use a track info panel that displays information about the currently selected playlist tree node. This is what I use:

CODE

$align(left,middle)
Node: $treenode(displayname)$char(10)
Size: $cwb_splitnum($treenode(size))$char(10)
Count: $treenode(itemcount%)$char(10)
Duration: $cwb_wdhms($treenode(duration))$char(10)
q-stankovic
QUOTE(fabiospark @ Dec 17 2006, 18:20) *


Yes, I knew that but, due to the extra long time it took, and to the "s" at the end of the word "queries", for a moment I thought it was refreshing always everything.

Anyway, I tried that refresh on a couple of queries and this is what came out:

1)
Format= %artist%|%title% - %album%
Sort= by name after populating
refresh time = 2 secs

2)
Format= %artist%|%title%|%album%
Sort= by name after populating
refresh time = 65 secs

3)
Format= %artist%|%date%|%title%|%album%
Sort= by name after populating
refresh time = 118 secs

but...

following a hint I found in the wiki, I put "%overallindex%: %_name%" in the Folder name box of the preferences and that was the problem.
Removing that %overallindex%, reduced the time of 2) and 3) to a couple of secs.

As I'd like to be able to refresh a query and send it to a playlist with a remote control, is there a way to link a query to a keyboard shortcut without using that slowing function?
(Maybe assigning a fixed index number manually)

Thanks


Using %_folderindex%,%_itemcount% and %_nestlevel% even at the same time in the format of the name doesn't slow the refresh so extremly. Due to that perhaps that painful slow refreshing at %_overallindex% could be considered as a bug - means: a chance to change that?
leokennis
Man...I'm trying to create a query that will display all the songs of the album of the currenly playing track...and to let it auto-refresh when a new song starts. I really have no ideo how to do it... I have this:

IPB Image

Now when I manually refresh, it works...but it dosn't at all update automatically when a new songs starts playing. Why is this? I have checked the box and I have mad a $playing() query...
cwbowron
QUOTE(leokennis @ Jan 17 2007, 13:46) *

Man...I'm trying to create a query that will display all the songs of the album of the currenly playing track...and to let it auto-refresh when a new song starts. I really have no ideo how to do it... I have this:

Now when I manually refresh, it works...but it dosn't at all update automatically when a new songs starts playing. Why is this? I have checked the box and I have mad a $playing() query...


I'm not sure why that wouldnt work... It looks very similar to mine... You could try changing the label to "Now Playing: @format<$playing('%album%')>"... that might work...
leokennis
QUOTE(cwbowron @ Jan 17 2007, 19:53) *

QUOTE(leokennis @ Jan 17 2007, 13:46) *

Man...I'm trying to create a query that will display all the songs of the album of the currenly playing track...and to let it auto-refresh when a new song starts. I really have no ideo how to do it... I have this:

Now when I manually refresh, it works...but it dosn't at all update automatically when a new songs starts playing. Why is this? I have checked the box and I have mad a $playing() query...


I'm not sure why that wouldnt work... It looks very similar to mine... You could try changing the label to "Now Playing: @format<$playing('%album%')>"... that might work...

Nope...doesn't work sad.gif
q-stankovic
That is very strange: Both queries must work!???

An idea: Remove population sort that so or so not makes sense and check sort display by name
leokennis
QUOTE(q-stankovic @ Jan 17 2007, 20:39) *

That is very strange: Both queries must work!???

An idea: Remove population sort that so or so not makes sense and check sort display by name

Yes, both queries work...the problem is that they don't auto-refresh when a new song starts playing...
odyssey
I have my playlist tree setup as a simple list of misc. queues, which will be added to a new playlist with the same name. However it will always create a new playlist. Would it be possible to make it check if a playlist by the same name already exists and clear (/delete it) it before sends the results?

Also could you make "Play in Library Playlist" activate the playlist and add option to play in the actions, f.ex. "New playlist and play"? biggrin.gif

Thanx for a great panel smile.gif
cwbowron
QUOTE(odyssey @ Jan 18 2007, 08:45) *

I have my playlist tree setup as a simple list of misc. queues, which will be added to a new playlist with the same name. However it will always create a new playlist. Would it be possible to make it check if a playlist by the same name already exists and clear (/delete it) it before sends the results?

Also could you make "Play in Library Playlist" activate the playlist and add option to play in the actions, f.ex. "New playlist and play"? biggrin.gif

Thanx for a great panel smile.gif


You can use the "Rename last library playlist when sending" option so that only one library playlist is ever created and then subsequent sends will rename and repopulate that playlist.

You can get a New Playlist and Play functionality with foosion's foo_utils.
odyssey
QUOTE(cwbowron @ Jan 18 2007, 15:09) *
You can use the "Rename last library playlist when sending" option so that only one library playlist is ever created and then subsequent sends will rename and repopulate that playlist.

You can get a New Playlist and Play functionality with foosion's foo_utils.

Thanks biggrin.gif
Melomane
it is possible to have in the same tree:

various artists album ( woodstock 99 -
- alanis morrisette - so pure
- elvis costello - alison)
and
artist list (alanis morrisette-
woodstock 99 -
- so pure
mtv unplugged
- you learn)

thanks
q-stankovic
As foosion gave me a hint i was able to create this query for criteria (inspired by one of fabiosparks fancy queries):

mood IS @format<$playing('$meta_sep(mood, AND mood IS )')> AND "$meta_num(mood)" IS @format<$playing('$meta_num(mood)')>

The query works as long as i play atrack that contains the mood tag.
But if you play a track without any value for mood you expect to have an empty query. Instead of that PLT shows me all tracks of my database even that with mood tags.

The problem is so weird that even if you append "AND NOT mood MISSING" all tracks are shown.
cwbowron
QUOTE(q-stankovic @ Jan 20 2007, 10:08) *

As foosion gave me a hint i was able to create this query for criteria (inspired by one of fabiosparks fancy queries):

mood IS @format<$playing('$meta_sep(mood, AND mood IS )')> AND "$meta_num(mood)" IS @format<$playing('$meta_num(mood)')>

The query works as long as i play atrack that contains the mood tag.
But if you play a track without any value for mood you expect to have an empty query. Instead of that PLT shows me all tracks of my database even that with mood tags.

The problem is so weird that even if you append "AND NOT mood MISSING" all tracks are shown.


Did you try putting NOT mood MISSING AND... as the beginning of the query?
q-stankovic
QUOTE(cwbowron @ Jan 20 2007, 16:25) *

Did you try putting NOT mood MISSING AND... as the beginning of the query?


I think i tried both: at beginning and at end. But i will have a look.
However, if a track without any mood tag is played the query shouldn't give back at least that tracks which have one.

Also i think it should be just an empty query as long as this is the behaviour if you have another tag: f.e. if you have "artist IS @format<$playing('%artist%')>" in criteria and you play a track without artist tag the query is empty.
fabiospark
I have only one PLT panel.
In the preferences page I put "Desk.pts" in the file text box but when I exit foobar PLT keeps updating the "playlist-tree-0.pts" instead.
This happens even after I load the "Desk.pts" in the panel and then exit FB.
Is it a bug or not?
If not, what does the "File" textbox is for?

Thanks.
alphaex32
Just had an idea...could you add a feature to create a dynamic playlist based on a tree node. So basically, it would be like an autoplaylist source but with all of the features of playlist tree.
stampgevaar
Is it possible to sort folders by say tracknumber but not displaying tracknumber. I need this for the folders not the leafs.

for example:

01 album\filename x
02 album\filename xx
03 album\filename xxx

then I use as a code
%tracknumber% %album%|%filename%

but isn't it possible to let it sort on tracknumber but no displaying the tracknumber.

like this:

album\filename x
album\filename xx
album\filename xxx

So it sort on tracknumber and not on albumname.
To much work by the way to do it manually and it looks better without the numbers.

cwbowron
QUOTE(alphaex32 @ Jan 21 2007, 15:46) *

Just had an idea...could you add a feature to create a dynamic playlist based on a tree node. So basically, it would be like an autoplaylist source but with all of the features of playlist tree.


You can already do that using @node.


QUOTE(fabiospark @ Jan 21 2007, 15:31) *

I have only one PLT panel.
In the preferences page I put "Desk.pts" in the file text box but when I exit foobar PLT keeps updating the "playlist-tree-0.pts" instead.
This happens even after I load the "Desk.pts" in the panel and then exit FB.
Is it a bug or not?
If not, what does the "File" textbox is for?

Thanks.


playlist tree manages the files itself now. I don't know which text box you are referring to. None of them are for specifying a playlist to save and load from.
q-stankovic
QUOTE(q-stankovic @ Jan 20 2007, 19:48) *

QUOTE(cwbowron @ Jan 20 2007, 16:25) *

Did you try putting NOT mood MISSING AND... as the beginning of the query?


I think i tried both: at beginning and at end. But i will have a look.
However, if a track without any mood tag is played the query shouldn't give back at least that tracks which have one.

Also i think it should be just an empty query as long as this is the behaviour if you have another tag: f.e. if you have "artist IS @format<$playing('%artist%')>" in criteria and you play a track without artist tag the query is empty.


It doesn't matter if you add "NOT mood MISSING AND" at the beginning or append "AND NOT mood MISSING" at the end. You don't have added this to the bug list in the wiki so far - so let me ask for any news about this. rolleyes.gif
cwbowron
QUOTE(q-stankovic @ Jan 22 2007, 09:49) *
It doesn't matter if you add "NOT mood MISSING AND" at the beginning or append "AND NOT mood MISSING" at the end. You don't have added this to the bug list in the wiki so far - so let me ask for any news about this. rolleyes.gif


I think the issue is that meta_sep(x,y) doesn't return anything when the tag doesn't exist at all.

I think you're best bet is to rework the query into some sort of @format<$if($meta(x),bla bla bla,x MISSING)> type query.
q-stankovic
Sorry! I don't understand really. Also i don't know how to rework. crying.gif
antares
Hi,

is it possible to display a query in different modes (album-mode or single-mode) according to the query? The different modes work with playlist-switcher (see this Tutorial), but I didn`t find a way to do the same with Playlist-tree. How should the query be, in order to display in single-mode -s-?
Garfield4
Hi

Thanks for a great component.

I'm using the 'Resume Playback on Restart' function on preferences - which works fine using the Album List component, so I know it works.

But with Playlist tree - on restart it resumes to play a track in the main *Browser* playlist from the beginning. For example if i'm playing the 4th song in my ratings config - on reload it will play the 4th song in the *Browser*...

Have you come across this and know how I can fix this??

Thanks in advance
cwbowron
QUOTE(Garfield4 @ Jan 23 2007, 12:21) *

I'm using the 'Resume Playback on Restart' function on preferences - which works fine using the Album List component, so I know it works.

But with Playlist tree - on restart it resumes to play a track in the main *Browser* playlist from the beginning. For example if i'm playing the 4th song in my ratings config - on reload it will play the 4th song in the *Browser*...

Have you come across this and know how I can fix this??


Sounds more like a foo_browser problem that playlist tree.... someone here might know a workaround or you could ask in the foo_browser thread. I no longer use foo_browser so I don't know how to fix that.
Garfield4
QUOTE
Sounds more like a foo_browser problem that playlist tree.... someone here might know a workaround or you could ask in the foo_browser thread. I no longer use foo_browser so I don't know how to fix that.


Thanks for the advice- didnt even think to look there - found the answer on the foo_browser thread - was to do with populating on startup. wink.gif


alphaex32
QUOTE(cwbowron @ Jan 22 2007, 09:24) *

QUOTE(alphaex32 @ Jan 21 2007, 15:46) *

Just had an idea...could you add a feature to create a dynamic playlist based on a tree node. So basically, it would be like an autoplaylist source but with all of the features of playlist tree.
You can already do that using @node.
How would that automatically create a playlist? I understand that it would create a node in the tree, but you would still need to activate the node to load an actual playlist...unless I'm missing something.
gfngfgf
QUOTE(Melomane @ Jan 23 2007, 14:53) *

gfngfgf
in the last version of playlist tree
cwbowron as Added notification callback, so other plugins can be notified of tree selections.

do you think it is possible to use this in album art panel ?
thanks

I received this request for foo_uie_albumart, and I'm willing to oblige, but I can't find any information about this notification callback in playlist tree. I assume that I'll need to add something to album art panel's code to handle the notification, but again, I need to know what to handle. Thanks.
cwbowron
QUOTE(gfngfgf @ Jan 23 2007, 20:41) *

I received this request for foo_uie_albumart, and I'm willing to oblige, but I can't find any information about this notification callback in playlist tree. I assume that I'll need to add something to album art panel's code to handle the notification, but again, I need to know what to handle. Thanks.


Cool.

I haven't tested this exhaustively, but I believe it should work. If you do find any problems I will fix them quickly.

You'll have to implement a node_select_callback, shown below, and handle the on_node_select function. The pointer will be to a callback_node class item, defined below. get_entries will get all the entries in the node as a list, and they will be in the order they are in the tree but flattened into a list.

If you have any suggestions on how to make this more useful, please let me know.

Thanks.

CODE

class callback_node
{
public:
virtual bool get_entries( pfc::list_base_t<metadb_handle_ptr> & list ) const = 0;
virtual bool is_leaf() const = 0;
virtual bool is_folder() const = 0;
virtual bool is_query() const = 0;
virtual int get_entry_count() const = 0;
virtual void get_name( pfc::string_base & out ) const = 0;
};

class NOVTABLE node_select_callback : public service_base
{
public:
virtual void on_node_select( const callback_node * node ) = 0;

FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(node_select_callback);
};

const GUID node_select_callback::class_guid =
{ 0x9c2ae3c3, 0xdc04, 0x4042, { 0xad, 0xf3, 0x88, 0x84, 0x11, 0x7b, 0x49, 0x55 } };

Melomane
i have this query:

source: database
query: nothing
format:

%<album artist,artist>%|%album%|$if($strcmp(@format<$parent('%_displayname%',2)>,'Various Artists'),%track artist%) %title%

problem is not display %track artist% when name of parent folder(2) is Various Artists

how use $parent and %_displayname% ?

thanks

edit: ok work only in label or i am wrong?
45miles
Hi all,

i think this shows what i'm trying to do:

CODE
[b]Label:[/b]
PlayedThisMonth- @format<%_itemcount%> - @format<%_play_length%>

[b]Source:[/b]
@playlist<Temp>

[b]Criteria:[/b]
$substr(%last_played%,1,7)  IS $substr(%cwb_systemdate%,1,7)

[b]Format:[/b]
%title% - $substr(%last_played%,1,7) - $substr(%cwb_systemdate%,1,7)


Well, it just doesn't work. According to the "Format"-Line it shows me that both Strings are equal. But the Criteria won't work. I also tried "EQUAL" and "EQUALS" instead if "IS".

The Critera shown above gives me back all items in <Temp>, with "EQUALS" it gives me back 0 items.

Would be nice to have this. Can anyone help me?


rainer
q-stankovic
Try this in Criteria:

"$substr(%last_played%,1,7)" IS @format<$substr(%cwb_systemdate%,1,7)>
45miles
QUOTE(q-stankovic @ Jan 30 2007, 17:45) *

Try this in Criteria:

"$substr(%last_played%,1,7)" IS @format<$substr(%cwb_systemdate%,1,7)>


jepp, works fine, this must be the one combination i never tried, and i tried much of them.

Can you explain in short when i have to use '"', when "@format<>" and when none of them?



Thanks a lot

rainer
MiSP
I want to create a Genre query which lists the genres, and then the styles as sub-folders (if it exists) and artists and so on as subfolders there again. I've managed to do that without any problem. However, for songs that have multiple genres (e.g. Jazz; Ambient), the folder will show up as Jazz, Ambient. What I want to do is to list that song under both Jazz and Ambient. How do I do this?

Also, I want the sub-folders (styles) to list before the artists. As it looks now, it could be

- Jazz
--> Fourplay
--> Smooth Jazz

where fourplay is an artist and smooth jazz is a style (sub-folder) which contains more artists.
fabiospark
QUOTE(MiSP @ Jan 30 2007, 21:53) *

I want to create a Genre query which lists the genres, and then the styles as sub-folders (if it exists) and artists and so on as subfolders there again. I've managed to do that without any problem. However, for songs that have multiple genres (e.g. Jazz; Ambient), the folder will show up as Jazz, Ambient. What I want to do is to list that song under both Jazz and Ambient. How do I do this?

Also, I want the sub-folders (styles) to list before the artists. As it looks now, it could be

- Jazz
--> Fourplay
--> Smooth Jazz

where fourplay is an artist and smooth jazz is a style (sub-folder) which contains more artists.

Use %<genre>% instead of %genre%.

That should make the tracks appear both under "jazz" and "ambient".
q-stankovic
QUOTE(45miles @ Jan 30 2007, 17:05) *

QUOTE(q-stankovic @ Jan 30 2007, 17:45) *

Try this in Criteria:

"$substr(%last_played%,1,7)" IS @format<$substr(%cwb_systemdate%,1,7)>


jepp, works fine, this must be the one combination i never tried, and i tried much of them.

Can you explain in short when i have to use '"', when "@format<>" and when none of them?



Thanks a lot

rainer


You have to use "" if you are using Tagz before an operator like IS or HAS (that is part of the Query language and you can use that in each component that uses the language)

You have to use @format if you are using Tagz after an operator (that is playlist tree specific)
MiSP
QUOTE(fabiospark @ Jan 31 2007, 07:57) *

Use %<genre>% instead of %genre%.

This causes foobar to freeze. sad.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.