Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_browser (Read 429401 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_browser

Reply #325
cwobrown could you please put version numbers in the filenames of the zip archives and on the wiki so that it's easier to see if there has been a new release? Roaming through the entire thread can be tiresome if you haven't been around for a while.


http://wiki.bowron.us/index.php/Foobar2000:Browser:Changelog

Always has the latest releases and what has changed.
There used to be a link to my website here.

 

foo_browser

Reply #326
Hello,
I'm sorry if this has been already discussed, but I couldn't find it. Can I sort artist panel in browser so, that for examples "The Beatles" will be treated as "Beatles" - sorted under B? I want the sorting engine to ignore the article. Ithink it should be possible to do it, but I don't know how.

foo_browser

Reply #327
Can I sort artist panel in browser so, that for examples "The Beatles" will be treated as "Beatles" - sorted under B?

I use an %artist sort order% tag since there's no way a script can tell the difference between a band name (The Beatles => Beatles, The), a person's name (John Coltrane => Coltrane, John), or in some cases both (The Dave Brubeck Quartet => Brubeck Quartet, The Dave). If you don't want to go through the hassle and you're only worried about 'The xxx'-type names, you can use:
Code: [Select]
$if($strcmp($left(%artist%,4),The ),
$insert(%artist%,,4)', The',%artist%)

Hope that helps.
f to c to f to c

foo_browser

Reply #328
I tried this formattin string in uie_trackinfo nad it works as expected. Bu if I enter this as a sort criteria in browser's artis panel, it doesen't work. I have no idea why.

Nad I have one more request - in my native language (Czech) there are some special characters lik š,č,ř,ž etc. (I hope it will be displayed correctly). In our alphabet Č is between C and D, Š is between S and T and so on. Would it be possible to add a function for custom characters order? Windows natively sort czech letters correctly.

foo_browser

Reply #329
Code: [Select]
$if(
$stricmp($left(%album artist%,4),The ),
$right(%album artist%,$sub($len(%album artist%),4)),
%album artist%
)

i use this code for sorting artists with 'The '.  What does inserting nothing at space 4 do?  Does it erase everything before it?

edit: just tested it, it does.  Never would have guessed it.

foo_browser

Reply #330
I tried putting the strings in both formatting and sorting field in Browser's configuration. It doesen't work    I even tried putting there:
Code: [Select]
$right(%album artist%,$sub($len(%album artist%),4))

It does nothing. What am I doing wrong? Thanks.

Edit: After playing with it some more, I noticed, that it doesen't make any change whatever I put in Formats and Sort Criteria windows. I can only change Headers.

foo_browser

Reply #331
I have a problem. I had an album both as archive and extracted in a folder. So obviously the browser added all of the titles twice to the playlist when I chose that album from the album column. But now I've deleted the archive but I still can't get rid of the duplicate entries. Rescaning the library didn't help. Is there a way to get rid of them?

foo_browser

Reply #332
I have a problem. I had an album both as archive and extracted in a folder. So obviously the browser added all of the titles twice to the playlist when I chose that album from the album column. But now I've deleted the archive but I still can't get rid of the duplicate entries. Rescaning the library didn't help. Is there a way to get rid of them?

I use a separate browser panel "Codec" as my first panel, and that works perfectly for me.
Surf's Up!
"Columnated Ruins Domino"

foo_browser

Reply #333
Release 1.1.6
Code: [Select]
New Features

    * Refresh browsers when media library changes
    * Custom drawing option, selection color, selection color - non focus
    * %_browser_selcount% - returns 0 if you select All or the number of items selected

Bug Fixes

    * Fixed double click on [All] bug

Other

    * Renamed "Reset Browsers" to "Refresh Browser Contents"
There used to be a link to my website here.

foo_browser

Reply #334
Great work
thanks cwobrown 

but
this version (Release 1.1.6) useing

when foobar exit and excute now
previous playfocus not remeber(always reset first track)
and  when background(not active windows) playing ....  playfocus out..
next track return firsttrack

previous version no problem

foo_browser

Reply #335
last version seems to have a bug in it, it updates itself constantly. (wich causes foobar to lose focus of the now playing song, plus if you have it on auto-activate it keeps on switching to the browser playlist)

its abit annoying really

still love the plugin tho
Nothing is so good that somebody, somewhere, will not hate it.

foo_browser

Reply #336
last version seems to have a bug in it, it updates itself constantly. (wich causes foobar to lose focus of the now playing song, plus if you have it on auto-activate it keeps on switching to the browser playlist)


I think it was related to the libray callback i added that refreshed the browser on add, deletes or modifys from the library.  I put out an updated 1.1.6b that only refreshes on adds or deletes from the library.

Release 1.1.6b

    * Refresh only on files added or removed, not on modified
There used to be a link to my website here.

foo_browser

Reply #337
works like a charm now! thank you
Nothing is so good that somebody, somewhere, will not hate it.

foo_browser

Reply #338
Found a bug in 1.1.6b:

Hide horizontal scrollbars doesn't seem to do anything...I normally don't have any horizontal scrollbars, so checking this option doesn't have any effect.  However, when I restore foobar2000, horizontal scrollbars DO appear, but the option to hide them still does nothing... (it only makes them "shorter" =)...if it helps, here's my columns ui layout (maybe the locking function is causing the problem):

Horiz. Split-
Vert Split-
  -Buttons (locked)
  -Playlist switcher
  -Album Art (locked)
Vert Split
  -Horiz Split (locked)
    -Browser Panel
    -Browser Panel
    -Browser Panel
Columns Playlist


Other than that it's working fine over here.  Now we just need the same coloring options that columns UI has =)

Cheers!

foo_browser

Reply #339
Found a bug in 1.1.6b:

Hide horizontal scrollbars doesn't seem to do anything...I normally don't have any horizontal scrollbars, so checking this option doesn't have any effect.  However, when I restore foobar2000, horizontal scrollbars DO appear, but the option to hide them still does nothing... (it only makes them "shorter" =)...if it helps, here's my columns ui layout (maybe the locking function is causing the problem):

Horiz. Split-
Vert Split-
  -Buttons (locked)
  -Playlist switcher
  -Album Art (locked)
Vert Split
  -Horiz Split (locked)
    -Browser Panel
    -Browser Panel
    -Browser Panel
Columns Playlist


Other than that it's working fine over here.  Now we just need the same coloring options that columns UI has =)

Cheers!


it works for me, its just that you have to resize them a bit (just pull the edge or something) to make them "refresh" and they'll disappear
Nothing is so good that somebody, somewhere, will not hate it.

foo_browser

Reply #340
Have you tried to re-select the tag for that panel with shift+right click?

Surely, IMHO, checking "hide hor scroll bars" shoud get rid af them even without having to refresh the panels...

foo_browser

Reply #341
OK, i decided i'd, you know, bite the bullet or whatever and upgrade to the new Columns UI today, so i did that, and i got all the new panels and junk, but i'm having some issues with yours.... (edit: Had a problem with PLT but i figured it out, so never mind there.)

Well, for Browser, everything pretty much works OK as far as i can tell, but you evidently did something to the edge styles, and now they're all messed up. :/

First of all, you changed the edge styles themselves i guess. Like, for example, 'Sunken' in the new version isn't the same as 'Sunken' in the old one. I don't really know how to complain about this, because every. single. panel. ever made for foobar uses completely different edge styles, so i don't know which one is the 'real' one. In any case i rather liked 'Sunken' in the old one, which caused the panels to display the way they should be displayed according to my visual style -- none of the edge styles in the new version do that. They don't use the visual style, they just kinda make up their own way of doing things. I don't know.

Anyway i settled on 'Grey' since it's the one that looks best, but now i have another problem. The scroll bars are messed up; they get chopped off on the sides and bottom.



This happens with all edge styles, not just the grey one. And no amount of resizing or refreshing or whatever will fix it. I have horizontal scroll bars disabled in that screen shot, but if i enable them, those get cut off across the bottom too.

This is with 0.9.1, Columns 0.1.3 beta 1v5, and Browser 1.1.6b.

please advise~
~

foo_browser

Reply #342
Happens here too, using the latest version

foo_browser

Reply #343
Release 1.1.6
Code: [Select]
New Features
    * Custom drawing option, selection color, selection color - non focus

GREAT, GREAT, GREAT !...

... but ...

... unfortunately not enough. You have to specify selection text color and inactive selection text color too.

foo_browser

Reply #344

Release 1.1.6
Code: [Select]
New Features
    * Custom drawing option, selection color, selection color - non focus

GREAT, GREAT, GREAT !...

... but ...

... unfortunately not enough. You have to specify selection text color and inactive selection text color too.


Be thankful for what you get... and don't use phrases like "have to"...

I believe what you meant to say was

"GREAT, GREAT, GREAT!

It would also be super great if you could add selection text color and inactive selection text color"
There used to be a link to my website here.

foo_browser

Reply #345
Be thankful for what you get... and don't use phrases like "have to"...

I believe what you meant to say was

"GREAT, GREAT, GREAT!

It would also be super great if you could add selection text color and inactive selection text color"


You don't have to assume that everybody here speaks english as a mother tongue. Making myself understandable in a foreign language is difficult as it is, even without having to consider all its subtleties and intricacies.

I do not meant to be impolite. My appologies, if you got offended by my clumsy choice of words. Just blame it on my "being foreign" and my apparent lack of skill with languages.

Sorry.

foo_browser

Reply #346
You don't have to assume that everybody here speaks english as a mother tongue. Making myself understandable in a foreign language is difficult as it is, even without having to consider all its subtleties and intricacies.

I do not meant to be impolite. My appologies, if you got offended by my clumsy choice of words. Just blame it on my "being foreign" and my apparent lack of skill with languages.


We'll just chalk it up to your English being good enough to make me think you might be a native speaker...

The reason I responded like I did that many times people do think they are entitled to new features and such and it can be frustrating.

But, at any rate... The next version will have options for changing the color of the selection's text.
There used to be a link to my website here.

foo_browser

Reply #347
It took me a while to get foo_browser running as I wanted, but now I wonder how I did without foo_browser. Many thanks, cwbowron, for this great component. It makes dynamic generated playlists so simple even my parents can use it and like it

I understand the component is still in development so there are probably features you intend to implement later on. I've done some thinking too (to my own needs of course) and it would be great if you could add following features to foo_browser:

* Empty output shouldn't create list value: A formatting like $if(%field%,,NA) will lead to 3 values in the browser list: [All], NA and an empty line. I think it would be nice if the empty line wouldn't be shown in the browser. If you want them to show you could still put a space in the formatting string so the empty line shows (it's not empty due to the space, but it looks empty).

* Extended support for multiple values per track: Right now the browser can either use a TAGZ style (%field%), or a multiple values style (field). However, you cannot perform any foobar formatting scripting on the multiple values style. For example (a very stupid one); $if(%field%,Y,N) works, but $if(field,Y,N) doesn't). In my humble opinion it would be better to execute the formats for each value found. Thus, if you have $if(%field%,Y,N) as formatting and there are 3 %field% tags in the file, the formatting should be performed 3 times - once for each found %field%. In this example it would be a bit stupid, but I have some pretty good use for it.

* Unlinked browsers: In the current version browsers appear to be linked to each other. If you select an artist in the first browser list the following browsers are updated and show only information about the selected artist. Although that is nice it sometimes becomes frustrating because changing a field can reset a lot of other browsers. I have browsers like Genre, Mood, Tempo,... But when I simply add a genre to the selection, all other browsers are reset to [All] and I have to set them again. It would be nice to have to option to exclude certain browsers from this 'link'. So when Genre, Mood and Tempo are unlinked and you change the genre, the Mood and Tempo browser keep their content and selections.

* AND functionality for multiple selections: Right now when you select multiple items in the browser it performs a logical OR. For example, select 'Rock' and 'Punk' in the Genre list and the browser will load all files with either Punk or Rock as genre. But sometimes it can be useful to do a logical AND instead of OR. Think about files with multiple value tags. For example, I use a tag %instruments% in which I put the key instruments of a track. There can be multiple instruments per file. Sometimes I'd like to select all files with a Spanish guitar and a trumpet. Right now this selection returns all tracks with either a trumpet, or a guitar beacus the logical OR. With a logical AND only the files with both a guitar and trumpet would be returned.
How this should be implemented in the user interface, I don't know. Maybe a button below the list that switches between AND & OR? And of course an option in the preferences for each list to show the button (because not everyone will want that) and set a default behavior (AND or OR).


Those are (I believe) features that would enhance foo_browser's functionality and usability in a great way. It would be really great if we could see those features in a future release.


There's one more feature I'd like to propose, but it shouldn't get too much priority. I think it may make things needlessly complex although it could be used for some cool stuff:

* Ability to create multiple values per track: What's the idea? Have the output of the formatting string scanned for a specific delimiter symbol and split the output by that symbol to multile values in the browser list. A very simple example would be an %artist% field containing 'The Beatles'. In a sorted list you'd find this artist under T, with a little formatting you can have it appear under B. But what if we could avoid all confusion and have it shown under T... and B! For example:
$if(
$stricmp($left(%artist%,4),The ),%artist%|$right(%artist%,$sub($len(%artist%),4)),
%artist%
)
returns "The Beatles|Beatles" when a name that starts with "The " is encountered. If foo_browser would just scan this output for the occurance of |-symbols, then split by it, you could have multiple values per track (|-symbol just taken as example).


I hope I made my ideas clear and I hope cwbowron sees the same advantages in them as I do. And who knows, maybe we'll see these ideas in foo_browser one day. I certainly do hope so

Keep up the good work!

foo_browser

Reply #348
guess because of the left padding the selection-bar is not rendered to full left side. can this be done without touching the padding? that would be great!



and the 1px rendering at right side scroll-thing... i guess it´s not my theme causing this. can something be done about this either? (edgs-style is gray in the screeny)


and another thing: very cool to have the option to set the color for selection (focus/non focus). would it be possible to change text-color for focus/non-focus selection either?

foo_browser

Reply #349
thank you for reading the thread
~