foo_random_pools, Select random groups from the media library |
foo_random_pools, Select random groups from the media library |
Jan 2 2010, 18:15
Post
#1
|
|
|
Group: Developer Posts: 648 Joined: 26-September 07 Member No.: 47369 |
foo_random_pools is a foobar2000 component for creating random playlist entries selected and grouped by various pool definitions.
Mainly you can define titleformat expressions for selecting random groups like albums including sorting and filtering from the media library. Download the latest version: here This post has been edited by fbuser: Sep 16 2011, 22:50 |
|
|
|
![]() |
Oct 8 2010, 10:10
Post
#2
|
|
![]() Group: Members Posts: 319 Joined: 16-February 03 Member No.: 5017 |
Could you just lay out a brief abstract of what needs to be done here? I'm not at all clear on why changing the group and filter as we did here changed the whole dynamic of what's going on. This thread is about the only source of information on this component... si/no?
|
|
|
|
Oct 8 2010, 19:02
Post
#3
|
|
|
Group: Developer Posts: 648 Joined: 26-September 07 Member No.: 47369 |
Could you just lay out a brief abstract of what needs to be done here? Mainly you need to find a title format expression for grouping, which matches your root folders. Something like $puts(Remainder,$stripprefix(%path%,<your base path>))$left($get(Remainder),$sub($strchr($get(Remainder),\),1)) could be a starting point, maybe it already works.I'm not at all clear on why changing the group and filter as we did here changed the whole dynamic of what's going on. The filter is used to restrict the tracks of the media library before building the groups. For each track of the media library, which is not filtered out by the filter expression, the group expression is evaluated. All evaluations with the same value are building one group. Normally one such complete group will be randomly picked, but this behaviour can be customized by several attributes, e.g. you can limit the picking to only one track per group. So, for your described cases it should be obvious, that using %artist% as group leads to a different result than using $directory(%path%) as a group.This thread is about the only source of information on this component... si/no? Besides the help file, most probably yes. |
|
|
|
Oct 9 2010, 23:08
Post
#4
|
|
![]() Group: Members Posts: 319 Joined: 16-February 03 Member No.: 5017 |
Something like $puts(Remainder,$stripprefix(%path%,<your base path>))$left($get(Remainder),$sub($strchr($get(Remainder),\),1)) could be a starting point, maybe it already works. Well if one of the main purposes of this component for me is to avoid constantly playing tracks by artists I have huge numbers of files for, after a quick test, that code seems to do just the opposite. I'll try to read up on those title formatting values and see if I can figure out what they do and how to tweak things to work for me. This post has been edited by TakuSkan: Oct 9 2010, 23:24 |
|
|
|
Oct 10 2010, 09:00
Post
#5
|
|
|
Group: Developer Posts: 648 Joined: 26-September 07 Member No.: 47369 |
the main purposes of this component for me is to avoid constantly playing tracks by artists I have huge numbers of files for, after a quick test, that code seems to do just the opposite. This code is not meant to do this. It is meant to balance the groups determined from different folders. If you want to balance the groups determined from different artists, you have to go back to use just %artist% as group. You need to decide for one of these. Both together is logically not possible. |
|
|
|
Oct 12 2010, 04:22
Post
#6
|
|
![]() Group: Members Posts: 319 Joined: 16-February 03 Member No.: 5017 |
If you want to balance the groups determined from different artists, you have to go back to use just %artist% as group If I could set %artist% as the group, and then as a filter, set a path for each genre I have folders for, and then set a priority for each within the filter code string, I think I could accomplish what I'm after. But even though Wooops suggested that it should work in an earlier post, apparently I can't set more than just one path as a filter. For instance this filter will lock up FB2K: (%path% HAS "\MP3s\Blues") AND (%path% HAS "\MP3s\Country") And then there'd still be the problem of setting a priority for each within the script. |
|
|
|
fbuser foo_random_pools Jan 2 2010, 18:15
Black_Over_Bills_Mothers Thanks for this plugin. I'm finding it really ... Jan 3 2010, 10:01
Chris Norman Looks like a great idea - going to test it. Jan 3 2010, 13:08
xbullethammer BRILLIANT!
Finally a way to add random albums... Jan 3 2010, 20:57
realhaiy great plugin!
only one requset: option for pre... Feb 13 2010, 10:25
NullString THis is goddamn great!
If I want to select 7 r... Feb 13 2010, 18:03
Xezzy Yes, limit the playlist by filesize would be great... Feb 13 2010, 21:03
fbuser A limiting by duration or filesize will be probabl... Feb 14 2010, 01:11
mrinferno just noticed this last night and had a chance to t... Feb 14 2010, 15:24
foosion Nice idea. I've tried to make it crash, but I ... Feb 14 2010, 15:37
fbuser QUOTE (foosion @ Feb 14 2010, 15:37) Nice... Feb 14 2010, 16:45
exxecutor Thank you for this component!
However, why is... Feb 14 2010, 17:14
fbuser Will be fixed with the next version. Feb 14 2010, 18:10
Fractal_Mortality Anyone have any idea how I could rig a script for ... Feb 14 2010, 21:05
exxecutor So, I have been using this component for some days... Feb 23 2010, 13:54
Xezzy Great component. Is it still under development? Ca... Mar 29 2010, 23:48
fbuser Thanks for the hint. I'm already using a newer... Mar 30 2010, 18:51
mrinferno QUOTE (fbuser @ Mar 30 2010, 13:51) Thank... Mar 30 2010, 19:00
NullString haven't gotten any crashes yet.
this plugin so... Mar 30 2010, 19:19
Fractal_Mortality How does this "weighted randomness" work... Mar 31 2010, 07:35
exxecutor QUOTE (Fractal_Mortality @ Mar 31 2010, 07... Mar 31 2010, 08:31
Fractal_Mortality Gotcha, thanks for the explanation Mar 31 2010, 08:48
fbuser Version 0.0.2 is available. See first post for DL ... Apr 4 2010, 22:28
exxecutor Thank you very much! Works great so far. Apr 4 2010, 23:33
mrinferno awesome thanks! looking forward to trying out ... Apr 5 2010, 03:28
fbuser QUOTE (mrinferno @ Apr 5 2010, 03:28) jus... Apr 5 2010, 08:40
mrinferno QUOTE (fbuser @ Apr 5 2010, 03:40) Edit: ... Apr 5 2010, 14:49
Fractal_Mortality So does this mean we can now perform filters like ... Apr 5 2010, 06:46
fbuser QUOTE (Fractal_Mortality @ Apr 5 2010, 06... Apr 5 2010, 08:41
Fractal_Mortality Ahhh, it appears this isn't working for me bec... Apr 5 2010, 09:02
fbuser QUOTE (Fractal_Mortality @ Apr 5 2010, 09... Apr 5 2010, 09:17
Fractal_Mortality Hmm, ok... Any idea how I'd go about that in m... Apr 5 2010, 09:20
fbuser "Format from other field" with the desti... Apr 5 2010, 09:36
q-stankovic Since the component offers the limitation by time,... Apr 17 2010, 15:10
fbuser You don't need weird expressions to achieve th... Apr 17 2010, 15:56
q-stankovic QUOTE (fbuser @ Apr 17 2010, 16:56) You d... Apr 17 2010, 16:05
fbuser I don't see a need to do anything here. To get... Apr 17 2010, 21:22
q-stankovic QUOTE (fbuser @ Apr 17 2010, 22:22) I don... Apr 18 2010, 21:29
fbuser QUOTE (q-stankovic @ Apr 18 2010, 21... Apr 18 2010, 22:04
carpman Hi all,
Great component fbuser. Looking forward t... May 5 2010, 03:27
carpman Forget it. Seems like a freak occurence of randomn... May 5 2010, 06:30
carpman Okay, after some more testing of this component I... May 6 2010, 02:32
fbuser QUOTE (carpman @ May 6 2010, 02:32) Again... May 6 2010, 21:08
Wooops There´s no option to run "all pools" sim... May 6 2010, 08:25
carpman Thanks for the reply. I got it now.
So basically ... May 7 2010, 09:27
NullString QUOTE (carpman @ May 7 2010, 05:27) In wh... May 7 2010, 14:31
Fractal_Mortality QUOTE (carpman @ May 7 2010, 04:27) Becau... May 8 2010, 00:31
e11 QUOTE (carpman @ May 7 2010, 09:27) Thank... May 10 2011, 22:53
laite Hi, it seems that if same album is on random playl... Jun 21 2010, 18:22
fbuser Thanks for reporting. Fixed with version 0.0.2.2. Jun 21 2010, 21:18
hesher Could someone give an example for usage of the plu... Jul 8 2010, 14:29
mrinferno one of my favorite ways to use it is as a virtual ... Jul 8 2010, 15:51
hesher QUOTE (mrinferno @ Jul 8 2010, 08:51) one... Jul 10 2010, 00:08
Bodhi fbuser a billion thanks, I was looking for that fo... Sep 5 2010, 22:04
Sixth Street Just started playing around with this component, i... Sep 6 2010, 17:29
q-stankovic Not possible because that would require not only o... Sep 6 2010, 17:39
Sixth Street QUOTE (q-stankovic @ Sep 6 2010, 11... Sep 6 2010, 17:55
q-stankovic I remember that the @limit function inside playlis... Sep 6 2010, 18:51
Bodhi Hi,
Is there a limitation in MBs?
It works fine u... Sep 7 2010, 10:29
fbuser QUOTE (Bodhi @ Sep 7 2010, 10:29) Is ther... Sep 11 2010, 12:28
Bodhi Great, thanks! Sep 11 2010, 12:35
laite First of all, let me say that I really like this c... Sep 21 2010, 15:08
TakuSkan I'm terrible at figuring out code to get FB2K ... Oct 5 2010, 09:25
fbuser Just create only one pool with using %artist% as y... Oct 5 2010, 20:38
TakuSkan Wow... this is closing in on something I've be... Oct 6 2010, 06:48
fbuser QUOTE (TakuSkan @ Oct 6 2010, 06:48) Wow.... Oct 6 2010, 19:02
TakuSkan QUOTE (fbuser @ Oct 6 2010, 11:02) ...you... Oct 6 2010, 20:08
fbuser QUOTE (TakuSkan @ Oct 6 2010, 20:08) Woul... Oct 7 2010, 20:32
carpman QUOTE (TakuSkan @ Oct 12 2010, 04:22) For... Oct 12 2010, 05:01
TakuSkan QUOTE (carpman @ Oct 11 2010, 21:01) Sure... Oct 12 2010, 12:05
tempman Thanks for this great plug in! I use it with ... Oct 13 2010, 17:42
fbuser QUOTE (tempman @ Oct 13 2010, 17:42) I wo... Oct 15 2010, 16:59
carpman Hi fbuser
I don't know how hard this would be... Oct 20 2010, 00:50
Yaris Nice plugin, thanks
I want to random select indi... Oct 21 2010, 22:43
mrinferno try %filename% as the group.
set limit number of t... Oct 21 2010, 23:51
スラッシ I totally love this component, it's great... Nov 22 2010, 17:23
fbuser QUOTE (スラッシ @ Nov... Nov 22 2010, 18:36
スラッシ That's what I get for reading the first few pa... Nov 22 2010, 18:54
Ephoras hell, i think i m rly dumb, because i don't ge... Mar 11 2011, 01:54
carpman QUOTE (Ephoras @ Mar 11 2011, 00:54) Grou... Mar 11 2011, 09:04
Ephoras thanks, it works now;)
My main problem was that i... Mar 11 2011, 12:04
prashantv Is it possible to sort in descending order? Mar 18 2011, 00:27
Ephoras Hell it still does not work the way i want it to.
... Mar 22 2011, 12:43
fbuser Which size have the files you are going to add to ... Mar 22 2011, 22:04
Ephoras thank you,
i had 1 loosless album in the filter, t... Mar 23 2011, 00:12
mrinferno hi fbuser,
I was just rereading through the thread... Apr 2 2011, 13:02
Ephoras Hi,
anyone here who wants to help me?
I currentl... Apr 20 2011, 08:11
trebordean I have my random pools selecting from an autoplayl... Apr 21 2011, 12:28
fbuser QUOTE (trebordean @ Apr 21 2011, 12:28) I... Apr 21 2011, 16:10
trebordean fbuser,
Under the playlist patterns section, a dr... Apr 22 2011, 17:57
tpijag Tracks are selected by whatever definition you pro... Apr 22 2011, 18:20
carpman I'm pretty much satisfied with foo_random pool... May 11 2011, 11:09
e11 Mabey im miss understanding the settings but, i wa... May 11 2011, 11:40
fbuser QUOTE (e11 @ May 11 2011, 11:40) Mabey im... May 11 2011, 21:41
e11 Ha that works
thankyou very much May 12 2011, 06:59![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 10:57 |