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
yatahaze
How do you use this plugin? I dont see it in the list of panels to add, but I see it in the components list.
obrobkareczna
I'm trying to add cover to my config i don't know what i'm doing wrong. Can anyboy help me?

first i was trying to add jpg files..ok i know now that i can do it only in png.

second i convertec cover to png 24bit file and was tring to write proper line that will show me my cover that is placed in directory with my music (D:/music/artist/album/cover.png) but i couldn't do that also.

next i trided to do comething simpler, i took tool++ code and just tried to make noalbum.png to be shown.
I've put noalbum.png file on my C drive in root directory and changed code in item list to :

QUOTE

$imageabs(4,$add(25,$mul(-21,%tracknumber%)),'C:\noalbum.png',)

but it still doesn't work sad.gif

can somebody tell me what i'm doing wrong. and maybe how to make pluging to show me my covers?

please help! smile.gif

sorry for my bad english, hope you understand what i wrote
musosticky
After a few weeks umming and ahhing I finally made the jump over from the columns playlist and am loving my new playlist which a very slightly modified version of what mazy posted on this thread.

Thanks to terrestrial for giving foobar two excellent components that make it even more beautiful than previously thought possible and to mazy for testing them so thoroughly and coming up with beautiful designs that I love to steal wink.gif
cartman(2vd)
QUOTE(obrobkareczna @ Sep 13 2006, 18:42) *

I'm trying to add cover to my config i don't know what i'm doing wrong. Can anyboy help me?

first i was trying to add jpg files..ok i know now that i can do it only in png.

second i convertec cover to png 24bit file and was tring to write proper line that will show me my cover that is placed in directory with my music (D:/music/artist/album/cover.png) but i couldn't do that also.

next i trided to do comething simpler, i took tool++ code and just tried to make noalbum.png to be shown.
I've put noalbum.png file on my C drive in root directory and changed code in item list to :

QUOTE

$imageabs(4,$add(25,$mul(-21,%tracknumber%)),'C:\noalbum.png',)

but it still doesn't work sad.gif

can somebody tell me what i'm doing wrong. and maybe how to make pluging to show me my covers?

please help! smile.gif

sorry for my bad english, hope you understand what i wrote


path has to be relative to foobar dir. absolute path isnt possible yet
AsD
QUOTE(yatahaze @ Sep 13 2006, 13:15) *

How do you use this plugin? I dont see it in the list of panels to add, but I see it in the components list.

It isnt in the panels menu. It is in the "playlist views" menu.
yatahaze
QUOTE(AsD @ Sep 13 2006, 13:51) *

QUOTE(yatahaze @ Sep 13 2006, 13:15) *

How do you use this plugin? I dont see it in the list of panels to add, but I see it in the components list.

It isnt in the panels menu. It is in the "playlist views" menu.


I meant it's not in the "insert panels" menu anywhere, not even the playlist views section. It says it's installed in the components list and the console doesnt have any errors in it, so I dunno what's up. Maybe my version of columns_ui is out of date.

Edit: That's exactly what it was.
random.n
Absolute pathing is somewhat possible, if you use NTFS on your drives. Just create a junction folder in your foobar2000 directory that points to your audio storage location (which is free to be on any other NTFS drive). There's still the problem of non-NTFS drive and network shares, but it's certainly an improvement.

In addition to proper pathing though, what I'd really like to see is having the path surrounded by double-quotes ("), so paths with commas in them work properly. (eg; "D:\Music\Mötley Crüe\2005 - Red, White & Crüe\art.png").

Otherwise, this is an awesome plugin... I really had to laugh when I saw iTunes 7 today, with the same kind of album view that people have been building with this for a few weeks now. biggrin.gif
Blitzmeister
Would there be any chance of getting a couple of variables for this wonderful thing? I was wondering if we could get a total of all the tracks in the tracklist as well as the total time. Is this at all possible?

Cheers smile.gif
maziu
QUOTE(Blitzmeister @ Sep 13 2006, 21:39) *

I was wondering if we could get a total of all the tracks in the tracklist...


