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

Columns UI

Reply #6425
thanks it works, but can i have the month in letters (ex. may) and not in number (05)?
as in this skin by garbanzox
http://garbanzox.deviantart.com/#/d3a5od7


that's me!!

i'm using the Natural Language Timestamps script from topdownjimmy.

put this script in Preferences - Display - Columns UI - Playlist View - Globals - Variables. i guess you'll have to edit it for your native language...


Code: [Select]
/////////////////////////////////////////
// NATURAL LANGUAGE TIMESTAMPS
// by topdownjimmy
// v0.4 - June 4, 2006
/////////////////////////////////////////

// calculate "dayssince": number of days since song was last played
$if(%last_played%,$puts(dayssince,$sub($add($mul($right(%_system_year%,2),365),$select(%_system_month%,0,31,59,90,120,151,181,212,243,273,304,334),$add($div($right(%_system_year%,2),4),$if($or($greater(%_system_month%,2),$greater($mod(%_system_year%,4),0)),1,0)),%_system_day%),$add($mul($substr(%last_played%,3,4),365),$select($substr(%last_played%,6,7),0,31,59,90,120,151,181,212,243,273,304,334),$add($div($substr(%last_played%,3,4),4),$if($or($greater($substr(%last_played%,6,7),2),$greater($mod($substr(%last_played%,1,4),4),0)),1,0)),$substr(%last_played%,9,10)))),$puts(dayssince,))

// correct "dayssince" to consider early AM to be an extension of previous day
$puts(dayssince,$sub($get(dayssince),$if($and($greater(7,%_system_hour%),$greater($substr(%last_played%,12,13),6)),1,0)))
$if($and($greater(%_system_hour%,6),$greater(7,$substr(%last_played%,12,13))),$puts(dayssince,$add($get(dayssince),1)),)

// calculate day of week
$puts(calcdayofweek,$add(1,$mod($add($substr(%last_played%,3,4),$div($substr(%last_played%,3,4),4),$select($substr(%last_played%,6,7),6,2,2,5,0,3,5,1,4,6,2,4),$substr(%last_played%,9,10)),7)))

// correct day of week to consider early AM to be an extension of previous day
$puts(calcdayofweek,$sub($get(calcdayofweek),$ifgreater(7,$substr(%last_played%,12,13),1,0)))
$if($strcmp($get(calcdayofweek),0),$puts(calcdayofweek,7),)

// calculate period of day (night, morning, etc.)
$puts(dayperiod,$select($add(1,$substr(%last_played%,12,13)),Night,Night,Night,Night,Night,Night,Night,Morning,Morning,Morning,Morning,Morning,Afternoon
,Afternoon,Afternoon,Afternoon,Afternoon,Evening,Evening,Evening,Evening,Night,Night,Night))

// calculate natural language timestamp
$if(%last_played%,$puts(nat_lang_stamp,$ifgreater($get(dayssince),0,$ifgreater($get(dayssince),1,$ifgreater($get(dayssince),6,$if($and($greater($get(dayssince),21),$not($strcmp(%_system_month%,$substr(%last_played%,6,7)))),$if($not($strcmp(%_system_year%,$substr(%last_played%,1,4))),$select($substr(%last_played%,6,7),January,February,March,April,May,June,July,August,September,October,November,December)' '$substr(%last_played%,1,4),$ifgreater(2,$sub(%_system_month%,$substr(%last_played%,6,7)),'Last Month',$select($substr(%last_played%,6,7),January,February,March,April,May,June,July,August,September,October,November,December))),$ifgreater($div($add($get(dayssince),4),7),1,$div($add($get(dayssince),4),7)' Weeks Ago',Last Week)),$select($get(calcdayofweek),Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday)' '$get(dayperiod)),$if($strcmp($get(dayperiod),Night),Last,Yesterday)' '$get(dayperiod)),$if($strcmp($get(dayperiod),Night),Tonight,This $get(dayperiod)))),$puts(nat_lang_stamp,Never))

$set_global(nat_lang_stamp,$get(nat_lang_stamp))

/////////////////////////////////////////


