Help - Search - Members - Calendar
Full Version: foo_browser
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
FuzzyFonzy
sry for all the comments....

I tried puting the decade in a different panel # in the browser settings and that didn't help. FYI
FuzzyFonzy
oh nm it's not supposed to work backwards. lol (could it?)
mimeryme
QUOTE(lav-chan @ Mar 27 2006, 11:47 AM)
mimeryme's problem seems to be solved, in any case. $if($stricmp('The ',$substr($meta_sep(artist,', '),1,4)),$substr($meta_sep(artist,', '),5,$len($meta_sep(artist,', '))),$meta_sep(artist,', ')) works the way i think he wants it to.
*


Actually, that formatting produces the same results as my initial format string. It's listing all the artists of a track as one entry in the list as opposed to keeping them separate.

I think my initial description is inexact.

I'd like to maintain the separation of artists afforded by using the multi-tags format 'artist,' but have the list sorted to ignore the 'The ' prefix. For example, if a track has the artists "Bongo, Alamo, The Bills & Acro" in separate ARTIST tags, I'd like to see the list display:

Acro
Alamo
(The )Bills
Bongo

I enclosed 'The ' in parantheses as my initial attempt trimmed the text, but perhaps that can be optionally shown. My intention is so that I can browse songs an artist performed on without having the list show the entry "Bongo, Alamoa, The Bills, Acro" and have that track excluded from being browsed.

I don't know if that's any clearer, but it's okay. I don't need my list sorted so, just thought it'd be nice if I were able to.

Thanks again for your efforts.
lav-chan
Oh, i thought you were saying the opposite. I actually would like the same thing. :/
cwbowron
Release 1.0.7
QUOTE
    * auto activate playlist option
    * User definable playlist
          o if it looks like TAGZ it will be formatted using the first item in the list... (not necessarily the first item that shows up in the playlist though, due to sorting)
          o %_browser_panel% will tell which panel did the activating...
                + if you click an item in panel 1 %_browser_panel% will be 1
                + if you click "[All]" in panel 1 %_browser_panel% will be 0
                + if sent from a reset panels or a context menu "Browse" command, %_browser_panel% will be 0.
    * use playlist_insert_items_filter to populate *Browse* playlist
    * definable sort criteria for each column
Shinsou
how to sort playlist view created by Browser?
lav-chan
QUOTE(cwbowron @ Mar 28 2006, 06:44 AM)
Release 1.0.7
*