This much at least can be done with the Titleformat reference %list_total%.
Davison
Iget this problem, and i am unaware as to how to solve it via
Single Columns Playlist's sort code
or
by renaming the album (check renamed Versus The World [Bonus Disc] to V. The World [Bonus Disc] and no change)

IPB Image


any help would be appreciated.
Yotsuya
Davison:

At first glance it appears you have the %album% tag defined differently for different tracks of the same album, this is causing foobar to think they are part of different albums. To correct this select all the tracks of the album (Ctrl+Click, repeat) then right click on the selection and choose "Properties" from the popup.

For the album name I suspect you will see "<multiple values>", if so this confirms my suspicions. Replace the string with the name of the album. Click [Apply], then [OK] and this should update all the tracks so that their album tag is identical and foobar will then be able to group them properly.

You may need to refresh your playlist for the grouping to take effect. If your album tags are already defined properly and you still experience this improper sorting after refreshing your playlist.. please post your current sort string so that we can help you debug it.
4nt1
anyone know when the new version is coming out because I cannot use single colum playlist due to the not showing up bug - ie nothing displays in the list until i start scrolling
tool++
The issuess I've found:

- Numerous things are broken such as find, preferences (eg keyboard shortcuts)
- It flickers like mad.
- The edit boxes are annoyingly small.
- Things don't refresh/appear properly.
- Images can only be relative to foobar path.
- No scaling on images.
- No other image formats.

(probably others that I've missed).

Other than that, great plugin.


QUOTE(Yotsuya @ Sep 15 2006, 05:43) *

Davison:

At first glance it appears you have the %album% tag defined differently for different tracks of the same album, this is causing foobar to think they are part of different albums. To correct this select all the tracks of the album (Ctrl+Click, repeat) then right click on the selection and choose "Properties" from the popup.

For the album name I suspect you will see "<multiple values>", if so this confirms my suspicions. Replace the string with the name of the album. Click [Apply], then [OK] and this should update all the tracks so that their album tag is identical and foobar will then be able to group them properly.

You may need to refresh your playlist for the grouping to take effect. If your album tags are already defined properly and you still experience this improper sorting after refreshing your playlist.. please post your current sort string so that we can help you debug it.



Actually I think the issue is that the sorting is such that the tracks from the bonus disc and the main disc are getting mixed up :]

Just make sure they have good filenames and are sorted right.
P Giddy
Could somebody help me please? I want the artist name to show up after the track if the album is a compilation, but when I try it, I get the artist after the track on all albums. How do I sort this?

IPB Image
acedriver
QUOTE(P Giddy @ Sep 16 2006, 05:53) *

Could somebody help me please? I want the artist name to show up after the track if the album is a compilation, but when I try it, I get the artist after the track on all albums. How do I sort this?

tag the compilation album with ALBUM ARTIST tag and use this

CODE
%tracknumber% %title%[ '('$if($meta(album artist),%artist%,)')']
P Giddy
Cheers, that's worked perfectly. biggrin.gif
mquander
Feature request / bug report: You can't drag and drop to move songs around a playlist : O Seems like pretty basic functionality.
spex04
QUOTE(mquander @ Sep 16 2006, 01:10) *

Feature request / bug report: You can't drag and drop to move songs around a playlist : O Seems like pretty basic functionality.


Could end up with several identical headers then though, which is probably not wanted..?
mquander
QUOTE(spex04 @ Sep 15 2006, 20:45) *

QUOTE(mquander @ Sep 16 2006, 01:10) *

Feature request / bug report: You can't drag and drop to move songs around a playlist : O Seems like pretty basic functionality.


Could end up with several identical headers then though, which is probably not wanted..?


I guess it wouldn't be beautiful, but it wouldn't look tremendously terrible, and it sure beats not being able to rearrange files on a playlist at all. Besides, a playlist that you are rearranging files on is probably tagged with -s- in the name or some such to designate it as a singles playlist, and will have styling that recognizes that.
Yotsuya
I'd rather have a definable sort string for the playlist that was automatically applied. If I want to move a track I'd just adjust the sort string.
mellotron
Alright, I'm losing my mind because I can't figure out how to configure this plug-in.

