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: album list panel and NG playlist help wanted! (Read 2692 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

album list panel and NG playlist help wanted!

Hey all, this is my ui:

1st issue: I want to view my tracks by artist in the album list panel, the artists should be sorted alphabetically (which they are atm) while their subcategory, the albums, should be sorted by date (and preferably while not showing the date in the album's name). Think that it's doable? Anyway, this is the script I use for the playlist:
Code: [Select]
$lower(%<artist>%|%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%) $upper('['.$ext(%path%)']')


2nd issue: I have alot of multi-cd albums, and I like that the playlist displays the album art only once for all of the album's CDs, but I want some sort of visual aid other than the track numbers (like spacing, or a graphic) where a new CD begins. Here's my grouping script:
Code: [Select]
$rgb(38,36,36)$lower(%artist% - %date% - %album%)
and here's my globals-style 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%),12))
$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)))


I don't have a clue what or where to modify to be able to get the effects that I want, 99% of this UI should be credited to kahvitronic, not me (I suck at this, which is why I'm asking you guys!)

Thanks in advance for any advice!

album list panel and NG playlist help wanted!

Reply #1
1. add %date% before album (you can't hide it): %artist%|[%date%] %album%...

2. customize your grouping script according your tagging

so basically search this forum and CUI wiki, there are lot of examples
and BTW why are you posting default global style script which you commented (//)?

album list panel and NG playlist help wanted!

Reply #2
Thanks! I didn't know it was a default script, just wanted to be courteous and give as much info as possible, even if it turned out to be excessive... I'll start snooping around for the grouping script then, over and out!

album list panel and NG playlist help wanted!

Reply #3
Hmm, problem 1 still exists though. The date is showing in the album list and all... but I really only wanted it so that when I add an artist to the playlist I add his/her albums chronologically in the playlist. I'm guessing that when I send the artist to the playlist that albumlist fetches the folders alphabetically anyway, if that's true I'm guessing it won't be fixed unless I rename my folders :<

Maybe this could be fixed in the playlist by some kind of autosort function? Does it exist? Anything is fine, but I prefer not to save my music in playlists, I like on the fly playlists :>