Cool beans, thanks for the option to rename the play list (and the better sorting, although i still wish it'd use the default one from general preferences wink wink wink). And the auto-activate option, that's rad too.

Questions, though:


QUOTE
o if it looks like TAGZ it will be formatted using the first item in the list... (not necessarily the first item that shows up in the playlist though, due to sorting)

I can't figure out what you mean by 'formatted using the first item in the list'. Can you explain?

QUOTE
o %_browser_panel% will tell which panel did the activating...

This is cool i guess, but could you explain how somebody might use %_browser_panel% in a formatting string?


Also, feature request: Would it be possible to define a middle-click action for items in the browser panel? I personally would love it if middle-click sent the contents of the item to the active play list. Drag-and-drop would be an alternative, i guess it could accomplish that just as well. (I don't know if you can easily enable drag-and-drop using that list control, though, i'm not really a programming expert or whatever.)


Great job though, it's almost perfect.
FuzzyFonzy
QUOTE
$if( $or(  $strcmp(%album artist%,'Various Artists'),  $strcmp(%band%,'Various Artists')  ) ,''''Various Artists,%artist%)


puts the various artists at the top of the artists list. the '''' is there to help put it at the top.
cwbowron
QUOTE(lav-chan @ Mar 28 2006, 11:21 AM)
I can't figure out what you mean by 'formatted using the first item in the list'. Can you explain?


For example if you wanted to make the browser playlist name dependant on the genre of the files... you could use "%genre%" as the browser playlist name and the "%genre%" tag will come from the first item in the list of handles for the items sent to the playlist, but its not necessariyl the item what will show up first in the playlist.

QUOTE
This is cool i guess, but could you explain how somebody might use %_browser_panel% in a formatting string?


As a simple example, you might want to browse the items in a different playlist depending on what you are browsing... so you might do something like this: (note I havent tested this)

CODE

$if($less(%_browser_panel%,1),Mutliple Genres,$if($less(%_browse_panel%,2),Multiple Artist,Other)))
JPJ
Hello!
How I get these browser panels aligned top of the foobar, now they are on left.
-> Now looks like this
user posted image
-> But I want same kind of layout like in offical screenshot.

I'm new whit foobar (started using it yesterday), so I might miss something obvious... so please bear me wink.gif

Thanks!
alphaex32
I know what mimeryme is talking about and I'd like to be able to do the same thing. Basically, you would need to be able to use more than one string for each column so a single file could be defined by more than one item in the browser. I, for example, want to do this with the "mood" tag that I've been getting from AMG. You would have to parse the tag between commas. For example:
"Energetic,Confident,Aggressive" would be parsed and each mood would be seperated in the list:

Energetic
Confident
Aggressive

This would most likely make the browser very slow, but it would be useful for having multiple genres, artsts, etc. on a single track. The only way I could think to do this would be to create a new tagz character that would seperate the strings (maybe "+").
fabiospark
Bug.

Put %genre% in playlist name box, then deleted all the existing playlists.
When I click on an item in a panel I can see a new playlist (named from the genre) is created but no tracks are shown.
Select in a panel an item with different genre and you see a new playlist is created but not shown (I unchecked auto activation). If you activate the new playlist you see tracks in it and if you select the first one now you can see tracks in there too.

FQ. It would be nice if with a Ctrl down, the click on an item would add it (them) to the last activated (or maybe the last created) playlist.

Better would be if the *browser* playlist would be a separate Playlist view with its own tabs etc.

Thanks.

(Of course, as a PLT long time users, I wonder if, one day, we well have panels showing the different sublevels of a PLT node having PLT as the top panel...)
fabiospark
user posted image

Am I missing something? (1600x1200)

Where can I find that filter thing?

Where do we have to put those strings about browser_panel?

Thanks
cwbowron
QUOTE(fabiospark @ Mar 28 2006, 01:59 PM)
Put %genre% in playlist name box, then deleted all the existing playlists.
When I click on an item in a panel I can see a new playlist (named from the genre) is created but no tracks are shown.
Select in a panel an item with different genre and you see a new playlist is created but not shown (I unchecked auto activation). If you activate the new playlist you see tracks in it and if you select the first one now you can see tracks in there too.


Yes, I was able to reproduce this. It looks like the problem is this... If you create a playlist that becomes the active playlist by default (i.e. its the only playlist) but never directly activate it, it never displays its items.

I am implementing a work around so that if the browser playlsit is the only playlist it is automatically activated.
SkipCool
Hello
First of all, I have to thank you for your great job
about this plugin, very useful. It is my favourite / guest star plugin for 0.9 wink.gif

I have one suggestion :
Even if it is possible to change colors in the different lists,
there is no way to change fonts size / font.

Well I know that it is not very important for you,
but in my case, that should be a nice feature !

Killmaster
Another problem: the browser seems to take capitalization into account, when foobar does not. Any particular reason for this? It's annoying having three different items with different capitalizations..
cwbowron
QUOTE(Killmaster @ Mar 28 2006, 04:08 PM)
Another problem: the browser seems to take capitalization into account, when foobar does not. Any particular reason for this? It's annoying having three different items with different capitalizations..
*



Consider it a feature that helps you maintain consistant tagging.
Killmaster
QUOTE(cwbowron @ Mar 28 2006, 01:14 PM)
QUOTE(Killmaster @ Mar 28 2006, 04:08 PM)
Another problem: the browser seems to take capitalization into account, when foobar does not. Any particular reason for this? It's annoying having three different items with different capitalizations..
*



Consider it a feature that helps you maintain consistant tagging.
*



tongue.gif

Well is there any good reason for this? Nothing else in Foobar takes capitalization into account, why should this particular plugin? Shouldn't the standard foobar database stuff be, well, standard?

EDIT: Another issue: titleformatting doesn't take spaces into account for some reason. So ['('%date%')' ]%album% gives me '(date)album' instead of '(date) album'
Shade[ST]
@killmaster : use ['('%date%') ']%album

Is there any way to have the plugin faster? has this already been requested? -- it's quite slow on a large collection of music...

Also another request : to allow click and drag to select multiple albums, etc.

Currently, Click - shift-click works, but not click-drag.
Xerion
Quite slow is an understatement hehe
Silverbolt
There should be an entry for foo_browser in the 0.9 components sticky.
The new sort ordering works great (makes it better than iTunes, especially for last-name-first artist sorting). Have one request though: any shot at allowing a user-defined font?
cwbowron
Release 1.0.8

QUOTE
    * Selectable font
    * If only one playlist exists after find_or_create then activate it. Fixes bug that occurred when no playlists existed, one was created by browser, but not activated... the playlist would not get drawn...
    * When sorting by format, keep the list in order so that searches work faster...
Silverbolt
QUOTE(cwbowron @ Mar 28 2006, 07:19 PM)
Release 1.0.8
    * Selectable font
*
Good stuff, thanks.
aliumalik
cwbowron, just wanted to know if you have taken notice of the horizontal scrollbars bug? I mentioned it a couple of pages back...not pushing....just wanted to make sure you know its there biggrin.gif


mimeryme
Terrific updates! Thanks again Chris for this excellent plugin. The sorting options work a treat!
lhaymehr
Can we have "Double-click action" and "Middle button action" exactly like in Album list panel?

tnx for your work!
SkipCool
QUOTE(cwbowron @ Mar 29 2006, 03:19 AM)
Release 1.0.8
    * Selectable font
 


Well, very good job ! Thanks a lot !!!! biggrin.gif
fabiospark
Thinking of this:

Browse playlist = %__codec%

Browser panel 1 = Genre

When I click on an item in the genre panel (but maybe in the others too), it would be useful to get one playlist for MP3 and one for wavpack each one with the its encoded files..., wouldn't it?

Maybe a checkbox in the preferences to switch it on or off.

Of course not just for codec.

Maybe also the last two panels instead of the browser playlist(s).

(I'm imagining a graphical way to set the dependancies among panels - somenthing like that MS Query structure window... or LabView wires, if you know it.
Each panel would have one input and n outputs and we could tie them with wires. The browser playlist(s) would be special panel(s) with just the input.
In this way, the same panel outputs could be wired to more than one panel input...
Maybe too much.........................................
lav-chan
So i'm trying to make use of the sorting options and i thought it'd be handy to ignore punctuation (like quotation marks and parentheses) in the browser list. I can't think of a reliable way to achieve that, though.

Does anybody have any ideas aside from a bunch of this kind of stuff?

$if($stricmp($left(%title%,1),$or($or($or($or(<insert every possible punctuation mark>
Shade[ST]
QUOTE(lav-chan @ Mar 29 2006, 05:54 PM)
I thought it'd be handy to ignore punctuation (like quotation marks and parentheses) in the browser list.

Does anybody have any ideas aside from a bunch of this kind of stuff?

No idea. The best would be to ask the dev' to do it ;-)
skyhopper88
On my Artist Browser, the list is getting pretty long amd I get lazy scrolling. Is there a way I can get it to be sorted alphabetically like this with a dropdown menu inside of it?

-A
--AC Newman
--AC/DC

-B
--Beatles
--Black Sabbath

etc

I use this code to do it in AlbumList although I'm not sure how to make it with browser.
CODE
$ifgreater(1%artist%,9,#,$cut(%artist%,1))|%artist%|%album%|[[%disc%.]%tracknumber%. ][%track artist% - ]%title%
lav-chan
There's no way to do that, but you could make one panel show the first letter and then filter all the artists that begin with that letter into the next panel.
skyhopper88
I figured you could do it that way. Problem is I'm a complete n00b at these scripts. Can someone show me what to put for each browser?
PogusMagnus
Feature request:

Is it possible to add support for custom colours for the selected items? Right now the browser panels have the standard blue/grey bars of Windows. Changing their colour to match the colour of ColumnsUI would be terrific. Please, have a look at the screenshot to see what I mean.
Shade[ST]
Hiding the scroll bars would be nice, too (or making them toggleable / resizeable) -- you can scroll with the mouse wheel or enter the first letter on the keyboard anyways (right?)
lav-chan
QUOTE(skyhopper88 @ Mar 29 2006, 06:37 PM)
I figured you could do it that way. Problem is I'm a complete n00b at these scripts. Can someone show me what to put for each browser?
*

I'm doing this from memory, so i haven't tested it, but i think this should work.... In your first panel (the letters), you would just put something like this in the format field:

$upper($left(%title%,1))

The $upper() will make sure you don't get duplicated letters (e.g., separate entries for 'a' and 'A'). Take it out if you don't want it to work that way.

And then in your second panel (the artists), you'd just put your standard artist entry (you could just use %artist% if you don't want to do anything fancy).

If you have any artists that start with punctuation marks, you'll probably run into the same kind of annoyance that i did.
David Nordin
How the banana do you make the panels show at the top of the window?
fabiospark
QUOTE(David Nordin @ Mar 30 2006, 11:14 AM)
How the banana do you make the panels show at the top of the window?
*


Columns UI wiki.

Shinsou
a BUG? playback follows cursor (its unchecked in playback menu) when i switch to another playlist from any Browsers panel
Insolent
Just two small feature requests.
  1. Would it be possible to add a border type option (ie: sunken, grey or none)
  2. And also, could you please add a non-focus selected background. I get this when I select something and then click away from the browser.

user posted image

Otherwise, a rock solid component! smile.gif
cwbowron
QUOTE(lav-chan @ Mar 29 2006, 05:54 PM)
So i'm trying to make use of the sorting options and i thought it'd be handy to ignore punctuation (like quotation marks and parentheses) in the browser list. I can't think of a reliable way to achieve that, though.

Does anybody have any ideas aside from a bunch of this kind of stuff?

$if($stricmp($left(%title%,1),$or($or($or($or(<insert every possible punctuation mark>
*



I would think the $replace function might be your friend:

QUOTE
$replace(A,B,C)  Replaces all occurrences of string B in string A with string C.


or the $strchr

QUOTE
$strchr(X,Y)  Finds first occurrence of character Y in string X.


You would still have to enumerate all the punctuation characters though.

If there were a way to get the character code as a number from a character it might be easier but I didnt see any way to do that in the base title formatting documentation (i.e. the reverese of the $char() function).
thelost
placing browser at the top of foobar
hey there, i wrote a little tutorial for everyone who is having trouble getting the foo_browser component to appear at the top of the foobar screen. useful for anyone who is new to fb2k and hasn't had much experience with columns_ui.
enigmahi
Wonderfull... smile.gif

Request: Would it be possible to add a kind of "master searchbar" like in the Winamp MediaLibrary?

--> The search results of the searchstring should be shown in each defined panel depending on it's own filter.

Perhaps not very easy to implement... But perhaps in future realese.
NEMO7538
Would it be possible that double clicking on an item in the album list panel triggers the browse action (iTunes mimick) ?
lav-chan
I got it to sort out most punctuation marks, but for some reason it won't ignore bullets (U+2022). Any idea why? :/
AsD
First of all: Thanks for the great plugin.
And second... my inglish is no good... sorry.

I have one little problem, i want to list the fisrt level of directories under my music folder. It goes like this:

F:\Music\_News
F:\Music\Anime
F:\Music\Classic
F:\Music\Countrie
F:\Music\Jazz
F:\Music\Movies
F:\Music\Musicals
F:\Music\Oldies
F:\Music\Otros
F:\Music\Rock & Roll
F:\Music\Rock Nacional
F:\Music\TV

The code im using:
$replace($substr(%_path% ,10,12),_Ne,_News,Ani,Anime,Cla,Classic,Cou,Countrie,Jaz,Jazz,Mov,Movies,Mus,Musicals,Old,Oldies,Otr
,Otros,Roc,Rock & Roll,TV\,TV)

Works really good with the exception of "Rock & Roll" and "Rock Nacional" that gets listed under the same name.

Anyone knows a better way of doing that?
Thanks in advance.
lav-chan
Couldn't you do this?

$left($substr(%_path%,10,$len(%_path%)),$sub($strchr($substr(%_path%,10,$len(%_path%)),'\'),1))
AsD
QUOTE(lav-chan @ Mar 30 2006, 03:35 PM)
Couldn't you do this?

$left($substr(%_path%,10,$len(%_path%)),$sub($strchr($substr(%_path%,10,$len(%_path%)),'\'),1))
*




Thanks a lot!!!
It works like a charm.

Really... thank you!!!
cwbowron
Release 1.0.9 - Added a selectable double click action.

You should be able to choose any context menu command to run when you double click an item.

Don't ask for middle click, alt-double click, shift double click, control double click options... I want to keep this fairly simple... any thing that can be accessed by double clicking can also be selected from the context menu, or consider adding hotkeys if you want multiple options..

Changing the selection color requires overriding some of the functionality of the list view so I doubt that is going to happen anytime soon...
lav-chan
Hm, that's cool....

Does foobar not have an 'add to active play list' feature? All i can see is 'send to playlist' (which is annoying because that box pops up and then you have to select from the drop-down list).


edit:
Never mind, i think i just needed foo_utils. Awesome, thanks for adding that.
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.