So I've loaded the plugin and it's displaying properly but after that I don't know what to do, the Configure button under Item details under Columns UI/Layout is grayed out. I either need more sleep because I'm sure I'm missing something blindingly obvious.

EDIT: I need more sleep.
Imperecedero
about the *.png dont showing i want to share how did i solved it.

first, the relative path is in "document & settings\user\....\foobar2000"
second, C++ runtime libraries
third, real PNG files. i have troubles with one editor that saved the file as .png extension but it was really a JPG.

I need some help here, i have my covers in every folder & everyone is named "cover.png", which program could batch rename all my covers with the correct %album% information????? I think it's too complicated

SO---> i look forward next update could look in every folder like the good old foo_uie_albumbart

anyway, %$#% amazing plugin
mquander
QUOTE(Yotsuya @ Sep 15 2006, 20:56) *

I'd rather have a definable sort string for the playlist that was automatically applied. If I want to move a track I'd just adjust the sort string.


Well, there's three situations in which I really like to be able to drag things around a single playlist:

A) I'm playing streaming audio for someone via shoutcast or communication programs.

B) I'm messing around queueing up 1-3 hours of audio for myself while I am going to be busy playing a game fullscreen or away from my computer and don't want to have to come fuck with fb2k.

C) I am burning a mixed CD of tracks.

Both of those revolve around assembling a pretty much arbitrary order of a bunch of different files, and drag-and-drop makes that way simpler.

Perhaps I should be using the playback queue for these things. The reason I don't is because it isn't obviously viewable or manipulable without a plugin, and a panel to manipulate the playback queue seems extremely redundant when the queue might have 10-50 files; isn't that what the playlist is for?

I don't really have any solution for doing any of those three things as it stands with this playlist, and I don't think having a definable sort string would solve any of them either.
fabiospark
Is there a way to show/hide this playlist view according to some tag content(%cwb_activelist% or %playlist_name%, for instance)?

It would be most useful with an "History" playlist.
I tried using the Auto hide feature of columns UI but I got weird results.

The next step, if columns_UI does7will let it, would be to link this playlist view to only a specific playlist.

The further step would then be to allow more than one instance of foo_uie_single_column_playlist or the ability to assign its settings and formattings to a chosen playilist (under the same playlist tabs as the standard playlist view) without the need of a separate panel.


Found a bug. I can't say if it's a "single c_p one or a foo_uie_tabs_mod one:

I placed the single column playlist view inside a tab stack panel where the other panel is a playlist tree one. If I make show the plt panel, then, when I go back showing the single column playlist it is totally blank. If I click on a row either in that panel or in an ordinari playlist view, the same row gets refreshed in the "single" panel. If I change playlist all the panel it's refreshed.
chaosblade
I have a suggestion that makes this plugin more usable with hybrid displays (single tracks and albums) - If the total count for a group of items is 1, Display just the header or just the single item itself. Right now it seems funny when it shows the header and a single item for every single track.
mquander
QUOTE(ChaosBladE @ Sep 16 2006, 10:35) *

I have a suggestion that makes this plugin more usable with hybrid displays (single tracks and albums) - If the total count for a group of items is 1, Display just the header or just the single item itself. Right now it seems funny when it shows the header and a single item for every single track.


Disagree - I have several albums that consist of one track. The proper answer, in my opinion, is to allow conditionals to work properly in the "group by" box. Something like this:

$if($stricmp($strstr(%playlist_name%,'(S)'),0),%album%,%list_total%)

