@McoreD
Is it my imagination or do the "normal artists" appear to have a space before their name?
The problem is in your $if statement where you have
$if(%band%,[SPACE]%band%,[SPACE]%artist%)
Also,
Do you have "composer" in all files or just ones with classical music?
If it's the latter, you can use this code instead:
CODE
$if3(%composer%,%band%,%artist%)
In any case, you can change:
CODE
$if(%band%,%band%,%artist%)
to
CODE
$if2(%band%,%artist%)
Walterrrr
Apr 12 2008, 07:03
If the former, he could use
CODE
$if3($if($stricmp(%genre%,Classical),%composer%,),%band%,%artist%)
~*McoreD*~
Apr 12 2008, 09:16
kanak, Walterrr,
That was it! The SPACE.
CODE
$if($stricmp(%genre%,Classical),%composer%,$if(%band%,%band%,%artist%))
works.
I have Composer filled only for Classical music.
Thanks for noticing it kanak!
Walterrr,
CODE
$if3($if($stricmp(%genre%,Classical),%composer%,),%band%,%artist%)
seems to do the same with simplified code. Correct?
Thanks for the IF3 statement.
Cheers,
McoreD
Cutter
Apr 12 2008, 11:09
Thanks for the plugin. It works nice and fast, but I noticed a small grapgical bug: the pixels aren't redrawn around the search box when I bring foobar to the foreground.
The screen showed my (pink) desktop when I clicked on foobar's icon.
Walterrrr
Apr 12 2008, 14:46
Should do the trick! I like the if3 string, but sometimes I have to use nested if-thens anyway!
mykurtaccount
Apr 13 2008, 05:54
Could someone say how I can achieve this.
I'm using Foobar 0.9.5.1 and have facets 2008-02-25.
I would like to have the Facets playlist which updates as I change my selections in the date/genre/artist/album facets. (as is the default). But I would also like to have a 'now playing' playlist that doesn't update as the various facets are changed.
I can therefore search my library without the 'now playing' playlist updating.
Also once I found what I was looking for be able to send it to the 'now playing' playlist
Regards
Stephen
QUOTE(mykurtaccount @ Apr 13 2008, 13:54)

I would like to have the Facets playlist which updates as I change my selections in the date/genre/artist/album facets. (as is the default). But I would also like to have a 'now playing' playlist that doesn't update as the various facets are changed.
I agree with the basic idea but i'd prefer a different solution to this. After playback was started from a facets selection it should continue playing the original-selection even if the facets selection was changed (unless playback follows cursor is selected), additional some way to restore the original-now-playing-selection would be great.
You could always "Send to New Playlist", or use the playback queue.
q-stankovic
Apr 13 2008, 07:58
QUOTE(smkk @ Apr 13 2008, 13:59)

QUOTE(mykurtaccount @ Apr 13 2008, 13:54)

I would like to have the Facets playlist which updates as I change my selections in the date/genre/artist/album facets. (as is the default). But I would also like to have a 'now playing' playlist that doesn't update as the various facets are changed.
I agree with the basic idea but i'd prefer a different solution to this. After playback was started from a facets selection it should continue playing the original-selection even if the facets selection was changed (unless playback follows cursor is selected), additional some way to restore the original-now-playing-selection would be great.
Here i made a suggestion how that annoying behavior could be solved for people who like to keep using such autosend playlists.
Meantime i believe that it would be the best to abolish such type of playlists as their real function is not playback but viewing of content and there doesn't seem to be a simple and good solution. Working with the new media library search component is a great pleasure for me as i have the playlists and the search element visible at the same time - much better than a simple toolbar wich sends the results to a dedicated playlist (like quicksearch for columns ui). So why not the same for album list and facets: an ui element that displays the tracklist of a facet/albumlist selection and - as it is not a playlist - that has configuration options for double/middleclick. I mean f.e. doubleclick = send tracklist to new/default playlist and start playback with selected track
or add to default playlist
or other settings that makes sense. That is the way almost all players are acting: library viewer -> content tracklist -> playlist.
Tropican
Apr 14 2008, 17:47
I don't know if this has already been mentioned or is intended behavior, but if you type a query into the facet search box that has no results (a typo, for example) and then use the backspace key, the facet playlist no longer changes to reflect the corrected query.
~*McoreD*~
Apr 25 2008, 03:18
I have been tweaking this brilliant panel for the optimum view of my liking.
+ There are 4 Facets: Format | Genre | Composer/Band/Artist | Album
for Classical music: $if3($if($stricmp(%genre%,Classical),%composer%,),%band%)