then make a column with this (you can change the color codes obviously):

Code: [Select]
$ifequal($strcmp($get_global(nat_lang_stamp),Never),1,$rgb(230,230,230,210,210,210),$rgb(160,176,163,160,176,163))

'('$get_global(nat_lang_stamp)')'



Columns UI

Reply #6426
In filters, when navigating by keyboard, pressing the same letter twice just navigates to the second entry beginning with that letter. it does not navigate to any entries beginning with that letter doubled.

example:
i want to navigate to "Eels" by pressing EE, but it doesn't work.

can this be changed, or is the current behavior intentional?

thanks

Columns UI

Reply #6427
im using this script to show last played date

$rgb(160,160,160,160,160,160)$day_of_month(%last_played%) $select($month(%last_played%),Gennaio,Febbraio,Marzo,Aprile,Maggio, Giugno,Luglio, Agosto,Settembre,Ottobre,Novembre,Dicembre) $year(%last_played%)

it works well with song already played, but got 00 0000 with songs never played, check the pic below



it would be nice a "never played" written instead of 00 0000, any help? thanks


Columns UI

Reply #6428
Would $replace(%field%,00 0000,never played) work?

Columns UI

Reply #6429
it would be nice a "never played" written instead of 00 0000, any help? thanks

Code: [Select]
$if(%play_count% PRESENT,$rgb(160,160,160,160,160,160)$day_of_month(%last_played%) $select($month(%last_played%),Gennaio,Febbraio,Marzo,Aprile,Maggio, Giugno,Luglio, Agosto,Settembre,Ottobre,Novembre,Dicembre) $year(%last_played%),'never played')
This is HA. Not the Jerry Springer Show.

Columns UI

Reply #6430
thank u, it works good

Columns UI

Reply #6431
Is it possible for the notification popup to display the album artwork? Where can I change its font size?

Columns UI

Reply #6432
Is it possible for the notification popup to display the album artwork?

No, it isn't. Perhaps you consider Pretty Popup to be worth looking at. This component is able to display album artwork.

Quote
Where can I change its font size?

Popup notification balloon settings are controlled by the operating system, so changing them has an effect on all notification balloons. On Windows XP a right-click on the desktop leads you to the configuration dialog in question.
This is HA. Not the Jerry Springer Show.

Columns UI

Reply #6433
i'm using %lyrics% tag in a column for track with synced lyrics, is there a tag for the unsynced lyrics?

Columns UI

Reply #6434
i'm using %lyrics% tag in a column for track with synced lyrics, is there a tag for the unsynced lyrics?

Code: [Select]
[%UNSYNCED LYRICS%]

Quote: "A name written inside percent signs will generally try to look up the tag of the same name"
This is HA. Not the Jerry Springer Show.

Columns UI

Reply #6435
Is there any possible way to get the filters to sort on a different criteria other than the text that's actually displayed in the filter?

For all my albums I use an ALBUMSORTORDER field which is just the current year. When an artist releases two albums in the same year I number things 2011.0, 2011.1, etc., based on the order they came out.

I have a filter which currently lists stuff like:

2006 - Old Album
2011 - Awesome
2011 - Radical

However, if Album Radical was released before Awesome, I'd like it to show up before it in the list, but I don't want the date to be listed as "2011.0 - Radical". Basically what I'm asking is there anyway to get the Filter to sort using characters/fields which aren't displayed to the user. This is super easy to do in ELPlaylist, but I haven't figured out a way to get it to work in the Filters.


Columns UI

Reply #6437
Maybe using $left() and $rgb() to display  only the ".1" part of the date with the same color as the background color....
Decalicatan Decalicatan

Columns UI

Reply #6438
i'm using %lyrics% tag in a column for track with synced lyrics, is there a tag for the unsynced lyrics?

Code: [Select]
[%UNSYNCED LYRICS%]

Quote: "A name written inside percent signs will generally try to look up the tag of the same name"

well im using this script now

$if(%lyrics%,
$rgb(0,128,0,0,128,0)V,
$rgb(220,220,220,180,180,180)•)