Should group by album unless "(S)" is in the playlist name, in which case it should show one header for the whole playlist (since it's grouping by list_total, which is a constant for every file.)

Doesn't work as is though.
chaosblade
I wonder how a single track can be called an album though. Even if its a single physical file with many parts considered as tracks, its usually displayed as parts using cue files and the such.
Yotsuya
I have several albums that include a separate bonus disc that contains a single track. Under the current setup these single track discs are handled just like any other multidisc album and I would like them to continue to be handled that way. I group my tracks by disc, not necessarily by album.

Depending on your application, you should be able to formulate some tagz code in the Group By section to handle several loose files as a single group.. maybe something like $ifgreater(%totaltracks%,1,%album%,).

mquander: Have you applied any logic to your playlist sort string so that your tracks appear together in one large group instead of being distributed accross your lists as several small subgroups? I tried applying similar code to my online radio station playlist to group by genre and learned that "group by" only determines where the group headers go it does not determine the position of any tracks in your playlist.
mquander
QUOTE(Yotsuya @ Sep 16 2006, 11:33) *

I have several albums that include a separate bonus disc that contains a single track. Under the current setup these single track discs are handled just like any other multidisc album and I would like them to continue to be handled that way. I group my tracks by disc, not necessarily by album.

Depending on your application, you should be able to formulate some tagz code in the Group By section to handle several loose files as a single group.. maybe something like $ifgreater(%totaltracks%,1,%album%,).


I agree. I also have some albums (example, example) that were simply released as one track, and not broken up into subsections. That might be a bit unorthodox, but I don't see anything wrong with it, and I would like them to display properly as well.

QUOTE
mquander: Have you applied any logic to your playlist sort string so that your tracks appear together in one large group instead of being distributed accross your lists as several small subgroups? I tried applying similar code to my online radio station playlist to group by genre and learned that "group by" only determines where the group headers go it does not determine the position of any tracks in your playlist.


Well, I don't see how that would solve the issue. I want to be able to cook up playlists that only have one (or none, but one is fine as I can make one useful one) header, because they consist of tracks that might belong to whichever random albums or genres or et cetera.

I mean, the arrangement thing is another issue, but I don't think there's any solution to that issue besides draggable playlist items, just like the default Columns UI playlist display. I need to be able to arrange playlist tracks in a literally completely arbitrary order.
RevivalofHonor
@ mquander:

$if() with %playlist_name% in the group by section should be fixed for the next version. I had a similar problem. For now try something like this:

$if($strstr(%cwb_activelist%,'(S)'), %cwb_activelist%, %album%)
mquander
QUOTE(RevivalofHonor @ Sep 16 2006, 15:09) *

@ mquander:

$if() with %playlist_name% in the group by section should be fixed for the next version. I had a similar problem. For now try something like this:

$if($strstr(%cwb_activelist%,'(S)'), %cwb_activelist%, %album%)


Great, thanks very much! That worked perfectly.

Here's another potential solution to the drag-and-drop question: Enable dragging around playlists, but only allow dragging a track within its group (can't drag up and down between groups, so the group headers never move.) Since "singles" playlists will presumably have one big group, this should be flexible enough to suit most people.
acedriver
For singletrack, I just tagged them with SINGLETRACK tag. I also use a sorting string that will list those tracks before a full album.

in group by, I use this

$if(%singletrack%,,%album%%disc%)
Brendan
Forgive me for being a noob, but since we're on the topic of sort strings, how would I write a string to sort by artist, then album, then year.

So the artists would be alphabetical order, and the albums for each artist would go in order of most recent to oldest. I tried a few things, but none of them seemed to do anything close.
thuan
If I understand correctly then this %artist%|$sub(9999,%date%)|%album%
Brendan
QUOTE(thuan @ Sep 17 2006, 17:03) *

If I understand correctly then this %artist%|$sub(9999,%date%)|%album%


That doesn't work either. Odd.
I'm supposed to put it on the "Group by" bit aren't I?
thuan
That sort string should be put in Preferences -> General -> Sort incoming files by and in the Group by field you just need %album%. I suppose you have all the tag correctly.
Davison
Thankyou tool, your suggestion was simple yet right...

and yotsuya i have already tried all meta-data editing that i can think of to fix it as i explained in my post, perhaps not clearly enough, but thanks for the input nonetheless.

