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 4589678 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Re: Columns UI

Reply #7125
Quote
Most likely you are referring to grouping which can be disabled in 'File/Preferences/Display/Columns UI/Playlist view/Grouping' (by deleting all the lines under Script).

Good to know, suppose I could have another look at it.

Quote
As a general point, I would like to stress that Columns playlist should really be avoided – it was superseded by NG playlist long ago. I might just rename it to Legacy playlist and output messages in the console to discourage usage.

Why was it superseded exactly? I'd never heard that NG was it's successor or something.

Re: Columns UI

Reply #7126
As a general point, I would like to stress that Columns playlist should really be avoided – it was superseded by NG playlist long ago. I might just rename it to Legacy playlist and output messages in the console to discourage usage.

BTW, it would be great to have the pseudo transparency option in the NG Playlist panels.
I'm late

Re: Columns UI

Reply #7127


Status pane script:
Code: [Select]
$if(%is_status_pane%,[%album artist% \][\ %performer%]    Last Played: [%last_played%] $crlf(),$if(%ispaused%,Paused,Playing) | )%codec% | %bitrate% kbps | %samplerate% Hz | $caps(%channels%) | ]
work with CUI 0.4, npt work with CUI 0.5b1
Why?

Re: Columns UI

Reply #7128
Why was it superseded exactly? I'd never heard that NG was it's successor or something.
Because it it was old code and the list view control behind it wasn't reusable. The same list view control used by NG playlist is used by the playlist switcher panel, the Filters, Item properties and elsewhere. Columns playlist has certain deficiencies like limited drag and drop support and rather than continue to maintain it I would prefer to remove it.

BTW, it would be great to have the pseudo transparency option in the NG Playlist panels.
I'm not familiar with it – do you mean it works with Columns playlist but not NG playlist?

Status pane script:
Code: [Select]
$if(%is_status_pane%,[%album artist% \][\ %performer%]    Last Played: [%last_played%] $crlf(),$if(%ispaused%,Paused,Playing) | )%codec% | %bitrate% kbps | %samplerate% Hz | $caps(%channels%) | ]
work with CUI 0.4, npt work with CUI 0.5b1
Why?
Good question. Looks like an accidental regression. I've put up 0.5.0 beta 2 to fix that – thanks for the report.
.

Re: Columns UI

Reply #7129
BTW, it would be great to have the pseudo transparency option in the NG Playlist panels.
I'm not familiar with it – do you mean it works with Columns playlist but not NG playlist?

I dont' really know, perhaps it is just a panel stack splitter thing. Some panels have that option when inserted in a panel stack splitter layout. Columns playlist, as well as NG playlist, don't.
I'm late

Re: Columns UI

Reply #7130
Because experience shows that people are not perfect. And if someone else takes the time to properly understand the core of the problem, think about it from his own unique viewpoint and consider his own set of potential solutions then pit that against the one that was already presented, more often than not you might find that a much more elegant solution can be found.
I did appreciate your input, but I feared that from the direction the discussion took, it would be focusing too much on a way to keep m-TAG in the mix, which, even though it formed the basis of the question, was totally not the direction I wanted to venture into. I mean, it may have been the reason for me ending up with two separate installs, but that may not be always the case, and if there was a roundabout way to accomplish  what I wanted, it might have come in useful in other situations too like when wanting to add a layout made by someone else. Again, the effort was still appreciated. In my case m-TAG happened to be the trigger but it's not the core reason.

btw. I do have to thank you for this one.
You can go to 'File/Preferences/Media library/Album list panel/Advanced' and check 'Apply core sort setting to added items'. Then sorting will be based on 'File/Preferences/Shell integration/Sort incoming files by'.
The setup I wanted to incorporate the layout into was sorting files exactly how I wanted it but the one from which I wanted to extract the layout always reverted to alpha sort by physical filename and for the life of me couldn't find out why. Turned out the setting you referred to wasn't checked in that one...

Re: Columns UI

Reply #7131
So the sorting script I had works fine, and I'm grateful for the help you guys provided. But now my hotkey doesn't really work right anymore.

I use hotkeys to move forward and back through a playlist (previous and next) but when I hit next it doesn't go to the next song in the playlist as I see it but rather in some other way. If I go to an album and the album is say 8 tracks long, if I play track 1 and then use the hotkey to go the next track it doesn't go to track 2 but track 3. If I hit it again it goes to track 5. And it's not that it's skipping playing every other song because it acts even crazier when I'm in a big playlist with multiple artists or albums.

It's as if the hotkey playback command is following the old sorting order, not my new one.

Why would this happen and how can I fix it?

Edit: It only seems to happen when I'm selecting music through Playlist Switcher, not my library viewer.

Re: Columns UI

Reply #7132
Colours and Fonts, can you add a new custom color? Like: CUI>Layout>presrts

Re: Columns UI

Reply #7133
0.5.0 final released. No real changes from beta 2.