If anybody likes to try this layout, I am quite happy share:
http://wmwiki.com/mcored/research/foobar20...unes%20Plus.fthCheers,
McoreD
Mr Broly
Apr 27 2008, 20:11
Hi, every time I close foobar, my facets position goes back to the top. Is there a way to stop this and make it remember where I was at?
blankfaze
Apr 30 2008, 15:24
I apologise in advance, because I'm sure this has been addressed elsewhere in this thread but I can't find it.
I use one large playlist with my entire library in it. I use facets to filter this library.
I want to be able to double-click on a selection in Facets and have that file play within my current playlist. Currently it creates a new playlist. There is an easy workaround, I can just right-click the selection and select Play... but it would be faster/easier to be able to double-click...
Is this possible?
blankfaze:
Go to Preferences > Media Library > Facets. All that you need to change is within the 'Events' group there.
MuseFan
May 12 2008, 09:48
I've got an additonal question to one of blankfaze. Since I organize my foobar in more or less the same way.

is it possible to double click in the Facets-view the album you want play and hereby stay within the same playlist but without wiping the complete list? So, put down in actions:
1. Look for your album in facets view
2. Double click to play
3. album gains focus and plays in your current playlist (where the complete playlist stays intact and not replaced by your selection)
Maybe it's already possible, but ive been playing with the mentioned options in the events dialog and havent been able to achieve the described....
Frank Bicking
May 12 2008, 10:06
No, that's not possible yet, but planned for a future version.
PAStheLoD
May 12 2008, 10:25
A browsing playlist and a play-playlist would be good.
So double clicking would send the selected item(s) to the "play" playlist, whereas just clicking, selecting would only change the "browsing" playlist.
Hoooray for Facets, by the way

The best extension for foobar2000 since.. EVER :]
MuseFan
May 12 2008, 10:27
QUOTE(Frank Bicking @ May 12 2008, 10:06)

No, that's not possible yet, but planned for a future version.
Looking forward to it!
q-stankovic
May 12 2008, 11:53
As you mentioned in the foobar 0.9.5.3 beta1 thread that facets will support the new library selection viewer playlist let me ask if that planned feature will also be a centralized one? I would like to say that i consider an unique behaviour of library viewers concerning playlist interaction as more important than special features of single components.
Mar2zz
May 19 2008, 12:22
I use facets with four columns (folder, genre, artist, album). Is there a way to force a sortmode when i select a typical genre?
When i select genre soundtrack the foo_facets playlist gets all soundtracks, but sorted on artist. I want this to be sorted on year or moviename (not sure which one yet). Because the artist facet is b4 the albumfacet it gets sorted by (album) artist, is this behaviour i can change or is it not implemented in facets?
(the order of the facets needs to stay the same, for all other genres its ok the normal way)
ozstrike
May 19 2008, 16:37
Is there a way to send albums prefixed with "Live" to the end of the facet view?
eg, I have a lot of Godspeed live albums. With normal sorting, there are 2 studio albums above the list of live albums, and 2 below. This can get annoying, as I'd rather have my live albums separated somehow. Sorting to make live albums go to the end seems like the best option, but I can't seem to figure it out.
QUOTE(ozstrike @ May 19 2008, 18:37)

Is there a way to send albums prefixed with "Live" to the end of the facet view?
eg, I have a lot of Godspeed live albums. With normal sorting, there are 2 studio albums above the list of live albums, and 2 below. This can get annoying, as I'd rather have my live albums separated somehow. Sorting to make live albums go to the end seems like the best option, but I can't seem to figure it out.
Just prefix it with "z"s to make it go to the end:
CODE
$if($strstr(%album%,"Live"),"zz"%album%,%album%)
ozstrike
May 20 2008, 10:19
That should work I guess, but it doesn't. It just displays them normally. But looking at the code, wouldn't that make it display a zz before the album name? That would look a bit messy, wouldn't it :/
QUOTE(ozstrike @ May 20 2008, 12:19)

