Recommended Posts

According to this thread, http://www.hydrogenaudio.org/forums/index....showtopic=31530

String for play_count plugin:

First Tag: LAST_PLAYED Format: %Y-%M-%D $H:$M:$S

Second Tag: (leave this empty)

585873864[/snapback]

hmm, Seem to be getting a little bit closer each time. :) I didn't need the $H:$M:$S in the format.

Problem is that I played a lot of my tracks yesterday but as of this morning when I read your post and changed it they show up as today, I will give it a couple of days and see what happens with it.

585874977[/snapback]

can't get this to work :(, perhaps someone can suggest something I missed.

heres part of the globals config which has last_played in it.

// DATE & TIME CALCULATIONS
$if(%last_played%,
// calculate lastplayed-days since millenium
$puts(lastplayed_d-2000,$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),
$substr(%__last_played%,9,10)))
// calculate days since last play
$puts(days_since_play,$max(0,$sub($get(system_d-2000),$get(lastplayed_d-2000))))
)

(If I change the first last_played then the last played column starts spouting gibberish) and heres the config for the last played column

// DO NOT change anything here !
// for configuration, see the "Globals"-tab !
// ============================================

// last played
$if(%__last_played%,
%_standard_color%
$ifgreater(%_days_since_play%,30,$left(%__last_played%,10),
$ifgreater(%_days_since_play%,1,%_days_since_play%days ago,
$ifgreater(%_days_since_play%,0,yesterday,
%_special_color%' - today - '
)))
$char(9)%_standard_color_low%$substr(%__last_played%,12,16)
)

and finally this is what I have in the playcount configuration.

First tag: last_played Format: %Y-%M-%D $H:$M:$S
second tag is blank

anyone have any ideas what I'm doing wrong? :)

In the bottom right, I need to figure out how o change that background and selection color.

For the spectrum analyzer, how can I have it not have a sunken border style?

Under the artist column, I've seen some people have it setup so it says the artist on track 1 of an albums line, then the rest of the album has a blank under artist. How could I get it so it'd be like that, along with the album name and bitrate in the same column?

Thanks.

post-39393-1115486242_thumb.jpg

For the visualization border, go to foobar's options, and under Visualization -> simple spectrum -> Border Style..

as for the album detection, its alot less clever then you would think - its a string check for tracknumber 1, if so, show artist, otherwise, dont display anything. something like this (under the artist column code):

$if($strcmp(%tracknumber%,1),%artist% %other_tags_that_you_would_like%,<empty string here so artist wont show>)

For the visualization border, go to foobar's options, and under Visualization -> simple spectrum -> Border Style..

as for the album detection, its alot less clever then you would think - its a string check for tracknumber 1, if so, show artist, otherwise, dont display anything. something like this (under the artist column code):

$if($strcmp(%tracknumber%,1),%artist% %other_tags_that_you_would_like%,<empty string here so artist wont show>)

585886520[/snapback]

I don't have the simple spectrum subtree. =/

I'll try out that string and play around with it, thanks.

Hmm, the playlist stuff doesn't seem to be working, here's my config:

// LordAlu's Playlist Config

// -------------------------------------

// Colour Settings

// -----------------------

$puts(color1,000000|000000)

$puts(color2,FFFFFF|FFFFFF)

$puts(color3,DFDFDF|DFDFDF)

$puts(color4,ffffff|DFDFDF)

$puts(color5,ffffff|ffffff)

$puts(color6,808080|808080)

$puts(color7,400080|400080)

// Playlist Numbering

// ----------------------------

$get(color3)$repeat(0,$sub(4,$len2(%_playlist_number%)))

$if(%_isplaying%,$get(color7),$get(color6))%_playlist_number%

$if($strcmp($num(%tracknumber%,1),1),$get(color3)'├'$get(color2)'─',$get(color3)'│ ')

// Show Artist on 1st Track

// --------------------------------------

$if($strcmp($num(%tracknumber%,1),1),

$get(color2)'['

$if(%artist%,$get(color1)$caps(%artist%)

$get(color2)']',$get(color1)'No Artist Defined'$get(color2)']'))

// Show Album on 2nd Track

// ------------------------------------------

$if($strcmp($num(%tracknumber%,1),2),

$if(%album%,$get(color6) $caps(%album%)),)

// Show Year and Genre on 3rd Track

// --------------------------------------------------------

$if($strcmp($num(%tracknumber%,1),3),

$if(%date%,$if(%genre%,$get(color6)' ('%date%') - '%genre%,$get(color6)' ('%date%')'),),)

// Information Formatting

// ----------------------------------

$if($strcmp($num(%tracknumber%,1),1),$get(color2)$repeat(─,200),$get(color3))

$repeat( ,200)

$tab(5)

// Show Tracknumber

// -------------------------------

$if($strcmp($num(%tracknumber%,1),1),$get(color3)'┤',$get(color3)'│')

$if(%tracknumber%,$if(%_isplaying%,$get(color7),$get(color6))$num(%tracknumber%,2),)

$if($not(%tracknumber%),$repeat(*,2),)

$if($strcmp($num(%tracknumber%,1),1),$get(color3)'├'$get(color2)'─',$get(color3)'│ ')

// Show Title

// ----------------

$if(%_isplaying%,$get(color7),$get(color1))

$if(%title%,$caps(%title%),$caps(%_filename_ext%))

$if($strcmp($num(%tracknumber%,1),1),$get(color2)$repeat(─,200),$get(color3))

//isplaying 2

$if(%_isplaying%,$get(color2),)

$if(%_isplaying%,$tab(9)$get(color7)'♪♫ ',$tab(9))

// Show Track Length

// -------------------------------

$if($strcmp($num(%tracknumber%,1),1),$get(color3)'┤',$get(color3)'│')

$if(%_isplaying%,$get(color7),$get(color6))

$if(%_length%,$pad_right(%_length%,5),)

Edited by Raum

The vertical lines are just 1 pixel columns with a black background.

For the horizontal lines, put this in the "colour" tab for every column that has text in it.

$rgb(0,0,0)|

$rgb(255,255,255)|

$rgb(255,255,255)|

$rgb(75,100,125)|

$rgb(75,100,125)|

|

$if($stricmp(%tracknumber%,'1'),$rgb(0,0,0),$rgb(255,255,255))|

The single "|" in the second last line is needed.

The last line draws the horizontal lines.

Awsome, thanks for the tip. One last question.

//[%artist%]

$if($stricmp(%tracknumber%,'1'), %artist%)

$if($stricmp(%tracknumber%,'2'), %album%)

$if($stricmp(%tracknumber%,'2'), - %date%)

That's my artist column. On track two, it'll say, for example:

Jar OF Flies - 1994

I'm trying to make it so Jar OF Flies (Album name) is in white, and 1994 (date) is in black. How might I do this?

Nice & Clean. I wonder whats with you and dark colors though,

its like your black is deep-black-more-then-the-darkest-night, and your white is dark-grey ;p

585887164[/snapback]

Maybe your moniter is too dark or mine is too bright? I know I keep the one on the left very bright.

I downloaded a "theme", but it won't show the artists from songs without tracknumbers (single MP3s)

This is the code for the column:

$if($strcmp($num(%tracknumber%,2),01),

$if(%various%,%funder%,

$if(%soundtrack%,

%album% 8CDCF7soundtrack,

%artist%)

))

$if($strcmp($num(%tracknumber%,2),02),

$if(%various%,

8CDCF7%album%)

)

I'm kinda a newbie on coding so i wouldn't what to edit :p.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.