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: Columns UI (Read 4559723 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Columns UI

Reply #6825
I have just installed this great theme called absolut glass by steric which makes use of Columns UI.
The theme is aesthetically perfect, but the playlist, lyrics, library and so on buttons are tiny, thus uncomfortable to click.

Can one use the keyboard (left/right arrow keys, or ctrl+tab) to switch from Playlist to Library or to Lyrics panel?

Columns UI

Reply #6826
I am trying to display a list of artists in a playlist and I am having one hell of a time...There are three columns separated vertically, the left most column is Playlist switcher, the next column over I want to display a list of artists within the playlist selected(just like Filter, but I am using filter in a different tab to display all artists in the music colleciton), and the right most column being the albums within the selected artist. I have everything working great except for displaying a list of artists within a given playlist. I have searched high and low and cannot come up with anything helpful! Any help would be greatly appreciated!


Columns UI

Reply #6827
I am trying to display a list of artists in a playlist and I am having one hell of a time...There are three columns separated vertically, the left most column is Playlist switcher, the next column over I want to display a list of artists within the playlist selected(just like Filter, but I am using filter in a different tab to display all artists in the music colleciton), and the right most column being the albums within the selected artist. I have everything working great except for displaying a list of artists within a given playlist. I have searched high and low and cannot come up with anything helpful! Any help would be greatly appreciated!

You can do it with Facets in Default UI, although it doesn't work quite like Filter

Columns UI

Reply #6828
You can do it with Facets in Default UI, although it doesn't work quite like Filter

Thanks for the quick response! I am using Columns UI, so I think it needs to be a panel to go where it needs to...if I am wrong please correct me!

Columns UI

Reply #6829
Or if anyone knows how to get something like NG Playlist to only show group headers I could set it to group by artist

Columns UI

Reply #6830
.

Hi everyone, 

Is there a way to add a playlist or a button that classifies all my songs by creation date, to see the latest that I add to my library? 

There is my currently configuration:



Columns UI

Reply #6831
You will need foo_playcount then Library/Playback Statistics/Show recently added will create an autoplaylist for you.

 

Columns UI

Reply #6833
I wonder if someone here can help me with some grouping that I've been trying to get working.

Basically, I want to have it so that, for albums with multiple discs, I can set the album tag to be the same on all discs, and use the discnumber and totaldiscs tags to differentiate between them.

My plan was to use a group for this, that would group multiple discs seperately and, for albums with only one disc, not display the group at all. I've only managed to do half of this so far, using the group:
Code: [Select]
$ifgreater(%totaldiscs%,1,Disc %discnumber% of %totaldiscs%,[%blah%])


This works great for the multiple disc albums like this:



This is what it looks like at the minute when there's just one disc, rather annoying:



Thanks in advance.

Columns UI

Reply #6834
You can get rid of the colored line using $tab(). Not the row itself, though. Alternatively you can put the Disc string to the end of the first grouping pattern.

Columns UI

Reply #6835
You can get rid of the colored line using $tab(). Not the row itself, though. Alternatively you can put the Disc string to the end of the first grouping pattern.

You're brilliant, the latter works great!


Columns UI

Reply #6836
I seem to be having a specific issue to my media library while using columns ui.

Basically, my Music Library doesn't seem to be upating when scanning a NAS/Network Share. If I switch over to Default UI, it updates, and then I can switch over to Column UI and it will be fine again. It could be something else, but I am not sure what is going on or why it isn't updating.

Here is the console log:
Watching: Y:\
Columns UI/Tab stack: Warning: Playlist Organizer panel was visible on creation! This usually indicates a bug in this panel.
Custom Database: Initialize
Custom Database: table quicktag already exists (1)
Custom Database: table database_version already exists (1)
Custom Database: index url_idx already exists (1)
Custom Database: Completed
Album list panel: initialised in 0.247 s
WSH Panel Mod (Last.fm Playcount Sync by marc2003): Parsing file "C:\Users\andrew\AppData\Roaming\foobar2000\marc2003\common4.js"
WSH Panel Mod (Last.fm Playcount Sync by marc2003): Parsing file "C:\Users\andrew\AppData\Roaming\foobar2000\marc2003\tooltip_buttons.js"
WSH Panel Mod (Last.fm Playcount Sync by marc2003): initialized in 49 ms
WSH Panel Mod ({218C5EF4-75BD-4BFA-8CFE-F55A0B8AE805}): initialized in 0 ms
WSH Panel Mod ({E30B1BD2-91F4-44AA-AADC-C5B5415E1EAD}): initialized in 1 ms
WSH Panel Mod (Selection Statistics by Elevory): initialized in 317 ms
WSH Panel Mod (Playback Buttons by marc2003): Parsing file "C:\Users\andrew\AppData\Roaming\foobar2000\marc2003\common4.js"
WSH Panel Mod (Playback Buttons by marc2003): Parsing file "C:\Users\andrew\AppData\Roaming\foobar2000\marc2003\tooltip_buttons.js"
WSH Panel Mod (Playback Buttons by marc2003): initialized in 5 ms
WSH Panel Mod (Generic Divider by Elevory): initialized in 0 ms
Seekbar: taking Direct3D9 path.
Seekbar: Frontend initialized.
Location not parsable: "Y:\Justice\Justice - Audio, Video, Disco 3202", reason: Access denied
Location not parsable: "Y:\Justice\†", reason: Access denied
Startup time : 0:02.718669
Location not parsable: "Y:\Audio Test\2L-050_tr01_multi_DXD.zip", reason: bad allocation
Autobackup: Backed up 48 items to autobackup.20130121-174143.zip
Opening track for playback: "Y:\Porcupine Tree\Porcupine Tree - Voyage 34 - The Complete Trip (320)\03 Phase III.mp3"
Audioscrobbler: Handshake successful.
Opening track for playback: "Y:\The Vapors\The Vapors - Turning Japanese - The Best of the Vapors - what\10 - America.mp3"
Wave cache: finished analysis of "Y:\The Vapors\The Vapors - Turning Japanese - The Best of the Vapors - what\10 - America.mp3"
Last.fm Playcount Sync: Contacting Last.fm....
Last.fm Playcount Sync: Last.fm responded 'OK'
Opening track for playback: "Y:\Dangermuffin\Dangermuffin - Olly Oxen Free (2012) [V0]\05 - Homestead.mp3"
Audioscrobbler: Submitting 2 cached tracks...
Audioscrobbler: Submission succeeded.
Wave cache: finished analysis of "Y:\Dangermuffin\Dangermuffin - Olly Oxen Free (2012) [V0]\05 - Homestead.mp3"
Last.fm Playcount Sync: Contacting Last.fm....
Last.fm Playcount Sync: Last.fm responded 'OK'

I see the two Justice entries, which I am not worried about as that is because the folders are no longer linking correctly, but there are other things like I just added Channel Orange, and a couple of Electro House albums, and they aren't appearing. Any way I can figure out what is the cause of this?

Columns UI

Reply #6837
This post is in response to inquiries I've seen in various threads in regards to the displayed background row colors in NG Playlist. It is intended for those using the default Columns UI.

In Prefererences > Display > Columns UI > Playlist View > Globals tab > Style tab, you will see this script:
Code: [Select]
$if(%_themed%,,$if($and(%isplaying%,$not(%_is_group%)),

$puts(back,$offset_colour(%_back%,$offset_colour($calculate_blend_target(%_back%),ff0000,20),25))
$puts(back-selected,$offset_colour(%_selected_back%,$offset_colour($calculate_blend_target(%_selected_back%),ff0000,20),25))
$puts(back-selected-no-focus,$offset_colour(%_selected_back_no_focus%,$offset_colour($calculate_blend_target(%_selected_back_no_focus%),ff0000,20),25))

,

$ifequal($mod($if2(%_display_index%,%list_index%),2),0,
$puts(back,$offset_colour(%_back%,$calculate_blend_target(%_back%),25))
$puts(back-selected,%_selected_back%)
$puts(back-selected-no-focus,%_selected_back_no_focus%)

,
$puts(back-selected,$offset_colour(%_selected_back%,$calculate_blend_target(%_selected_back%),7))
$puts(back-selected-no-focus,$offset_colour(%_selected_back_no_focus%,$calculate_blend_target(%_selected_back_no_focus%),7))
$puts(back,%_back%)
)

)
$set_style(back,$get(back),$get(back-selected),$get(back-selected-no-focus)))
which I will try to explain the relevant parts in terms of the most often asked questions I've noticed. The script only effects the background color of the rows. It only has an effect on the color if you have System or Custom selected as the Mode under Preferences > Display > Columns UI > Colours and Fonts > Colours tab. It obviously uses the colors you have set under Colours and Fonts. Also note that other scripts added in various places might override this script.

Before I begin, allow me to say that I've only been able to find vague references to how $offset_colour() and $calculate_blend_target() affect the color, so I won't try to explain them. I will elaborate a little more on the effect they have in a moment. (If anyone can add anything meaningful about them, feel free to do so because I'd like to know, lol).

And here's a quick color reference to bear in mind in my explanations:
The red values are a color in hex, think of the green values as saturation and think of the purple values as lightness/brightness/intensity (depending upon your perception of the context. I will just reference it as intensity for simplicity's sake). Saturation and intensity values use a range of 0 to 255.

This part affects the background row color of a playing track/item:
Quote
$puts(back,$offset_colour(%_back%,$offset_colour($calculate_blend_target(%_back%),ff0000,20),25))
$puts(back-selected,$offset_colour(%_selected_back%,$offset_colour($calculate_blend_target(%_selected_back%),ff0000,20),25))
$puts(back-selected-no-focus,$offset_colour(%_selected_back_no_focus%,$offset_colour($calculate_blend_target(%_selected_back_no_focus%),ff0000,20),25))

,
It's rather self-explanatory under what condition how each line affects the background, bearing in mind that they only apply during playback..

The default color stipulated here (ff0000) is red, yet you will notice that the color returned is blue. This is due to the aforementioned $offset_colour() and/or $calculate_blend_target() to the best of my knowledge. If you decide to change the color and it doesn't return the color you stipulate, generally speaking you can change the value to the color that is returned to obtain the color that you do want, e.g. if you want red returned, change the value to 0000ff (blue). You may have to play around a bit with it to get what you want. Some colors do return true, however.

If you want the background of the playing track to be more noticeable, increasing the "saturation" value if your color scheme is dark or increasing the "intensity" value if your color scheme is light, generally speaking, will achieve this. You might, however, find that you will want or need to adjust both of the values.

As a quick side note, those of you who do not want to change the background color in any way, but would like the text color of the entire row to be different for the playing track, you can add a line such as the following into the part of the script quoted above. Just insert it between the last text line and the comma (the colors stipulated will return true):
Code: [Select]
$set_style(text,ff0000,ff0000,ff0000)

On to the next part. The (seemingly often disliked, lol) alternate row color:
Quote
$ifequal($mod($if2(%_display_index%,%list_index%),2),0,
$puts(back,$offset_colour(%_back%,$calculate_blend_target(%_back%),25))
$puts(back-selected,%_selected_back%)
$puts(back-selected-no-focus,%_selected_back_no_focus%)

,
Again, it's rather self-explanatory under what condition how each line affects the background. The magic here is the first line, as it specifies to display the background color in all even-numbered rows differently, but you'll notice in the lines that follow the first that it is only when a row or rows are not selected that this script modifies the background differently to what is stipulated under Colours and Fonts. There are no color settings here as those you have set under Colours and Fonts are used.

Those of you who do not want the alternate row color or want it to be more subtle will need to lower this "intensity" value if your color scheme is dark or raise it if your color scheme is light (and will obviously need to do the opposite if you want the alternate row color to be more pronounced).


This next part sets how the background row color of the odd-numbered rows is affected.
Quote
$puts(back-selected,$offset_colour(%_selected_back%,$calculate_blend_target(%_selected_back%),7))
$puts(back-selected-no-focus,$offset_colour(%_selected_back_no_focus%,$calculate_blend_target(%_selected_back_no_focus%),7))
$puts(back,%_back%)
)
As you can see, this affects how the background color is shown only for selected tracks. The background for unselected tracks is shown as stipulated under Colours and Fonts.

The default values of 7 seem to work well for most people so I suggest not modifying them; however, if you decide to change them, the "intensity" values here work opposite to how they work for even-numbered rows. That is, if you have a dark color scheme, you'll want to raise the value for the selection color to be more subtle and, if your color scheme is light, you'll want to lower the value to make the selection color more subtle. Pay attention while adjusting these values as you might make your the text in these rows difficult if not impossible to read. It bears repeating: I suggest not modifying them.


As a final comment, you'll notice that the "intensity" values are mostly consistent throughout the default script. Keep that in mind.

Hopefully this post will help someone.

Columns UI

Reply #6838
This part of my post above
Quote
This next part sets how the background row color of the even-numbered rows is affected.
Quote
$puts(back-selected,$offset_colour(%_selected_back%,$calculate_blend_target(%_selected_back%),7))
$puts(back-selected-no-focus,$offset_colour(%_selected_back_no_focus%,$calculate_blend_target(%_selected_back_no_focus%),7))
$puts(back,%_back%)
)

should have said:

This next part sets how the background row color of the odd-numbered rows is affected.

I apologize if that confused anyone.


Columns UI

Reply #6839
Is there a way to have different columns for the NG playlist and the columns playlist panels? I want the columns playlist (labeled in the picture) to only show the artist name and song name, but I haven't found a way to change it independently from the NG playlist.
Is this even possible and if yes, how?


Columns UI

Reply #6840
since this is abandonware, should I move to something else?

Columns UI

Reply #6841
surely you can decide that for yourself? if it's reliable and does everything you want, i see no reason to change. i guess it depends on what other components you use/features you need.

a lot of simple columns UI layouts can easily be reproduced in default UI. but some things can't. if you need to hide the menu/status bar or like to have panels arranged with no borders using panel stack splitter, then you'll have to stick with CUI.


Columns UI

Reply #6842


I just have a question. I have an Album List Panel on the left, and that shows all my artists. But I want to be able to choose between my "All Music" artists and my "Favourites" artists from that panel. So that when I'm looking through my favourites playlist, I can scroll through a list of artists, rather than just the EsPlaylist view (I don't mean the vertical view either).

Is this possible? Or can the Album List Panel not allow you to switch between playlists?

Can I have it so that when I click on my Favourites playlist in the playlist switcher panel, it will change my album list to show those artists, rather than all of the artists in my library?

Columns UI

Reply #6843
...
Is this possible? Or can the Album List Panel not allow you to switch between playlists?

Can I have it so that when I click on my Favourites playlist in the playlist switcher panel, it will change my album list to show those artists, rather than all of the artists in my library?


To be succinct, no. The album list panel isn't "playlist aware". It displays the contents of the entire library or a subset thereof based upon its settings (and the same can be said of CUI's filters as well).