That should work I guess, but it doesn't. It just displays them normally. But looking at the code, wouldn't that make it display a zz before the album name? That would look a bit messy, wouldn't it :/
Yeah, that's the idea (because Facets doesn't support display by one criteria while sorting by another. The author of the component has made it clear that he doesn't intend to implement this feature either.)
Only Playlist Tree is capable of what you want. But it can't be used with DUI, and the author has stopped development altogether, which means you're out of luck.
nicke2323
May 21 2008, 06:27
I posted a list of suggestions for improving search in Facets (and fb2k's built-in library search) here:
http://www.hydrogenaudio.org/forums/index....showtopic=63229Is there any chance of seeing these ideas implemented in a future version? The umlaut issue is (in my opinion) the most important one. Thanks!
Selecting "All" for Genre will hide all the artists and albums that have all songs that have no genre. I think this is a bug. I have to ctrl+click on artist to de-select it to get it to show all my artists and albums.
vigylant
May 22 2008, 13:16
Just make your own custom genre column:
$if2(%genre%,Unknown genre)
Assuming %genre% is the correct thingy
ozstrike
May 25 2008, 10:05
It says on the site that you'll add statistics columns if you like the idea?
Is there any way you could add a "type" statistic. It would requite an extra tag I guess, but I really want to be able to sort my Live albums and EPs separately from normal albums.
Frank Bicking
May 25 2008, 10:26
QUOTE(nicke2323 @ May 21 2008, 14:27)

I posted a list of suggestions for improving search in Facets (and fb2k's built-in library search) here:
http://www.hydrogenaudio.org/forums/index....showtopic=63229Is there any chance of seeing these ideas implemented in a future version? The umlaut issue is (in my opinion) the most important one. Thanks!
Keyboard shortcut to the search box: planned.
Fixing unexpected/inconsistent behaviours: planned.
Changes to the query syntax or rules itself (including umlauts) would have to be made in the core.
QUOTE(ozstrike @ May 25 2008, 18:05)

Is there any way you could add a "type" statistic.
How is that a statistic?
If you have a tag field for that, you can just add and use it as a column, like [%type%].
Hi.
I noticed the new query syntax DURING LAST doesn't work in search box. (XPsp3)
Thank you.
q-stankovic
May 26 2008, 09:14
JohanDeBock
May 26 2008, 09:28
QUOTE(JohanDeBock @ Apr 11 2008, 22:36)

I started using more shortcuts and noticed something strange:
When using "Send to playlist and play : someplaylist" when some artist or album is selected in Facets all works well and someplaylist starts playing with the right artist or album, BUT sometimes the playlist is not sorted in the regular %path_sort%.
What about this?
QUOTE(q-stankovic @ May 26 2008, 09:14)

Thank you, q-stankovic and sorry, Frank.
I'll be more cautious next time.
ozstrike
May 28 2008, 18:31
QUOTE(Frank Bicking @ May 25 2008, 10:26)

If you have a tag field for that, you can just add and use it as a column, like [%type%].
Wow. I'm a complete idiot. Why did I not think of that?
Is there a way to reset all facets to ALL if you have multiple instances of facets? I have more, and I sometimes notice it won't refresh right if I use another facets panel if I just used facets in an other panel before that. The selection of the first panel is then still active.
i noticed a bug in the facets plugin:
- the rating statistics column doesn't work with ratings from the official playback statistics plugin...
It works for me, but it shows squares, same as in properties. Think it has something to do with a missing font or language on my system.
You can make a new facet though, with this code
CODE
$pad($repeat(SYMBOL,%rating%), 5,)
and use multiple columns for showing ratings with a symbol of your choice.
QUOTE(Mar2zz @ Jun 7 2008, 13:36)

It works for me, but it shows squares, same as in properties. Think it has something to do with a missing font or language on my system.
I'm talking about the "Statistical columns like Duration, Total Size, Average Rating, Play Count, and others."
The Average Rating column doesn't work with rating fields from the Playback Statistics plugin...
I know you are talking about that. The code I posted is a workaround for it.
Frank Bicking
Jun 7 2008, 09:09
Support for those ratings is planned.
Background: Facets currently retrieves ratings from the tags. The playback statistics component makes them available through the new metadb_display_field_provider API (and thus, the %rating% title formatting variable), which was introduced as a successor to the dropped metadb_display_hook API in 0.9.5.2. foo_facets has not been adapted to reflect this change yet.
QUOTE
The code I posted is a workaround for it.
Facet column patterns are not able to calculate ratings across multiple tracks, to for example display ratings for artists or albums.
QUOTE
Support for those ratings is planned.
Background: Facets currently retrieves ratings from the tags. The playback statistics component makes them available through the new metadb_display_field_provider API (and thus, the %rating% title formatting variable), which was introduced as a successor to the dropped metadb_display_hook API in 0.9.5.2. foo_facets has not been adapted to reflect this change yet.
thanks for the quick reply. looking forward for the next release!
~*McoreD*~
Jun 13 2008, 20:33
QUOTE(MuseFan @ May 12 2008, 23:48)

I've got an additonal question to one of blankfaze. Since I organize my foobar in more or less the same way.

is it possible to double click in the Facets-view the album you want play and hereby stay within the same playlist but without wiping the complete list? So, put down in actions:
1. Look for your album in facets view
2. Double click to play
3. album gains focus and plays in your current playlist (where the complete playlist stays intact and not replaced by your selection)
Maybe it's already possible, but ive been playing with the mentioned options in the events dialog and havent been able to achieve the described....

Somewhat related:
Suppose, I browse the library using the facets browser.
I pick an album, the tracklist gets displayed in the bottom. I double click a song to play.
When I browse another album, the facets playlist will be replaced with the new selection
So as soon as the current song is finished, it will start the first song of the new selection.
This happens disregarding the setting u have in foobar2000 to stop playback follows cursor
QUOTE(Frank Bicking @ May 13 2008, 00:06)

No, that's not possible yet, but planned for a future version.
I think I was just explaining the same scenario and thanks Frank for addressing this. I will wait for a new release when it is ready.

Edit:
I was also wondering if it is possible to update the Facets browser when you double click a (large) user playlist. It is then possible to utilize the Facets panel to search for tracks within this playlist.
QUOTE(~*McoreD*~ @ Jun 13 2008, 22:33)

I was also wondering if it is possible to update the Facets browser when you double click a (large) user playlist. It is then possible to utilize the Facets panel to search for tracks within this playlist.
It's currently listed as an undecided feature in the roadmap:
QUOTE
Add a context menu command: Utils, Create Facets view from these items.
Benji99
Jun 16 2008, 19:14
QUOTE(Frank Bicking @ Feb 29 2008, 03:17)

There is an undocumented feature for this purpose:
[%<artist>%]|[%performer%]|[%composer%]|and so on
I'm trying to use this feature.
My tracks are tagged as follows, every track has a %artist% and some tracks have %artist2%
I want to have %artist% and %artist2% show up under a single column as if they were the same tag.
CODE
$if($not(%genre2%),[%artist%]|%<artist2>%)
When I use that string, all I can see are the tracks with %artist2% tags while every track with just %artist% are listed under '?'.
NOTE: Don't pay attention to the %genre2%, I use that filter out my classical tracks which are tagged differently.
Any idea how to fix this?
Thanks in advance!
Benji99
Jun 16 2008, 21:29
I have a feature suggestion, I don't know if this easily feasible or not.
Is there any way that you could support string manipulation functions on Multi-value tags within a column?
For example, it would be amazing if this function would work properly:
CODE
$right(%<credits>%,$sub($len(%<credits>%),$strchr(%<credits>%,';')) )
Any hope for this?
Thanks again
hesher
Jun 23 2008, 07:24
Autoplaylists created by the facets components are not viewable in the new foobar 0.9.5.4 beta interface.
Frank Bicking
Jun 24 2008, 13:37
The feature of editing autoplaylists has just been introduced in 0.9.5.4 beta. Peter has yet to provide an API to which I could report the query and sort strings to be displayed in the dialog. In addition, I currently don't have the time to focus on Facets. Please have some patience.
QUOTE(Benji99 @ Jun 17 2008, 03:14)

CODE
$if($not(%genre2%),[%artist%]|%<artist2>%)
(...) Any idea how to fix this?
Patterns are split before they are evaluated.
QUOTE(Benji99 @ Jun 17 2008, 05:29)

Is there any way that you could support string manipulation functions on Multi-value tags within a column?
Sorry, changing this would require a revision of title formatting in the program core.
cmdrpaddy
Jun 25 2008, 08:42
Does anyone have a formatting string to ignore the leading The in a facet when only the first letter of the artist is displayed?
I'm using
$caps($left(%album artist%,1))
I would like The Smashing Pumpkins to be under S not T
Sorry if this has been answered before, searching for The on a forum is a fruitless task.
Frank Bicking
Jun 25 2008, 08:49
$caps($left($stripprefix(%album artist%),1))
$stripprefix has been introduced in foobar2000 0.9.5.3.
cmdrpaddy
Jun 25 2008, 09:06
QUOTE(Frank Bicking @ Jun 25 2008, 14:49)

$caps($left($stripprefix(%album artist%),1))
$stripprefix has been introduced in foobar2000 0.9.5.3.
Thanks alot!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.