Many thanks.
shard13
I need some help figuring this out, I know it has to be simple, but I cant seem to figure out the right script code to change the background color of selected items. I must be missing it somewhere but if someone could point me to the code that governs that, it would be greatly appreciated!
Yotsuya
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-10-36-106 pencolor-null),)
jimbo11883
- I'd like to see separate row heights for group and item. I like two lines of text for the groups and one line for the items.

- For me the keyboard does nothing inside the playlist. I can't use the arrow keys, or use shortcuts.

- Row height doesn't apply correctly after changing it.

- Grabbing Album Art from the locations provided by the album art plugin.
cartman(2vd)
BUG REPORT
im affraid this is not the right place but i hope that someone will see this and aprove with me or proven me wrong.
The bug i encounter is that when i use $imgabs with %path% and $replace it works for me marvelously BUT... when i have comma in path the imgabs isnt somehow parsed correctly (=it does not draw image at all (incorrect path i presume))

example:

i use tool++ layout with replace workaround:
CODE
$imageabs(4,$add(24,$mul(-21,%tracknumber%)),$replace($replace(%path%,U:\mp3,..\..\..\user\mp3),%filename_ext%,folder.png),)

IPB Image

i have directorys named by "%artist% - %album% [%date%]" scheme and as you can see on image when there is no comma in directory name its fine but when there is it doesnt work. is it bug or am i missing something?

(edit: its not in "&" in album title rammstein album "Reise, reise" does just the same, PJ Harveys "Stories From The City, Stories From The Sea" same)
shard13
QUOTE(Yotsuya @ Sep 18 2006, 12:34) *

$if(%_selected%,$drawrect(0,0,0,0,brushcolor-10-36-106 pencolor-null),)



Thanks, that works very well, but I cant seem to get the font color to change correctly, is just gives me invalid syntax error everytime I try to input the font color code.

CODE
$if(%_selected%,
$font(calibri,10,bold,0-0-0)
,
$font(calibri,10,bold,0-0-0)
)



So what am I doing wrong?

