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
fabiospark
I have this query:

CODE
%genre%|#subgenre#|%artist%|%album%|$num(%tracknumber%,2).  %title%


and this is a bit of the resulting tree:

CODE
+ Genre - style
               + Blues
                     + Chicago blues
                     + Vocal - man
                     + Vocal - woman


Trouble is that double clicking 'blues' I get twice those tracks that have both 'Chicago' and 'Vocal - man' as subgenres (of course a multiple value field).

The same happens in the browser.

Is there a way to avoid this?

Thanks
armin
I'd like to make a dynamic playlist that has my top 10 rated albums or artists, where an album's (or artist's) rating is the computed average of track ratings. Is this possible?

SELECT AVG(trackrating) AS albumrating ... GROUP BY album ORDER BY albumrating LIMIT 10


And a somewhat related issue... In the folder display setting, i'm using $avg(%trackrating%), but it only displays 1 digit and always rounds down. Is there any way to fix this so it displays the average as 3.82 instead of 3?

cheers.
jkwarras
QUOTE(armin @ Apr 21 2005, 12:22 PM)
I'd like to make a dynamic playlist that has my top 10 rated albums or artists, where an album's (or artist's) rating is the computed average of track ratings. Is this possible?
*


I'll like to have such a query, I didn't have too much time lately to take a look at it but it seems posible. But if someone has already done it it'll be great to avoid the headache wink.gif
4nt1
ok dont get me wrong i love this component but for someone such as myself with over 85gb of music foobar takes upto 76mb-100mb when running with this component

when i remove it takes up only 24mb
is there anyway to improve this? foobar runs very slowly with your plugin
The Link
Enabling "No Scroll" in the Browser makes it non functional here, i.e. you cannot scroll at all neither with the mouse nor with the arrow keys (marker goes into nirwana). Is this intentional?
cwbowron
QUOTE(4nt1 @ Apr 25 2005, 06:21 AM)
ok dont get me wrong i love this component but for someone such as myself with over 85gb of music foobar takes upto 76mb-100mb when running with this component

when i remove it takes up only 24mb
is there anyway to improve this? foobar runs very slowly with your plugin
*



You could trim down the size of your tree...

I have over 120 gigs of music and fb2k uses 55 megs when pt is active...
cwbowron
QUOTE(The Link @ Apr 25 2005, 06:34 AM)
Enabling "No Scroll" in the Browser makes it non functional here, i.e. you cannot scroll at all neither with the mouse nor with the arrow keys (marker goes into nirwana). Is this intentional?
*



Yes and No... I thought that by disabling the scroll bars using the ListView common control would still allow you to scroll using the mouse wheel and such, but it doesnt, and I never looked to make that work... so it uses the default ListView functionality...
4nt1
ok yes ur right about tree size but what is the point in having this component if u have to limit it so much

55mb is way too much for an mp3 player

foobar used to run a small footprint but now is huge cause of the components?

is there someway to make this lighter?
picmixer
QUOTE(4nt1 @ Apr 26 2005, 06:05 AM)
foobar used to run a small footprint but now is huge cause of the components?

is there someway to make this lighter?
*



Yes simply don't use certain components.
upNorth
QUOTE(4nt1 @ Apr 26 2005, 05:05 AM)
ok yes ur right about tree size but what is the point in having this component if u have to limit it so much

55mb is way too much for an mp3 player

foobar used to run a small footprint but now is huge cause of the components?

is there someway to make this lighter?
*
huh.gif Sorry, but I just have to say that I find statements like "55mb is way too much for an mp3 player" ridiculous. If you haven't noticed, this player (and most others) does more than just playing music...
But of course, the exe should be no more than 64kB, it should use less than 1MB of RAM, have all the features you can imagine, and still be lightning fast.

Time is running, you're getting older, the world is moving on, so it's about time you update your expectation regarding RAM figures. This is 2005, not 1992 or whenever you decided that "X MB of RAM ought to be enough for every player".
ssamadhi97
Functionality x can be designed so it only takes up y MB of memory, no matter whether that's done in 1992 or 2005.

Or see it the other way 'round, if functionality x needs at least y MB of memory, you'll have no choice to take it as is or leave it.


And generally, the availability of more RAM is no excuse for consuming excessively much memory because of poor program design.
upNorth
QUOTE(ssamadhi97 @ Apr 26 2005, 07:07 PM)
Functionality x can be designed so it only takes up y MB of memory, no matter whether that's done in 1992 or 2005.
*
Of course, but at some point you will have to make a memory vs speed tradoff. My point is that in 2005, the average user has more RAM than in 1992, so why not utilize it to decrease disk access and improve speed? In 1992, that might not have been an option.

QUOTE(ssamadhi97 @ Apr 26 2005, 07:07 PM)
And generally, the availability of more RAM is no excuse for consuming excessively much memory because of poor program design.
*
Of course not, but nobody mentioned poor programming, just that a player shouldn't use this much in general, even when you add an unspecified amount of third party components, with an unspecified amount of presets. IMHO, one shouldn't generalize like that.

Btw: I don't even use this plugin, and maybe it needs a feature like "memory cache" as seen in Opera, to enable the user to limit it's memory usage, but consuming large amounts of memory doesn't necessarily mean that it's poorly programmed. It could mean that the developer simply prefers speed (a more responsive component) over low memory usage.

edit: minor clarification
hotzenpl0tz
found another target eh ?

Coming back to the topic, I noticed an increase in RAM usage right after populating some dynamic queries. After repopulating my entire collection and all queries (about 70GB of files) I get pretty high RAM spikes up to 60-80MB. If I turn on the option to save query results and only populate my dynamic queries like "Favorite Songs" and limit the results to reasonably playlist sizes (50-100 songs maybe) the memory usage seems to always stay pretty reasonable (maybe 10-20mb of ram more than I would get without the plugin) and alot of is freed again when minimising foobar to the tray (snaps back to 7mb usage right after minimising).
4nt1
ok i am not trying to say program x should only take up y amount of ram, but using this component in particular, making use of its features which i am, seems to take up a lot of ram for whats its achieving.

perhaps i need to limit my options a lot more, but i am very greedy when it comes to my music, i like / want everything. to me 80mb for what i wanted seemed steem, foobar was starting up very slowly and i need to optimise it. this is of course at my discression, if i want a fast foobar, remove all components, i gotcha. i just need to find a happy medium.

i wasnt meaning to imply anything re programming skills, and its not like my pc is a slouch, i just thought it was a little steep is all.

i do love this component and fully support it as a user, i also recommend it to mates.

i guess why i come into problems is cause i am constantly adding music to my library on a daily basis.

perhaps i should look at my usage habbits?
ddawg
QUOTE(4nt1 @ Apr 27 2005, 02:37 AM)
i guess why i come into problems is cause i am constantly adding music to my library on a daily basis.

perhaps i should look at my usage habbits?
*



Well, if you keep constantly adding music to your library when you already have 85GB worth of music, you'll never be able to listen to them all even once. There's just too much music in the world, you'll have to prioritize smile.gif

You'll have to think whether you're just collecting audio for the sake of collecting? In other words, are you a pack rat?
fabiospark
QUOTE(ddawg @ Apr 29 2005, 01:38 PM)
QUOTE(4nt1 @ Apr 27 2005, 02:37 AM)
i guess why i come into problems is cause i am constantly adding music to my library on a daily basis.

perhaps i should look at my usage habbits?
*



Well, if you keep constantly adding music to your library when you already have 85GB worth of music, you'll never be able to listen to them all even once. There's just too much music in the world, you'll have to prioritize smile.gif

You'll have to think whether you're just collecting audio for the sake of collecting? In other words, are you a pack rat?
*




Sorry to step in...

I have about 200GB of classical, jazz and popular music (WavPack lossless) and I know the feeling about having vs listening quite well.

Apps like FB2k are just the right tool to let you stay on the listening side. In fact, the first (and not always easy) thing is to choose what you want to listen to, and with FB and its plugins - I'm a fan of Playlist Tree - you can easily see what you have in your collection, and with just a bunch of clicks you can populate the most personal playlist.

Some days ago, I friend of mine started asking me about the diffent jazz styles. With PT (and many hours of tagging behind) I could easily see and choose pieces of music related to the style we were talking about and so, easily point out the peculiar traits of each style.

Of course, on my Athlon 1000 with 512MB RAM, FB2k takes about 40 seconds to start as I have a tree with about 25 dynamic nodes but as I start it once a day I'm not concerned about it.

And yes, it's a dedicated PC jukebox.
NEMO7538
This component still crashes from time to time ....

Crash location: "foo_playlist_tree", loaded at 012F0000h - 01336000h

CODE

Illegal operation:
Code: C0000005h, flags: 00000000h, address: 012FFF5Ah
Access violation, operation: write, address: 0C435930h
Call path:

This is the first crash logged by this instance.
Code bytes (012FFF5Ah):
012FFF1Ah: 30 75 32 01 8B 86 D8 00 00 00 85 C0 74 06 09 0D
012FFF2Ah: 30 75 32 01 8B 44 24 10 C7 05 34 75 32 01 30 00
012FFF3Ah: 00 00 85 C0 74 0A 50 FF 15 D8 E0 31 01 83 C4 04
012FFF4Ah: 8B 5C 24 28 68 20 75 32 01 53 FF 15 5C E2 31 01
012FFF5Ah: 89 86 E8 00 00 00 8B 86 C4 00 00 00 83 C4 08 85
012FFF6Ah: C0 75 33 8B 86 FC 00 00 00 33 FF A9 FC FF FF FF
012FFF7Ah: 76 24 8B 86 E8 00 00 00 8B 8E F4 00 00 00 50 53
012FFF8Ah: 8B 0C B9 E8 6E FE FF FF 8B 96 FC 00 00 00 47 C1
Stack (0F8FFEE0h):
0F8FFEC0h: 00000008 00000002 007E0178 007E0178
0F8FFED0h: 007E0178 007E0178 007E0198 007E01D0
0F8FFEE0h: 000B0200 01327520 0000BF44 097E38D0
0F8FFEF0h: 000B0200 0131E30C 0DFA8870 00000040
0F8FFF00h: 00000040 00000000 0000002F 012FFF92
0F8FFF10h: 000B0200 01EE6060 00000002 094CF578
0F8FFF20h: 000B0200 0131E30C 0E05BB38 00000022
0F8FFF30h: 00000022 00000000 00000011 012FFF92
0F8FFF40h: 000B0200 024D5BD8 00000000 01326740
0F8FFF50h: 00000000 0131E30C 0A559FB8 0000001C
0F8FFF60h: 0000001C 00000000 0000000B 0130D8B8
0F8FFF70h: 000B0200 00000000 00000000 00000000
0F8FFF80h: 0F8FFFEC 0DF5A7D0 00000000 00000297
0F8FFF90h: 8043120F FF9056E0 FF8F3020 FFFFFFFF
0F8FFFA0h: 8043138F 00000000 00000000 00000000
0F8FFFB0h: 80431693 78464BD7 77E7987C 0DF5A7D0
0F8FFFC0h: 00000000 00000000 0DF5A7D0 7FFDC000
0F8FFFD0h: C0000005 0F8FFFC0 0F8FFB2C FFFFFFFF
0F8FFFE0h: 77E8F0B4 77E7D360 00000000 00000000
0F8FFFF0h: 00000000 0130D840 0DF5A7D0 00000000
Registers:
EAX: 00000000, EBX: 000B0200, ECX: 00010101, EDX: FFFFFFFF
ESI: 0C435848, EDI: 01327554, EBP: 0DF5A7D0, ESP: 0F8FFEE0
Crash location: "foo_playlist_tree", loaded at 012F0000h - 01336000h

Loaded modules:
foobar2000 loaded at 00400000h - 00452000h
ntdll loaded at 78460000h - 784E1000h
KERNEL32 loaded at 77E70000h - 77F34000h
USER32 loaded at 77E00000h - 77E65000h
GDI32 loaded at 77F40000h - 77F7C000h
ole32 loaded at 77A40000h - 77B37000h
RPCRT4 loaded at 770C0000h - 77131000h
ADVAPI32 loaded at 78ED0000h - 78F32000h
COMCTL32 loaded at 77B40000h - 77BC9000h
utf8api loaded at 10000000h - 1000D000h
comdlg32 loaded at 76B00000h - 76B3E000h
SHLWAPI loaded at 77C60000h - 77CAA000h
SHELL32 loaded at 77580000h - 777CF000h
MSVCRT loaded at 78000000h - 78045000h
foo_ac3 loaded at 00800000h - 00813000h
foo_albumlist loaded at 00820000h - 0082B000h
foo_burninate loaded at 00830000h - 0083C000h
VERSION loaded at 77810000h - 77817000h
LZ32 loaded at 75950000h - 75956000h
foo_cdda loaded at 00840000h - 0084E000h
foo_clienc loaded at 00850000h - 0085B000h
foo_console loaded at 00860000h - 00867000h
foo_dbsearch loaded at 00870000h - 00888000h
foo_diskwriter loaded at 00890000h - 008A2000h
WINMM loaded at 77540000h - 77571000h
foo_dsp_extra loaded at 00930000h - 00945000h
foo_dsp_nogaps loaded at 00950000h - 00957000h
foo_dynamics loaded at 00960000h - 00967000h
foo_faac loaded at 00970000h - 009A3000h
foo_flac loaded at 009B0000h - 009CC000h
foo_flaccer loaded at 009D0000h - 009E6000h
foo_freedb loaded at 009F0000h - 00A1E000h
WS2_32 loaded at 74FB0000h - 74FC4000h
WS2HELP loaded at 74FA0000h - 74FA8000h
foo_id3v2 loaded at 00A20000h - 00A50000h
MSVCP60 loaded at 780C0000h - 78121000h
foo_infobox loaded at 00A50000h - 00A63000h
foo_masstag loaded at 00A70000h - 00A84000h
foo_null loaded at 00A90000h - 00A97000h
foo_output_std loaded at 00AA0000h - 00AA9000h
foo_out_ks loaded at 00AB0000h - 00ABB000h
SETUPAPI loaded at 783C0000h - 78451000h
USERENV loaded at 78D20000h - 78D83000h
foo_playlistgen_ex loaded at 00AC0000h - 00ACF000h
foo_rgscan loaded at 00AD0000h - 00ADD000h
foo_scroll loaded at 00AE0000h - 00AE6000h
foo_ui_std loaded at 00AF0000h - 00B07000h
foo_utils loaded at 00B10000h - 00B21000h
foo_vis_manager loaded at 00B30000h - 00B38000h
foo_vorbisenc loaded at 00B40000h - 00C51000h
foo_wma loaded at 00C60000h - 00C7A000h
WMVCore loaded at 08530000h - 0872D000h
WMASF loaded at 07260000h - 07299000h
OLEAUT32 loaded at 779A0000h - 77A3B000h
foo_G-Force loaded at 01090000h - 0109B000h
foo_out_dsound_ex loaded at 010A0000h - 010A9000h
DSOUND loaded at 51080000h - 510DD000h
foo_web loaded at 010C0000h - 010D8000h
foo_playlistfind loaded at 011E0000h - 011EB000h
foo_scheduler loaded at 011F0000h - 01205000h
foo_uie_albumart loaded at 01210000h - 0121C000h
gdiplus loaded at 70D00000h - 70E91000h
MSVCR71 loaded at 7C340000h - 7C396000h
foo_uie_albumlist loaded at 01240000h - 01252000h
foo_uie_dbexplorer loaded at 01260000h - 0126B000h
foo_uie_simple_spectrum loaded at 01270000h - 0127B000h
foo_uie_tabs loaded at 01280000h - 0128A000h
foo_uie_trackinfo loaded at 01290000h - 0129B000h
foo_uie_volume loaded at 012A0000h - 012AA000h
foo_ui_columns loaded at 012B0000h - 012E7000h
foo_playlist_tree loaded at 012F0000h - 01336000h
foo_history loaded at 01340000h - 01355000h
foo_openwith loaded at 01360000h - 01369000h
foo_osd loaded at 01370000h - 0137B000h
foo_pod loaded at 01380000h - 0141D000h
foo_podclienc loaded at 01420000h - 01439000h
foo_podtranscoder loaded at 01440000h - 01450000h
foo_publishtags loaded at 01450000h - 0145B000h
foo_read_http loaded at 01460000h - 01475000h
foo_shuffle loaded at 01480000h - 0148A000h
foo_temple loaded at 01490000h - 0149B000h
foo_input_std loaded at 014A0000h - 0155E000h
MSACM32 loaded at 773E0000h - 773F3000h
foo_write_http loaded at 01570000h - 0158A000h
foo_dsp_delta loaded at 01590000h - 01597000h
INDICDLL loaded at 6E350000h - 6E356000h
IMM32 loaded at 75E00000h - 75E1A000h
wdmaud loaded at 77530000h - 77538000h
dciman32 loaded at 72810000h - 72816000h
Powrprof loaded at 76690000h - 76697000h
CLBCATQ loaded at 72C60000h - 72CE6000h
SSSensor loaded at 06270000h - 06285000h
imagehlp loaded at 77910000h - 77933000h
DBGHELP loaded at 72970000h - 7299D000h

Stack dump analysis:
Address: 01327520h, location: "foo_playlist_tree", loaded at 012F0000h - 01336000h
Address: 0131E30Ch, location: "foo_playlist_tree", loaded at 012F0000h - 01336000h
Address: 012FFF92h, location: "foo_playlist_tree", loaded at 012F0000h - 01336000h
Address: 0131E30Ch, location: "foo_playlist_tree", loaded at 012F0000h - 01336000h
Address: 012FFF92h, location: "foo_playlist_tree", loaded at 012F0000h - 01336000h
Address: 01326740h, location: "foo_playlist_tree", loaded at 012F0000h - 01336000h
Address: 0131E30Ch, location: "foo_playlist_tree", loaded at 012F0000h - 01336000h
Address: 0130D8B8h, location: "foo_playlist_tree", loaded at 012F0000h - 01336000h
Address: 78464BD7h, location: "ntdll", loaded at 78460000h - 784E1000h
Address: 77E7987Ch, location: "KERNEL32", loaded at 77E70000h - 77F34000h
Address: 77E8F0B4h, location: "KERNEL32", loaded at 77E70000h - 77F34000h
Address: 77E7D360h, location: "KERNEL32", loaded at 77E70000h - 77F34000h
Address: 0130D840h, location: "foo_playlist_tree", loaded at 012F0000h - 01336000h

Version info:
foobar2000 v0.8.3
UNICODE
cwbowron
QUOTE(NEMO7538 @ Apr 29 2005, 01:08 PM)
This component still crashes from time to time ....
*



What version are you using?
NEMO7538
QUOTE(cwbowron @ Apr 29 2005, 10:15 AM)
QUOTE(NEMO7538 @ Apr 29 2005, 01:08 PM)
This component still crashes from time to time ....
*



What version are you using?
*


It is dated 19/04/2005 10:07. It seems the crashed came from the .col file being desynchronized. I have restored a .col file from a backup and now it's ok.
fabiospark
In track finder.

Is there a way to select the files of a node instead of just one track at a time? (remember quick track)

Am I missing something?

Thanks.

Should the $pad(x,y) work in PT? Here it seems it doesn't.
The pad_right instead seems working.
hotzenpl0tz
I set up a dynamic query to show me all my files with Trackrating 4 or greater. Since I always want to listen to different music if possible i tried so use $rand() as a sort criteria. The problem is, the result is not random at all. Different tracks from the same artist are always grouped together. An example how it looks like:

Artist1 - Track1
Artist1 - Track 10
Artist1 - Track 2
Artist2 - Track 2
Artist2 - Track1

...

I can fix this when going to Playlist/Sort/Randomize. Is there a way to make this the default behaviour ?

Thanks alot, really enjoying the plugin.
cwbowron
QUOTE(fabiospark @ May 1 2005, 08:00 AM)
In track finder.

Is there a way to select the files of a node instead of just one track at a time? (remember quick track)

Am I missing something?
*



No, as of now its not possible to select all the files of a node. Its something I may add though.
NEMO7538
Great plugin ..... really. Have a look Here.
khoma
someone can help me with this problem?
Strictly4me
QUOTE(NEMO7538 @ May 2 2005, 07:25 PM)
Great plugin ..... really. Have a look Here.
*


Hi
Can you share your *.col-file, to check it out please?

((((( Strictly4me )))))
NEMO7538
QUOTE(Strictly4me @ May 4 2005, 01:52 PM)
QUOTE(NEMO7538 @ May 2 2005, 07:25 PM)
Great plugin ..... really. Have a look Here.
*


Hi
Can you share your *.col-file, to check it out please?

((((( Strictly4me )))))
*



Here it is ..... but it is complex.
  1. It will only work if directories are structured as "artist - date - album" or "album (VA) - date" with only one level between your library root and album folders
  2. I had to hack playlist tree not handling properly ' and ( in $playing data
You can find it Here.... and an updated screenshot There.


Good luck !
NEMO7538
QUOTE(cwbowron @ Apr 29 2005, 10:15 AM)
QUOTE(NEMO7538 @ Apr 29 2005, 01:08 PM)
This component still crashes from time to time ....
*



What version are you using?
*



Whatever the version is, PlayList Tree always crashes (at least on my system) if you close foobar when a tree refresh is taking place in the background.
Strictly4me
Thanks "NEMO7538"! wink.gif

((((( Strictly4me )))))
alphaex32
Just had another idea:

I want to be able to use tagz and names of higher-level nodes in the library playlist name. The reason I want to do this is so that I can have different column UI layouts depending on which node of the tree I am browsing. The way I would do this is to have it set up like this: have each node send its results to a playlist named with the top-level node it is under (for example Artist, Album, etc.). Then, using the columns UI playlist filtering, I could have it show certain columns only when the playlist has a certain name. Confused yet? smile.gif
cwbowron
QUOTE(alphaex32 @ May 5 2005, 02:31 PM)
I want to be able to use tagz and names of higher-level nodes in the library playlist name. The reason I want to do this is so that I can have different column UI layouts depending on which node of the tree I am browsing. The way I would do this is to have it set up like this: have each node send its results to a playlist named with the top-level node it is under (for example Artist, Album, etc.). Then, using the columns UI playlist filtering, I could have it show certain columns only when the playlist has a certain name. Confused yet? smile.gif
*



Basically what this boils down to is that you want the "Library Playlist" to be able to use tagz and PT extensions (%name%, etc), right?

That would not be too hard... now, the use of names of higher level nodes is trickier...
alphaex32
QUOTE(cwbowron @ May 5 2005, 03:00 PM)
QUOTE(alphaex32 @ May 5 2005, 02:31 PM)
I want to be able to use tagz and names of higher-level nodes in the library playlist name. The reason I want to do this is so that I can have different column UI layouts depending on which node of the tree I am browsing. The way I would do this is to have it set up like this: have each node send its results to a playlist named with the top-level node it is under (for example Artist, Album, etc.). Then, using the columns UI playlist filtering, I could have it show certain columns only when the playlist has a certain name. Confused yet? smile.gif
*



Basically what this boils down to is that you want the "Library Playlist" to be able to use tagz and PT extensions (%name%, etc), right?

That would not be too hard... now, the use of names of higher level nodes is trickier...
*



Yeah, basically. If you could get it to find higher nodes and use them in tagz, that would be great.
sPeziFisH
cwbowron, a great plugin smile.gif

I have problems with sorting, playlist_tree does not sort right with every new start of foobar - while auto-saving works fine, changes to the tree are remembered but sorting is wrong, sorting (or sort recursively) needs to be applied to the queries.
I sort with %_filename_ext% or %_path% and with each start it is at least neccessary to manually sort (choose the option at context-menu).
I forgot to take a small screenshot, if wanted I'll give it on monday.
fabiospark
I read a request to list just the album titles in the tree browser.

I wonder: if you can go that far, wouldn't it be smarter thinking of a panel browsing the album arts instead of album names?

Of course, it has tobe able to list them also in a not just vertical way, let's say choosing a matrix shape.

And why not doing it for each field and not just for album arts: one could patiently download composers pictures, styles icons, instrument pictures etc

With this and a good support for a remote control, your HTPC is done!


KUTGW.
kl33per
You can just list albums in the tree browser.

Browsing the album art would be very nice, but probably beyond the scope of this plugin. It would be like a whole seperate UI.

Remote support can be provided through Girder or HIP.
fabiospark
Is it (or will it be) possible to have a query that picks up a specified number of tracks from each subnode?

I mean:

I have about 30 styles under the genre Jazz. I'd like to automatically select 5 tracks from each style to create an "all styles jazz" playlist to listen to.
Of course any kind of sorting would be useful.
I know I can create 30 queries with the max 5 tracks setting each but it would be nicier having it done automatically.
_____________

It would be nice (at least for me) to have a random sorting controllable through tagz and tag values.
fabiospark
I'm trying to get 20 tracks of the same genre but randomly distributed in the artist field.
I have a tree structure like that:

CODE

+Jazz
  +Artist - Title
    .........

+Pop/Rock
   +Artist - Title
    ..........
       
+Randoms
   +Various styles - 20 tracks


I tried using: "$node(Artist - Title) AND genre IS pop/rock" in the Various styles query but I don't get any tracks.

If I don't add the "AND genre IS pop/rock" I alway get jazz tracks.

Is there a way to select a node whose name is doubled under two different parent nodes?

Do anybody have an answer for the previous post question?

Thanks.
Frank Bicking
I'm uncertain whether it's a bug report or a request for a solution.

My aim is to create a query to filter all tracks of the currently playing artist.

I tried using the following query:
CODE
NOT artist MISSING AND artist IS $playing(%artist%)

However, if the currently playing track doesn't have an artist tag, the query will obviously be
CODE
NOT artist MISSING AND artist IS ?

which causes it to select all tracks where the artist has a length of one character.

Is there any solution you could think of?

edit: I'm using version 1.6.3 [May 6 2005 - 11:08:24].
cwbowron
QUOTE(Frank_Bicking @ May 13 2005, 01:20 PM)
I'm uncertain whether it's a bug report or a request for a solution.

My aim is to create a query to filter all tracks of the currently playing artist.

I tried using the following query:
CODE
NOT artist MISSING AND artist IS $playing(%artist%)

However, if the currently playing track doesn't have an artist tag, the query will obviously be
CODE
NOT artist MISSING AND artist IS ?

which causes it to select all tracks where the artist has a length of one character.

Is there any solution you could think of?

edit: I'm using version 1.6.3 [May 6 2005 - 11:08:24].
*



I think you might be able to do this using the old school syntax (uncheck playlist_gen format) and the
CODE
$strcmp(%artist%,$playing(%artist%))


you might need to do something like $and(%artist%,...) to make sure the artist field exists...
Frank Bicking
Thanks. Your first code snippet works, while this one returns an empty result set:
CODE
$and(%artist%,$strcmp(%artist%,$playing(%artist%)))

However, this code works as expected:
CODE
$if($and(%artist%,$strcmp(%artist%,$playing(%artist%))),1)


You might want to have a look at the return vales of functions like $and or $or.

Awesome component, I really appreciate your work.
tksh
Hi,

I'm new to foo_playlist_tree and want to create a query that randomly selects 500M of songs from the DB. Just something so that whenever I refresh the node, it'll havea new list of songs to copy over to my mp3 player. Is it possible to do this?
Frank Bicking
Random selection of 500 MB:
  1. right click - New | Query
  2. Label: random 500 MB
  3. Query: 1
  4. [_] foo_playlist_gen format
  5. Format: %_filename%
  6. Max: 500 [x] megs
  7. Sort criteria: $rand()
tksh
QUOTE(Frank_Bicking @ May 16 2005, 09:17 AM)
Random selection of 500 MB:
  1. right click - New | Query
  2. Label: random 500 MB
  3. Query: 1
  4. [_] foo_playlist_gen format
  5. Format: %_filename%
  6. Max: 500 [x] megs
  7. Sort criteria: $rand()

*



Works great, thanks.

Edit:
I tried to filter out songs less than two minutes in length or without vocals. I typically tag those tracks with "(instrumental)", "(backing track)" or "(vocal less)" appended at the end of the song title.

Tried using this in the query field but it doesn't seem to work:

(_length_seconds GREATER 120) AND (NOT title HAS "(instrument") AND (NOT title HAS "(backing") AND (NOT title HAS "vocal less")

Any suggestions?
hunted
QUOTE(tksh @ May 16 2005, 08:01 AM)
Works great, thanks.

Edit:
I tried to filter out songs less than two minutes in length or without vocals.  I typically tag those tracks with "(instrumental)", "(backing track)" or "(vocal less)" appended at the end of the song title.

Tried using this in the query field but it doesn't seem to work:

(_length_seconds GREATER 120) AND (NOT title HAS "(instrument") AND (NOT title HAS "(backing") AND (NOT title HAS "vocal less")

Any suggestions?
*


I tried too, and it seems you have to put % around the special fields (one underscore) such as %_length% or %__length_seconds%, this is not true for technical feilds, such as __codec or __replaygain_album_gain
Edit:
so this should work
(%_length_seconds% GREATER 120) AND (NOT title HAS "(instrument") AND (NOT title HAS "(backing") AND (NOT title HAS "vocal less")
tksh
QUOTE(hunted @ May 16 2005, 04:50 PM)
I tried too, and it seems you have to put % around the special fields (one underscore) such as %_length% or %__length_seconds%, this is not true for technical feilds, such as __codec or __replaygain_album_gain
Edit:
so this should work
(%_length_seconds% GREATER 120) AND (NOT title HAS "(instrument") AND (NOT title HAS "(backing") AND (NOT title HAS "vocal less")
*



Ah, that fixed it. Thanks.
Mystiq
Love this component but ive got small-ish problem.

How do i keep the order of the tracks in every playlist?

If i drag and drop tracks within the currently selected playlist, switch to something else in playlist tree (folders only), the order of the playlist is reverted back to "default" (what ever that is...).
Frank Bicking
Very small suggestion:

Similar to behaviour of Windows Explorer, the currently selected folder may be displayed with the expanded icon. I'm using a Windows XP icon set and it would slightly increase the feeling of authenticity™.
SoulMan
Hello, I'm beginning with playlist tree, and i have to thank the programer(s) of this plugin, without playlist tree foobar is the best audio tool of the world, but with this plugin, is't a war weapon!

So, i have a little question, smile.gif is it possible in playlist tree, like in the "album list panel" when we use simple naming tag (without %) to have diferent values of a multivalued field displayed separatly?

ie. when i ask to have a display by artist, and when i have a multiartist album, i want to view this album under each of the artist's names, and not in a "artist1, artist2, artist3" name.

and, ever if it is not possible, thank you for this very good plugin.
NEMO7538
Use #artist#

BTW: I'll be happy to know how do do this in the album list panel
cwbowron
QUOTE(SoulMan @ May 22 2005, 01:25 PM)
So, i have a little question, smile.gif is it possible in playlist tree, like in the "album list panel" when we use simple naming tag (without %) to have diferent values of a multivalued field displayed separatly?
*



Thanks.

You should be able to use #variable# in a query format to have it add the file under each value of a multiple value field.
SoulMan
in album list panel, you can have this property only if you use the fieldname without %'s but this is not compatible with $ functions... so the usage it's limited only to simple sortings and to the first field (not possible after the |)

Thank you a lot for the # it's a great feature!!
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.