Colours and Fonts, can you add a new custom color? Like: CUI>Layout>presrts
Do you mean presets for the colours? Or adding a new type of colour where Item, Selected item etc. are listed?

So the sorting script I had works fine, and I'm grateful for the help you guys provided. But now my hotkey doesn't really work right anymore.
...
If it only happens when 'selecting music through Playlist Switcher', what is the relation with Album list panel? What is your playback order? Do you have 'Playback follows cursor' on?
.

Re: Columns UI

Reply #7134
Do you mean presets for the colours? Or adding a new type of colour where Item, Selected item etc. are listed?

Colours and Fonts>Colours>Mode>Custom 1 or Custom 2 or Custom 3...(New Custom 1 or New Custom 2...)

Re: Columns UI

Reply #7135
Hi, is it possible to add number of items to a filter, like in facets?
Would be nice if You can choose if you want to show them or not.
<3 f00

Re: Columns UI

Reply #7136
Hi all, I hope I am in the right place here.
I would like to create a column that checks if an item is already in another playlist. Is such a thing possible?

Re: Columns UI

Reply #7137
@musicmusic

I hope you can help me out, I've taken the plunge and installed the VS2015 Community version, did a successful foo_sample build to see if I got everything correctly setup, and proceeded to clone foo_ui_columns.

Here I am running into a wall, I used VS2015 to clone the repo and put a tickmark to recursively get submodules. But everytime I try I get an error that it cannot load submodules and when I load the solution it complains the pfc, mmh and ui_helpers projects are unavailable.

I haven't even tried building it since I expect this will utterly fail if I already get errors in this stage.

What am I missing or doing wrong?


@Just_Addict, if you want to copy layout presets from one foobar2000 installation to another, without losing any existing presets in the process, you are right there currently isn't a way to do that. Unfortunately, as you pointed out, the copy and paste functionality in the layout preferences doesn't work across instances. If you want to do it just this one time, you could always compile Columns UI yourself and just comment out the line that removes the current presets when importing an FCL file.

Re: Columns UI

Reply #7138
@Just_Addict
You're right, the GitHub Extension for Visual Studio seems to make a mess of it for some reason.

If you run git submodule init followed by git submodule update on the command line (in the clone directory), it should sort it out.
.

Re: Columns UI

Reply #7139
Thank you very much for that quick response. Sounds like I better keep using SmartGit instead of  using VS addins/tools

Re: Columns UI

Reply #7140
so i downloaded foobar and added columns ui last year but i didn't start tinkering with it until like this week. i learned the code but i still have a few questions.
attached is my current layout. i've been trying to figure out a way to get the total items and length objects into the status bar from the status pane, but nothing i've tried works. also, for some reason this code doesn't work:
Code: [Select]
[%discnumber% of %totaldiscs% discs]
if there is no disc metadata information, this line should not appear because of the brackets, but it doesn't. i've found if i put brackets around part of the code like this it works:
Code: [Select]
[[%discnumber% of] %totaldiscs% discs]
i can't find explanation for this anywhere. each reference says that brackets don't show information when it is not available. it doesn't show up in the image because i deleted the code, but when it did it would say "? of ? discs"
i was also wondering if there is a way i can change the background color of the group titles.
help please? this is my last resort haha

Re: Columns UI

Reply #7141
This should work:
Code: [Select]
[%discnumber% of ][%totaldiscs% discs]

Re: Columns UI

Reply #7142
it works, thank you!

Re: Columns UI

Reply #7143
I have a problem when I have 2 cd's per album :
I have an album with 2 cd's, but it's not written in the tags, but both cd's are in different directories :
C:\blablabla\Artist - Album [Date]\Disc #1 and C:\blablabla\Artist - Album [Date]\Disc #2
Now, when I display the album I have :

What I want is, without editing the tags, to split the tracks into Disk #1 and Disk #2, using the directory names.
I don't know if you can get my point, but if you have any questions, feel free to ask.

Re: Columns UI

Reply #7144
i'm not sure if this will answer your question but i've solved that problem by using the folder structure option on your media library column. it just displays the folders and files in a hierarchical structure so it sorts songs from albums with more than one disc in order. i used the album list panel from the columns UI website (https://yuo.be/columns_ui). i hope this helps!

Re: Columns UI

Reply #7145
This is note completely answering my question, because I want to split the two discs.
Here is the global idea (thank you Paint xD)

Re: Columns UI

Reply #7146
you can edit the way the albums are grouped. add this to your grouping format:
Code: [Select]
$if($greater(%totaldiscs%, 1), Disc #%discnumber%)
hopefully it works?

Re: Columns UI

Reply #7147
This can not work, because the total disk and the discnumber are not in the tags of the files.

Re: Columns UI

Reply #7148
ok then use
Code: [Select]
Disc #%directoryname%
.

Re: Columns UI

Reply #7149
Sorry but where should I use this? (I started using foobar2000 about 5days ago)