Yotsuya
Cartman:
My guess would be that at some point the the filename is being processed as code and therefore the comma is breaking the processing. I would suggest attempting a workaround by prefixing any commas in your filename with single quotes to have them processed as text. For example:
CODE
$imageabs(4,$add(24,$mul(-21,%tracknumber%)),$replace($replace($replace(%path%,U:\mp3,..\..\..\user\mp3),%filename_ext%,folder.png),',',''','),)

*this is untested and you may need to debug it

BTW did you pull that code from my post on the appearance thread? :)


shard13:
The only thing odd that I see about the code you posted is that both fonts specified are identical, however this shouldnt give you invalid syntax. In fact, when I paste it into a panel here I do not get any error. Do you have a calibri font installed?

Break it down piece by piece. Does $if(%_selected%,SELECTED,NOT SELECTED) work? does simply $font(calibri,10,bold,0-0-0)TEST work? How about using just $font(calibri,10,,), or how about something different like $font(verdana,10,bold,0-0-0)?

Additional: I myself use this bit of code when coloring my text:
$font(tahoma,7,,$if(%_selected%,233-233-233,0-0-0))
shard13
QUOTE(Yotsuya @ Sep 18 2006, 18:07) *




shard13:
The only thing odd that I see about the code you posted is that both fonts specified are identical, however this shouldnt give you invalid syntax. In fact, when I paste it into a panel here I do not get any error. Do you have a calibri font installed?

Break it down piece by piece. Does $if(%_selected%,SELECTED,NOT SELECTED) work? does simply $font(calibri,10,bold,0-0-0)TEST work? How about using just $font(calibri,10,,), or how about something different like $font(verdana,10,bold,0-0-0)?

Additional: I myself use this bit of code when coloring my text:
$font(tahoma,7,,$if(%isplaying%,233-233-233,0-0-0))



OK, I fixed the syntax error, I was adding the *)* at the end of it, thus cuasing problems. Right now my problem is that I want to have selected items be a different color then currently playing items, and I cant seem to get the font color to work. I have calibri and everything, but it just wont seem to work.

Here is my Item Info Code

CODE



$if(%_isplaying%,$drawrect(0,0,0,0,brushcolor-0-0-0 pencolor-0-0-0)
,
$padding(4,0)
$ifequal($mod(%_playlist_number%,2),0,
$drawrect(0,0,0,0,brushcolor-250-250-250 pencolor-240-240-240)
,
$drawrect(0,0,0,0,brushcolor-255-255-255 pencolor-240-240-240)
)
)
$padding(4,0)
$if(%_isplaying%,$font(calibri,10,bold,255-255-255),$font(calibri,10,bold,164-171-179))↘

$if(%_isplaying%,
$font(calibri,10,bold,255-255-255)
,
$font(calibri,9,bold,180-180-180)
)

$align(left,center)[Disc %discnumber% ][%tracknumber%. ]

$if(%_isplaying%,
$font(calibri,10,bold,255-255-255)
,
$font(calibri,10,bold,129-138-150)
)
$if($meta_test(album artist),%artist%' - ')

$if(%_isplaying%,
$font(calibri,10,bold,255-255-255)
,
$font(calibri,8.5,bold,120-120-120)
)%title%

$if(%_isplaying%,
$font(calibri,8.5,bold,255-255-255)
,
$font(calibri,8.5,bold,200-200-200)
)
$align(right,center)%length%

$if(%_selected%,$imageabs(0,0,images\overlay.png,))

$if(%_selected%,$drawrect(0,0,0,0,brushcolor-200-200-200 pencolor-null),)
)
$if(%_selected%,
$font(calibri,10,bold,0-0-0)
,
$font(calibri,10,bold,0-0-0)
)


I just end up with a grey box that I cant see any words in, and I dont want that. If you could look over my code and tell me what is going on wrong, it would be greatly apreciated!

Thanks.
Yotsuya
Shard13:
- in order for a $font() statement to work it must come before the text it's supposed to apply to. the last several lines of your code need to be moved toward the top.
- this may have been fixed in recent versions, but older versions of this component would break colors and fonts after an $align() so you need to put $font() after $align() and not before it in order to work.
- the script is processed in the order it is written if you use a $drawrect() function after you tell it to display text, the rectangle will draw over your text. again, code toward the end should be moved toward the top.
- there appears to be a mismatched end parenthesis toward the end I dunno what it's supposed to go to

I took the liberty in restructuring your code, give it a try:
CODE
// Backgrounds
$ifequal($mod(%list_index%,2),0,
$drawrect(0,0,0,0,brushcolor-250-250-250 pencolor-240-240-240)
,
$drawrect(0,0,0,0,brushcolor-255-255-255 pencolor-240-240-240)
)

$if(%_isplaying%,$drawrect(0,0,0,0,brushcolor-0-0-0 pencolor-0-0-0),)
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-200-200-200 pencolor-null),)

// Text
$padding(4,0)
$font(calibri,10,bold,$if(%_isplaying%,255-255-255,164-171-179))↘

$align(left,center)
$font(calibri(10,bold,180-180-180)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
[Disc %discnumber% ][%tracknumber%. ]
$font(calibri(10,bold,129-138-150)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
$if($meta_test(album artist),%artist%' - ')
$font(calibri(10,bold,120-120-120)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
%title%

$align(right,center)
$font(calibri(8.5,bold,200-200-200)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
%length%

// Overlay
$if(%_selected%,$imageabs(0,0,images\overlay.png,),)
shard13
QUOTE(Yotsuya @ Sep 18 2006, 18:49) *

Shard13:
- in order for a $font() statement to work it must come before the text it's supposed to apply to. the last several lines of your code need to be moved toward the top.
- this may have been fixed in recent versions, but older versions of this component would break colors and fonts after an $align() so you need to put $font() after $align() and not before it in order to work.
- the script is processed in the order it is written if you use a $drawrect() function after you tell it to display text, the rectangle will draw over your text. again, code toward the end should be moved toward the top.
- there appears to be a mismatched end parenthesis toward the end I dunno what it's supposed to go to

I took the liberty in restructuring your code, give it a try:
CODE
// Backgrounds
$ifequal($mod(%list_index%,2),0,
$drawrect(0,0,0,0,brushcolor-250-250-250 pencolor-240-240-240)
,
$drawrect(0,0,0,0,brushcolor-255-255-255 pencolor-240-240-240)
)

$if(%_isplaying%,$drawrect(0,0,0,0,brushcolor-0-0-0 pencolor-0-0-0),)
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-200-200-200 pencolor-null),)

// Text
$padding(4,0)
$font(calibri,10,bold,$if(%_isplaying%,255-255-255,164-171-179))↘

$align(left,center)
$font(calibri(10,bold,180-180-180)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
[Disc %discnumber% ][%tracknumber%. ]
$font(calibri(10,bold,129-138-150)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
$if($meta_test(album artist),%artist%' - ')
$font(calibri(10,bold,120-120-120)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
%title%

$align(right,center)
$font(calibri(8.5,bold,200-200-200)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
%length%

// Overlay
$if(%_selected%,$imageabs(0,0,images\overlay.png,),)




That seems to have cuased a bigger problem....

Take a look at this.
IPB Image

It seems to have nullified the font colors all together, I tried finding the cuase, but I am uncertain where to start.

Thanks for you help though.
kockroach
shard13,

All of the lines starting with "$font" are missing a "," where a "(" is instead. I think this might work.

CODE

// Backgrounds
$ifequal($mod(%list_index%,2),0,
$drawrect(0,0,0,0,brushcolor-250-250-250 pencolor-240-240-240)
,
$drawrect(0,0,0,0,brushcolor-255-255-255 pencolor-240-240-240)
)

$if(%_isplaying%,$drawrect(0,0,0,0,brushcolor-0-0-0 pencolor-0-0-0),)
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-200-200-200 pencolor-null),)

// Text
$padding(4,0)
$font(calibri,10,bold,$if(%_isplaying%,255-255-255,164-171-179))↘

$align(left,center)
$font(calibri,10,bold,180-180-180)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
[Disc %discnumber% ][%tracknumber%. ]
$font(calibri,10,bold,129-138-150)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
$if($meta_test(album artist),%artist%' - ')
$font(calibri,10,bold,120-120-120)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
%title%

$align(right,center)
$font(calibri,8.5,bold,200-200-200)$if(%isplaying%,$font(,,,255-255-255),)$if(%_selected%,$font(,,,0-0-0),)
%length%

// Overlay
$if(%_selected%,$imageabs(0,0,images\overlay.png,),)

I hope that works.
shard13
Thanks a ton Kockroach, that did it perfectly, albeit I need to fix a couple font style problems, but that is well within in my capability.

And thanks to Yotsuya also for helping. I now understand the scripting a *bit* better biggrin.gif
jimbo11883
Here's a good question... Is it possible to do dynamic album ratings?
For example, I have an album, and every track has a rating from 0 (no rating) to 5 stars. Is there some way to place a dynamic number of stars into the group display?

Basically, can I get an average of the %RATING% fields in the album?
cartman(2vd)
QUOTE(Yotsuya @ Sep 19 2006, 02:07) *

Cartman:
My guess would be that at some point the the filename is being processed as code and therefore the comma is breaking the processing. I would suggest attempting a workaround by prefixing any commas in your filename with single quotes to have them processed as text. For example:
--
*this is untested and you may need to debug it


Yeah that was something i also thought so i tried this:
CODE
$replace(%path%,',',''',''')

just to find out how escape codes with ' with commas are interpreted. this seems to be doing just what i need. ive implemented it in imagabs but result is seen on screenshot sad.gif (ive changed artist tag in group code to see prarsed path and it looks how it should... but it doesnt work). I still think that problem is in that comma breaks processing but it looks there isnt easy path around sad.gif

IPB Image

ps: yup ive grabbed your setup and workaround code from appearance thread. then i just run batch process in irfan view and my album arts are all there smile.gif) ... just those comas are giving me headache smile.gif
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.