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: foo_uie_single_column_playlist (Read 741350 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

foo_uie_single_column_playlist

Reply #1325
[removed]

foo_uie_single_column_playlist

Reply #1326
Does anyone have a way to deal with text that doesn't fit in an alignabs area?, ie a way to add ... to a field that doesn't fit?

foo_uie_single_column_playlist

Reply #1327
I've tried SCPL (well, actually, PanelsUI) and found that album art inside playlist is easily ruined if one of the tracks is missing. Like, if you don't have the first few tracks album art will have its top part cut (corresponding to the rows for tracks that 'should' be there).

I gather that there have been a limitation of that sort in ColumsUI (that is, it cannot look ahead and see how much tracks you have, only blindly assigning 1 row for 1 track, so missing tracks = missing rows for anything it tries to display alogside the tracklist).

So, is that problem still not solved?

foo_uie_single_column_playlist

Reply #1328
use %_itemindex% and %_itemcount% instead of %tracknumber% and %totaltracks%
elevatorladylevitateme

foo_uie_single_column_playlist

Reply #1329
Hi,

I would like to know if there is a function to get the next items artist as listed in the playlist.
It would be awesome as it would make me able group songs that have an album together, and those that have not separately



foo_uie_single_column_playlist

Reply #1332
The answer to your question is no, but the solution is to add an if to your group by box:
Code: [Select]
$if2(%album%,!noheader!)

and then sort your playlist accordingly.

foo_uie_single_column_playlist

Reply #1333
Hmm and is there a way to 'ungroup' groups with only one item ?
Ideally, this would be in the group by :

$ifgreater(%_itemcount%,1,%artist%,!noheader!)

Meaning that if you load a random playlist, artists will be grouped together only if there is 2 or more songs of that artist

foo_uie_single_column_playlist

Reply #1334
No that is not possible atm, afaik it might be on terrestrial's todo list so watch foo_ui_panels.

foo_uie_single_column_playlist

Reply #1335
I agree ^^^^

If you think about it, it's not possible using %_itemcount%, since %_itemcount% has no meaning/value until after the playlist has been grouped.  So you cannot logically use %_itemcount% to control grouping.

foo_uie_single_column_playlist

Reply #1336
Hi all!

Just got started using foobar and I really like it. Quick question, is there a way to view each playlist differently? for example:

I have a playlist "A" grouped by albums just for albums. Now I want to view playlist "B" with random music just by artist and title. How would I be able to do this?


foo_uie_single_column_playlist

Reply #1338
thanks for the advice. im still new to the coding process, but im getting the hang of the basic right now.

foo_uie_single_column_playlist

Reply #1339
Hi all !
I got question - if it's possible to hide item display ? like "on click on group header hide/unhide items" ?

foo_uie_single_column_playlist

Reply #1340
Hi all !
I got question - if it's possible to hide item display ? like "on click on group header hide/unhide items" ?


no collapsable geoups are not possible afaik.

foo_uie_single_column_playlist

Reply #1341
Hey people. I hope someone could be kind enough to help me. I'm wanting to have the replaygain and disk number info (if any) to appear next to the date (if any) and if there is no date then the edge of the panel. Also the same result for when the window is maximized. I think it has something to do with the $alignabs width. Ive tried different combinations of the code thats why they don't match.

Code: [Select]
$align(right,top)$font(accidental presidency,32,,191-191-191)[%date%]

$setpvar(name,$calcwidth([%date%]))

$alignabs($eval({%_width%-$getpvar(name))},6,405,20,right,top)
$font(blue highway,12,,11-11-11)[%__replaygain_album_gain%]

$alignabs($getpvar(name),13,375,20,right,bottom)
$font(blue highway,12,,151-151-151)[ Disk '('%discnumber%')']


Also where did the font picker go I really miss it in Panels UI 081.
I love π

foo_uie_single_column_playlist

Reply #1342
SmilerSmiles: I do not have the fonts you use available for experimentation but might I suggest a different approach to solving your problem. Also I do not know what is pushing you to use right justification but I'll make an example that reserves a 10 pixel column to the left of the text:
Code: [Select]
$alignabs(10,0,$sub(%_width%,10),%_height%,right,top)
$font(accidental presidency,32,,191-191-191)[%date%]
$font(blue highway,12,,11-11-11)[ %__replaygain_album_gain%]

$alignabs(10,0,$sub(%_width%,10),%_height%,right,bottom)
$font(blue highway,12,,151-151-151)[ Disk '('%discnumber%')']

foo_uie_single_column_playlist

Reply #1343
SmilerSmiles: I do not have the fonts you use available for experimentation but might I suggest a different approach to solving your problem. Also I do not know what is pushing you to use right justification but I'll make an example that reserves a 10 pixel column to the left of the text:
Code: [Select]
$alignabs(10,0,$sub(%_width%,10),%_height%,right,top)
$font(accidental presidency,32,,191-191-191)[%date%]
$font(blue highway,12,,11-11-11)[ %__replaygain_album_gain%]

$alignabs(10,0,$sub(%_width%,10),%_height%,right,bottom)
$font(blue highway,12,,151-151-151)[ Disk '('%discnumber%')']


                     
Thank you so much Yotsuya. It helped a lot, had to change it a little though. Ill put a screen shot in the appearance thread so you can see what I was talking about.
I love π

foo_uie_single_column_playlist

Reply #1344
OK guys, I need some help, and part of it is design, and part of it is code.
Right now my foobar looks like this.

I like the way it looks, apart from the single column playlist. I feel that the headers need some kind of box around to make them stand out from the background. Problem is, I don't know how to do it without breaking my config.
The other problem is that I'm a bit crap at designing, and especially colours (I'm partially colourblind). I can tell what looks "good", but I don't know what colour to pick that will go with the rest of it. Any ideas?