it shows a "•" when there's no lyrics in the tag, a "V" when there's synced lyrics...
i would like to have "x" when the lyrics is unsynced, how can i do that?

Columns UI

Reply #6439
how can i do that?

Try this:
Code: [Select]
$if($meta_test(lyrics,UNSYNCED LYRICS),$rgb(0,128,0,0,128,0)V$rgb(128,128,255)x$rgb(),$if(%lyrics%,$rgb(0,128,0,0,128,0)V$rgb(),$if(%UNSYNCED LYRICS%,$rgb(128,128,255)x$rgb(),$rgb(220,220,220,180,180,180)•$rgb())))

The $meta_test(...) function returns "Vx" (each character in your desired colour), if both fields lyrics and UNSYNCED LYRICS exist. The colour for the "x" I chose arbitrarily, probably you want to adjust it.
This is HA. Not the Jerry Springer Show.

Columns UI

Reply #6440
works perfectly, thank u

Columns UI

Reply #6441
Sorry if this has been discussed before and I missed it, but it would be great if the artwork view feature of Columns UI could handle all of the artwork types that Mp3Tag does (not just front cover, back cover, disc cover, and artist picture), and if it could also display multiple images for each type (either change upon click or auto cycle). 

I tried using the Album Art panel with Columns UI, but using it crashes Foobar too often with the latest Foobar components.  thanks!

Columns UI

Reply #6442


When "themed" is selected in colors/fonts, is there any way to remove the separator line in NG playlist which is showing above (circled in red)?

The line goes away if I select "custom" or "system".  I'd like to try using the themed setting to get the nicer aero hover appearance for selected items, which isn't possible if I just use custom solid colors - but I'd rather not have the line present.

I've searched the forums and google, and can't really find an answer.

Columns UI

Reply #6443
kt748, just put $tab() at the end of your grouping script.

Columns UI

Reply #6444
kt748, just put $tab() at the end of your grouping script.



Wow, thank you so much.  I looked through the title formatting references at the wiki and had no idea what a tabulator character was.  Thanks!


Is there any way to use a grouping script to return a grouping where applicable, but not where not applicable?  For example, it would be nice to have a group called "Beethoven" under which it would display multiple different album artists and whatever albums they've done (such as Philadelphia Orchestra, or Slovak Philharmonic), but where there is no composer, such as for an artist like Pearl Jam, that group isn't used, at all.

Right now, I've got things set up that way, and it works well - except where there's no composer, a completely blank line is returned (I'm using [%composer%]).  Is there a way to go further than that - to not even use that grouping at all except where there's a composer (and thus avoiding that blank line in inapplicable situations)?


 

Columns UI

Reply #6445
no, grouping can't be conditional like that.

but here's what i do to sort of get around that. i wanted a second grouping script that showed disc number when an album has multiple discs, but i didn't want it showing up for single disc albums. so i just put a conditional disc number grouping, then used the $tab() to add further info (genre, style country) on the right side of the group that always shows up. works pretty well

in fact, as i post this, i just realized i could make the right-hand information only show up for disc one - that would look even better!

script:
Code: [Select]
$rgb(50,100,140)
[ Disc %disc number%]
[: %disc title%]
$tab()
$rgb(190,200,210)
$upper(%genre% | %style%[ | %country%]  )





Columns UI

Reply #6446
I have a short question relating the built in filters of CUI.

Is there a fast and easy way to reset the filters so I don't have to scroll all up to the top and have to click an "all" (my artist filter has several hundreds of entries). If there would be an reset command in the main or context menu I could add a button in the button panel, but I haven't found anything. Maybe you have a tip for me?

Otherwise I would request a reset or "all" button in the header for each filter panel.


Columns UI

Reply #6447
Try focusing it and whack Home on your keyboard?
Stay sane, exile.

Columns UI

Reply #6448
Try focusing it and whack Home on your keyboard?


Thanks Zao, this is more comfortable than scrolling with the mouse, but needs two interactions.  Maybe there is a solution with only one click? I know it is complaining on a high level, but would be a nice to have.

Columns UI

Reply #6449
right click scroll bar>top

that's still 2 clicks though.