Help - Search - Members - Calendar
Full Version: foo_uie_single_column_playlist
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28
Crusoli
Nevermind, keystrokes were messed up because of the columns layout.
morphguy12
There anyway to have this remember the artist and song after I have clicked my " now playing" button?

It always starts back at the top to (All Artists), there anyway to code it so it stays with that song/ artist?
Yotsuya
morphguy12: Where is your "now playing" button and what code does it execute when you click on it? When does it "start back at the top to (All Artists)" ? Are you switching between more than one playlist? How is your playlist sorted? Please provide more detail about your problem so we can help you, feel free to use pictures.
morphguy12
thanks yotsuya, Im using CepiPerez's layout for the most part, with dark1, dark2, and dark 3 as my layouts. On the top there are three buttons, and whenever I switch between them, the "Show Playlist" page resets. On that page I have a browser panel on top with it looking in my library, and then I have a Singe Column Playlist using Matias, which works with my browser which is up on top

EDIT: I changed between Matias, and default playlist for my Single Column, and same thing happens
Yotsuya
I do not use CepiPerez's layout nor do I see his code posted in the configuration distribution thread with his layout. Looking at the screenshots and your description I assume the buttons at the top are switching between tabs under foo_uie_tabs and on one of those tabs singlecolumnplaylist sits with your music? I did play around a bit by placing singlecolumnplaylist as well as columnsui playlist on tabs with trackinfomod and some other components. Whenever I would switch back and forth singlecolumnplaylist would remember the selected track regardless of the isplaying track or what I clicked on in the other panels (unless it was the same playlist). I even tried using two separate singlecolumnplaylists with different playlists on two separate tabs and bouncing back and forth.. both playlists remembered their selections.

Can you explore the problem further on your end and be more specific about what is going on? What is it that you are asking for this component to do?
morphguy12
it seems that yours is working just fine, cause mine doesn't remember which song is playing on the "Playlist tab"
Heres the trackinfo mod on the very top, the part with the buttons:

CODE
// Globals
$puts(background,255-255-255)

// Background

$if($fileexists(dark1\walls\%cwb_activelist%.png),
$imageabs2(%_width%,$mul(%_height%,13),,,,,0,0,dark1\walls\%cwb_activelist%.png,NOKEEPASPECT alpha-180)
,
$imageabs2(%_width%,$mul(%_height%,13),,,,,0,0,$get(background),NOKEEPASPECT)
)


// PerTrack

$button($sub($div(%_width%,2),193),12,0,0,0,0,dark1\buttons\now1.png,dark1\buttons\now2.png,dark3,)
$button($sub($div(%_width%,2),61),12,0,0,0,0,dark1\buttons\list1.png,dark1\buttons\list2.png,dark2,)
$button($add($div(%_width%,2),71),12,0,0,0,0,dark1\buttons\lyrics1.png,dark1\buttons\lyrics2.png,dark1,)

$if(%isplaying%,$if(%ispaused%,
$button($sub(%_width%,100),12,0,0,0,0,dark1\buttons\play1.png,dark1\buttons\play2.png,Play,),
$button($sub(%_width%,100),12,0,0,0,0,dark1\buttons\pause1.png,dark1\buttons\pause2.png,Pause,)),
$button($sub(%_width%,100),12,0,0,0,0,dark1\buttons\play1.png,dark1\buttons\play2.png,Play,))
$button($sub(%_width%,130),12,0,0,0,0,dark1\buttons\prev1.png,dark1\buttons\prev2.png,Previous,)
$button($sub(%_width%,70),12,0,0,0,0,dark1\buttons\next1.png,dark1\buttons\next2.png,Next,)
$button($sub(%_width%,40),12,0,0,0,0,dark1\buttons\stop1.png,dark1\buttons\stop2.png,Stop,)


----------------------------
Playlist Code
--------------------------------------------------------
Sort by: Album

Item Display
CODE
$if(%_selected%,$drawrect(294,2,0,16,brushcolor-220-220-220 pencolor-null),)