my code(well, it's not really) for  group display is below:


Code: [Select]
// FONT & COLOUR OPTIONS
$puts(fontAlbum,$font(Calibri,11,,0-0-0))
$puts(fontPerformer,$font(Calibri,10,italic,0-0-0))
$puts(fontArtist,$font(Corbel,14,bold,19-66-94))
$puts(fontDateGenre,$font(Calibri,8,,0-0-0))
$puts(colorLine,100-105-110)



// ************** END OF USER CUSTOMISATION *****************


$alignabs(10,10,$sub(%_width%,20),36,left,bottom)

$get(fontArtist)
[$upper($if($strstr(%genre%,Classical),%composer%,%album artist%))]

$get(fontPerformer)
[  %performer%]

$alignabs(8,10,$sub(%_width%,20),52,left,bottom)
$get(fontAlbum)
[ %album%]

$alignabs(10,10,$sub(%_width%,20),52,right,bottom)
$get(fontDateGenre)
[%date%][  %genre%]

$drawrect(10,64,$sub(%_width%,20),1,brushcolor-$get(colorLine) pencolor-null)


Woah, that's a lot of code :S
Thanks in advance

foo_uie_single_column_playlist

Reply #1345
Sorry for duplicating the question. Can SCPL make subgroups (that is. can it group particular tracks inside album-groups)?

foo_uie_single_column_playlist

Reply #1346
elenhil: AFAIK, SCPL currently only supports one tier of grouping. However, you can get creative to give the appearance of different grouping styles. For example I group not only by album but by disk number by using more than one variable in my "Group By" string like this:
%album%%discnumber%

If you can give a specific example of what you are trying to accomplish maybe we can be of more help.

foo_uie_single_column_playlist

Reply #1347
Actually, I'm pondering over classical pieces' titles, trying to figure out something to improve the way they're displayed (you know, disks with lots of subroups inside, like several pieces, symphonies, concerts each with its own parts).

It is, of course, necessary to put all the info in titles so that in single-line interfaces (like "now playing" or "track info") you can tell which sympony or concert or opus that particular part belongs to, at one glance (like 'Piano Concerto No.1 - III. Allegro con fuoco').

But in a simple tracklist that first half gets rather unnecessarily repeated two, three or ten times depending on how many parts are there (like 'Piano Concerto No.1 - I Allegro non troppo e molto maestoso', 'Piano Concerto No.1 - II. Andantino semplice', etc.), while it could be more naturally made a header, and the parts' titles a subgroup below it. That is actually the way they are listed at the back of classical CDs. The problem is that there is already a disk-wide header (album name), and these should be sub-headers (with sub-groups beneath them).

foo_uie_single_column_playlist

Reply #1348
Anyone knows how to make f2bk run faster with this mod, because it's really slow to navigate into the playlist when the album covers are on.

 

foo_uie_single_column_playlist

Reply #1349
I know I keep asking questions, sorry.
Is there a way to have the Disc Number only display when there are multiple discs in an album (or if not, only when the discnumber tag is present).
Currently I just have it as "Disc [%discnumber%], but I'm sure there's a better way to do it.