The only component I know of which can do what you're asking is Facets which has a Library mode and a Playlist mode. Technically, Facets is DUI but it can be used with CUI. You can open it in a window via Library > Facets in the main menu (after you've installed it, of course). It's behavior is somewhat different when used with CUI in this way, however.

Going by your layout, I'd suggest switching to using the DUI because I see nothing there that can't be accomplished with the DUI other than the CUI status pane, unless CUI has something you cannot do without that I'm not seeing.

Columns UI

Reply #6844
Going by your layout, I'd suggest switching to using the DUI because I see nothing there that can't be accomplished with the DUI other than the CUI status pane, unless CUI has something you cannot do without that I'm not seeing.




Awesome, thanks. That worked.

Columns UI

Reply #6845
Hi, I am new to foobar and this forum and I hope this is the right thread for my question.

I use Album List (and Column UI) to filter my songs. But depending on how I tagged my files, I get multiple results when I type in filter words.
For example: I tagged each track's genre as Pop, Rock and Soundtack. Now when I search for songs I get the correct results but since they belong to three genres, they are shown three times each in the playlist. Took me a while to find out, but I think the tagging is the problem here. Is there a way to get around this (other than reducing the tags to one genre each song)?

Columns UI

Reply #6846
Your tags are not the problem. The problem is due to a bug in Column UI's Album List Panel when using the %<TAG>% construction. The bug typically appears when using the construction in consecutive nodes and files have multi-value tags for one or more nodes.