$button(0,0,0,0,0,0,vista1\now2.png,vista1\now1.png,Playing,)
$ifgreater($mul(%_height%,%_itemcount%),40,
$imageabs2(62,62,,,62,62,14,$add(1,$mul(-22,%_itemindex%)),dark1\nocover2.png,)

$if($fileexists($replace(covers\%artist% - %album%.jpg,?,)),
$imageabs2(60,60,,,60,60,15,$add(2,$mul(-22,%_itemindex%)),$replace(covers\%artist% - %album%.jpg,#,),NOKEEPASPECT)
,$imageabs2(60,60,,,60,60,15,$add(2,$mul(-22,%_itemindex%)),$replace(%path%,%filename_ext%,)folder.jpg,NOKEEPASPECT))
,)

$font(calibri,8,boldshadow glowalpha-50,0-0-0)
//$if(%album artist%,
//$if($strcmp(%_itemindex%,1),$alignabs(90,3,180,110,,)%album artist%,)
//,$if($strcmp(%_itemindex%,1),$alignabs(90,3,180,110,,)%artist%,))
//$if($strcmp(%_itemindex%,1),$imageabs(90,21,neo1\line2.png,))
$font(calibri,8,boldshadow glowalpha-50,100-100-100)
$if($strcmp(%_itemindex%,1),$alignabs(90,3,180,15,,)%album%,)
$if($strcmp(%_itemindex%,2),$alignabs(90,-18,180,40,,top)%album%,)





$font(calibri,8,shadow glowalpha-50,70-70-70)
$alignabs(302,3,$sub(%_width%,400),14,,)%track%. %title%
$alignabs($sub(%_width%,135),3,120,20,right,)%length%
$alignabs($sub(%_width%,170),7,120,20,right,)
$font(wingdings,6,bold,170-170-170)$repeat(,%rating%)


$if(%isplaying%,
$drawrect(294,0,0,0,brushcolor-244-244-244 pencolor-null)
$drawrect(294,2,0,16,brushcolor-0-0-0 pencolor-null)
$imageabs(296,0,dark1\miniplay.png,)
$font(calibri,8,glow-130-160-240 glowalpha-120,180-220-250)
$alignabs(320,3,$sub(%_width%,206),12,,)%title%
$alignabs($sub(%_width%,135),3,120,20,right,)%length%
$alignabs($sub(%_width%,170),7,120,20,right,)
$font(wingdings,6,bold glow-130-160-240 glowalpha-110,180-220-250)$repeat(,%rating%)
)


Group Display
CODE
$drawrect(0,23,,18,brushcolor-150-150-150 pencolor-null)
$ifgreater($mul(%_height%,%_itemcount%),60,
$imageabs2(62,62,,,,,14,23,dark1\nocover2.png,NOKEEPASPECT)
$if($fileexists($replace(covers\%artist% - %album%.jpg,?,)),
$imageabs2(60,60,,,,,15,24,$replace(covers\%artist% - %album%.jpg,#,),NOKEEPASPECT)
,$imageabs2(60,60,,,,,15,24,$replace(%path%,%filename_ext%,)folder.jpg,NOKEEPASPECT))
,)
$alignabs(90,25,180,110,,)$font(calibri,8,boldshadow glowalpha-50,255-255-255)
//$upper($if(%album artist%,%album artist%,%artist%))
$if(%album artist%,%album artist%,%artist%)
$alignabs($sub(%_width%,100),25,85,110,right,)%date%





Purple Monkey
QUOTE(terrestrial @ Feb 6 2007, 06:30) *

QUOTE(Purple Monkey @ Jan 23 2007, 10:28) *

Any ideas why it doesn't work like this for me?

I've got the latest SCPL (0.4.5 beta), ColumnsUI (0.1.3 beta 1v7) and Foobar.


not sure.. these are the steps I did. 1) start playing in playlist a, 2) switch to playlist b, and enqueue file. Playback then continues on playlist b after the enqueued file. Are you doing something different?


Don't think so.

I have:
"Playback follows cursor" off
"Cursor follows Playback" on

CODE
Core (2006-11-25 13:21:34)
foobar2000 core 0.9.4.2
foo_albumlist.dll (2006-11-25 17:49:06)
Album List 3.2.0
foo_audioscrobbler.dll (2006-12-20 20:53:00)
Audioscrobbler 1.3.5
foo_autoplaylist.dll (2006-02-21 20:57:00)
foo_cdda.dll (2006-11-25 13:19:46)
CD Audio Decoder 2.1.1
foo_common.dll (2006-03-11 18:23:55)
Common services 0.1
foo_comserver2.dll (2006-07-31 19:13:20)
COM Automation server 0.7 alpha 6
foo_converter.dll (2006-11-25 13:20:00)
Converter 1.0.1
foo_custominfo.dll (2006-08-25 03:12:00)
foo_custominfo 0.1.2
foo_cwb_hooks.dll (2006-12-01 13:47:00)
cwbowron's title format hooks 1.1.0beta [Dec 1 2006 - 13:47:34]
foo_dsp_std.dll (2006-11-25 13:20:12)
Standard DSP array 1.0
foo_dumb.dll (2006-05-18 18:12:00)
DUMB module decoder 0.9.7.1
foo_freedb2.dll (2006-08-29 18:43:04)
freedb Tagger 0.5.2a
foo_input_shorten.dll (2006-03-11 18:25:13)
Shorten decoder 0.4.2a
foo_input_std.dll (2006-11-25 13:19:14)
FLAC Decoder 1.1.0
Standard Input Array 1.0
WMA Decoder 1.1
foo_lnk.dll (2006-04-29 18:15:23)
Shell Link Resolver 1.2
foo_lyricsdb.dll (2006-07-19 22:45:00)
foo_lyricsdb 0.0.7 beta 4
foo_masstag.dll (2006-11-25 13:18:42)
Masstagger 1.6
foo_msnalt.dll (2006-08-26 12:49:00)
MSN Now Playing (alt) 2.4.2
foo_osd.dll (2006-02-28 14:08:00)
On-Screen Display GDI+ 1.52
foo_playcount.dll (2006-09-16 17:55:00)
Playback Statistics 1.3.2
foo_pqview.dll (2006-03-12 23:23:29)
foo_random.dll (2006-03-13 10:35:03)
Randomized playlist entry 1.2.3
foo_rgscan.dll (2006-11-25 13:18:18)
ReplayGain Scanner 2.0.2
foo_run.dll (2006-06-15 21:08:00)
Run services 0.3.2
foo_ui_columns.dll (2006-11-22 12:05:24)
Columns UI 0.1.3 beta 1v7
foo_ui_std.dll (2006-11-25 13:18:12)
Default User Interface 0.9acc
foo_uie_albumart.dll (2007-01-15 17:04:00)
Album Art Panel 0.2.6
foo_uie_albumlist.dll (2006-04-28 12:15:07)
Album list panel 0.2.1 beta 4
foo_uie_lyrics.dll (2006-06-02 04:04:27)
Lyric Show Panels 0.3.0.0
foo_uie_single_column_playlist.dll (2007-01-09 15:43:00)
Single Column Playlist Display 0.5.4 beta [Jan 9 2007 - 15:42:59]
foo_uie_tabs.dll (2006-10-17 21:54:00)
Tabbed panel modified 0.2.5
foo_uie_trackinfo.dll (2006-05-15 01:11:20)
Track info panel 0.8
foo_uie_trackinfo_mod.dll (2007-01-05 13:36:00)
Track info panel mod 0.8.0 beta [Jan 5 2007 - 13:36:12]


I'm using the built-in playlist switcher for ColumnsUI

Edit: still occures with only the basics
CODE
Core (2006-11-25 13:21:34)
foobar2000 core 0.9.4.2
foo_input_std.dll (2006-11-25 13:19:14)
FLAC Decoder 1.1.0
Standard Input Array 1.0
WMA Decoder 1.1
foo_ui_columns.dll (2006-11-22 12:05:24)
Columns UI 0.1.3 beta 1v7
foo_uie_single_column_playlist.dll (2007-01-09 15:43:00)
Single Column Playlist Display 0.5.4 beta [Jan 9 2007 - 15:42:59]
morphguy12
Screenshot:

IPB Image

Moderation: Please do not inline images larger than roughly 800x600 and 80KB. Please use thumbnails and/or links for large pictures instead.
morphguy12
I think it is a problem with my browser settings, and what playlist my Single Column shows,

Can someone help me out in what settings should be set in the Browser part in Preferences, and how to set it up with the browser & Playlist to correspond?

Thanks!!
HiFiRE
Is it possible to refer to the song's path for album art, rather than have all the album art in the foobar folder?
kalmark
QUOTE(HiFiRE @ Feb 14 2007, 16:59) *

Is it possible to refer to the song's path for album art, rather than have all the album art in the foobar folder?

Sure! For example:
CODE
$replace(%path%,%filename_ext%,)folder.jpg
sPeziFisH
wildcards are also possible
CODE
$replace(%path%,%filename_ext%,*front*.jpg)
q-stankovic
Hallo terrestrial!

Using the opportunity to set by context menu a playlist wich isn't the active one i try to achieve some fancy layouts: f.e. a "now playing" layout there the playing playlist is displayed or a browser layout there is displayed the browser playlist beside of the browser panels.

But all that is without any worth as long as clicking or doubleclicking an entry in this playlist makes this playlist to the active one. I like to ask if you can change that or if that is impossible at all.
matosman
I use and i can't change playlist in the single columns by one other way like left clik.

it is work like it :

IPB Image

but not work like it :

IPB Image

by uie_playlists_dropdown or an other plugin like playlist tab or others.

Why it isn't work ?
Kiteroa
Is it possible to set and/or change the playlist which SCP is displaying from within SCP?

(It is possible from the context menu but sometimes this does not seem to take effect!)
elemakil
Well, one question of mine:

I want to group my playlist content first by author and then by album, so it looks like this:

-------------
-- Author --
-------------
--------------
-- Album1 --
--------------
ContentOfPlaylistOne
--------------
-- Album2 --
--------------
ContentOfPlaylistTwo

[.. and so on ..]

the code I use at the moment is this:
CODE

// GroupBy Part //
%artist%

// GroupDisplay Part //
$drawrect(-1,,$add(%_width%,2),,brushcolor-100-100-100 pencolor-52-52-52)
$drawrect(-1,0,$add(%_width%,2),1,brushcolor-null pencolor-110-110-110)

// ARTIST, THE //////////////////////////////

$alignabs(12,2,200,19,,)
$font(,,bold,0-0-0)

$if(%artist%,$puts(TAG,%artist%),)
$if($get(TAG),
    $if($stricmp($left($get(TAG),4),The ),
        $puts(TAG,$right($get(TAG),$sub($len($get(TAG)),4))',' The)
    ,)
,)
$get(TAG)



So how can I modify this to get it look like described above ?


Thanks for your help .. !

greetings elemakil
Yotsuya
elemakil: Double grouping is currently not possible (someone correct me if I'm wrong). However, if you place artist before album in your sort string you should be able to accomplish what you ask except there will be no header for the artist.

%album artist%|$if(%tracknumber%,%album%, )|%discnumber%|%tracknumber%|%path_sort%

Erich w/ an h
the only thing I would like to see in the SCPL is the ability to change the dimensions of each track on a per track basis. Like, id like any track where $ifequal(%tracknumber%,%totaltracks%,,) to be a little higher than the other tracks, so I can place other information underneath it; the headers cant contain info from the previous track so I cant use them that way.

Other than that, i do miss dragging and dropping songs and on-click sorting from columns_ui, but otherwise im quite happy with SCPL
Chris Norman
Really fantastic plugin.

Is there any way to show in the group section the total playing time of the group? I am thinking of something like %_itemcount% only for the total playing time.

Any ideas?
iStormy
To further explain what g_stankovic asked for, and what I'd like, here's a screenshot. I put in a second SCPL (left side, above bottom pic) for the ultimate queue veiwer (via autoplaylist), so I can always see what's coming up:

IPB Image

But there's no way to lock that SCPL to a single playlist. When a new song starts, it jumps back to displaying the same playlist the main SCPL is displaying.

It would be great if we could lock a SCPL to one playlist no matter what.

Thanks again for all your work.
nbv4
Can you (the author of this plugin) start editing the OP with the current version of the plugin? I want to update to the current version, but can't tell if what I have is the latest without having to go back over the last few pages of this thread to see a new version announced.
Yotsuya
This component is no longer being maintained as a separate package, to use the latest version you will need to install Panels UI.
terrestrial
QUOTE(Purple Monkey @ Feb 12 2007, 12:38) *

QUOTE(terrestrial @ Feb 6 2007, 06:30) *

QUOTE(Purple Monkey @ Jan 23 2007, 10:28) *

Any ideas why it doesn't work like this for me?

I've got the latest SCPL (0.4.5 beta), ColumnsUI (0.1.3 beta 1v7) and Foobar.


not sure.. these are the steps I did. 1) start playing in playlist a, 2) switch to playlist b, and enqueue file. Playback then continues on playlist b after the enqueued file. Are you doing something different?


Don't think so.

I have:
"Playback follows cursor" off
"Cursor follows Playback" on


I dunno... is it happening for anyone else?

QUOTE(q-stankovic @ Feb 14 2007, 10:38) *

Hallo terrestrial!

Using the opportunity to set by context menu a playlist wich isn't the active one i try to achieve some fancy layouts: f.e. a "now playing" layout there the playing playlist is displayed or a browser layout there is displayed the browser playlist beside of the browser panels.

But all that is without any worth as long as clicking or doubleclicking an entry in this playlist makes this playlist to the active one. I like to ask if you can change that or if that is impossible at all.


if you want to use two playlists, you should uncheck "active" from each scpl. eg. lock one scpl to "*Playlist Tree*" and one scpl to the playing playlist, or to one specific playlist (eg "Now playing..")

QUOTE(matosman @ Feb 14 2007, 11:59) *

I use and i can't change playlist in the single columns by one other way like left clik.
Why it isn't work ?


check "active", and scpl will display the "active" playlist as set by other playlist switchers.

QUOTE(Kiteroa @ Feb 16 2007, 17:50) *

Is it possible to set and/or change the playlist which SCP is displaying from within SCP?

(It is possible from the context menu but sometimes this does not seem to take effect!)


no, only through the context menu... under what conditions isn't it working for you?


QUOTE(iStormy @ Feb 19 2007, 15:06) *

To further explain what g_stankovic asked for, and what I'd like, here's a screenshot. I put in a second SCPL (left side, above bottom pic) for the ultimate queue veiwer (via autoplaylist), so I can always see what's coming up:

IPB Image

But there's no way to lock that SCPL to a single playlist. When a new song starts, it jumps back to displaying the same playlist the main SCPL is displaying.

It would be great if we could lock a SCPL to one playlist no matter what.

Thanks again for all your work.


lock the queue viewer to one playlist (ie make sure "active" and "playing" are unchecked). you should probably lock the other playlist to the "playing" playlist or some other playlist because if you have it on "active" it will switch to the queue playlist when the queue scpl has the focus.
Kiteroa
Thanks.

My Playlist selection staying as selected better now: I, wrongly, had ACTIVE ticked thinking that that would make that playlist (always) the active one but, I think, you are saying that if ACTIVE is ticked then the SCP will always show whichever playlist is the active one (is this correct?)

What determines which playlist is active? (Is it whatever browser has the selection in it?)

I've found it extremely confusing and tricky to get 2 playlists working properly: the first as a browser list (fed by album list, playlist tree, quick search etc.) and another which is being played (fed with the albums/tracks from the browser list but I think I have it working now!

Thanks for all the effort you put into the plug-ins you develop and maintain; I doubt if I would have stuck with Foobar if it wasn't for Track Display, SCP and now PanelUI!
carmenm
First i want to thank you again for your HUGE work terrestrial. Because of your plugin i fought to have foobar on my mac wink.gif

yet i have one feature request. If we change a song tags with the properties dialog, SCPL isnt refresh. Is there a way for it to refresh?

EDIT: Strangly the items are updated but if my update change the group layout, SCPL isnt refreshed
iStormy
QUOTE(terrestrial @ Feb 20 2007, 00:49) *

lock the queue viewer to one playlist (ie make sure "active" and "playing" are unchecked). you should probably lock the other playlist to the "playing" playlist or some other playlist because if you have it on "active" it will switch to the queue playlist when the queue scpl has the focus.


Okay, thanks, that fixed the queue-viewing playlist. Unfortunately, without Active set on the main playlist, it's no longer possible to switch playlists with any playlist switcher I tried (only via context menu), and I can't view quicksearch results without using the context menu to switch to the results manually.
HiFiRE
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?
elenhil
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?
shakey_snake
use %_itemindex% and %_itemcount% instead of %tracknumber% and %totaltracks%
pingwee
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
shakey_snake
http://wiki.bowron.us/index.php/Foobar2000:Hooks
pingwee
QUOTE(shakey_snake @ Mar 3 2007, 16:40) *


It only gives me the opportunity to get the next item in 'playback' list, not the next one in the list...
Meaning if i queue a song, it would be displayed as next item though it is not the next item in the list
Purple Monkey
The answer to your question is no, but the solution is to add an if to your group by box:
CODE
$if2(%album%,!noheader!)

and then sort your playlist accordingly.
pingwee
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
Purple Monkey
No that is not possible atm, afaik it might be on terrestrial's todo list so watch foo_ui_panels.
wraithdu
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.
tnynyn
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?
shakey_snake
this link was found by searching in this thread for "grouped by"

Many more like it can be found.

any way you go, you're going to need to use cwb_hooks

an easy example:

CODE
$if($strcmp(%cwb_activelist%,A),%album%,!noheader!)
tnynyn
thanks for the advice. im still new to the coding process, but im getting the hang of the basic right now.
Fest
Hi all !
I got question - if it's possible to hide item display ? like "on click on group header hide/unhide items" ?
cartman(2vd)
QUOTE(Fest @ Mar 15 2007, 14:50) *

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.
SmilerSmiles
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

$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.
Yotsuya
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
$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%')']
SmilerSmiles
QUOTE(Yotsuya @ Mar 22 2007, 23:57) *

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
$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%')']



biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif
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.
ozstrike
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
// 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 smile.gif
elenhil
Sorry for duplicating the question. Can SCPL make subgroups (that is. can it group particular tracks inside album-groups)?
Yotsuya
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.
elenhil
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).
Superunknown
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.
ozstrike
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.