You probably have a string that looks something like this:
Code: [Select]
%<genre>%|%<artist>%|...

Instead of that, you need to use something like:
Code: [Select]
$meta_branch(genre)|$meta_branch_remap(artist)|...


Additional title formatting you can use in place of the %<TAG>% construction are $meta_branch_swapprefix(), $meta_branch_remap_swapprefix(), $meta_branch_stripprefix() and $meta_branch_remap_stripprefix(). Note that these four work in Album List Panel only and will not work in Album List.

edited for clarification

Columns UI

Reply #6847
How can I make the Playlist View display a picture for the "Rating" column when the rating is 5?



Columns UI

Reply #6848
My "Loved" Column has this in the format:

Code: [Select]
$ifequal(%LASTFM_LOVED_DB%,1,♥,)


But it's for last.fm. Here's the post that shows you how to do it. But what you're looking for is different, but this might be able to help you.

Columns UI

Reply #6849
^i'm not really sure why you had to mention last.fm if all the person wants to use is the rating??? $ifequal(%rating%,5,♥,)

you can prefix that with $rgb(255,0,0) to make it red. it would need tweaking to get whatever colour is in that screenshot.

if the heart provided by your font isn't good enough, then you'd have to dabble with ELplaylist which can draw images or use falstaff's playlist for WSH panel mod. the column in that would also need tweaking as it works slightly differently $ifequal(%rating%,5,1,0)