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.
  • Posts

    • War was livestreamed. Also, learn the meaning of the word "genocide". Populations do not GROW during a genocide. Zionist is not a bad word - it's the belief that Israel should exist. The cat out of the bag is your racist anitsemitism and posting of blood libels, unproven or out of context. Even BBC reported a kid supposedly being killed was a staged photo op, and AP just posted how Hamas is murdering their own people at Shifa Hospital, executing them in cold blood. You would rather lie down with murderers than think any different.
    • Neowin shudders at the many, many posts from users that block their ads
    • I'm from Australia. This posts reeks of a Nigerian scammer.
    • It's funny that iPhone users think they are getting feature, where in fact they are getting cosmetics that just do iteration circles of "improvement" of the said cosmetics. Apple just doesn't know what to do with this product anymore. There is no innovation on this areas anymore.
    • You can disable the bloat on every browser. That's not the point. I will never use a browser of a shady company. I don't trust them at all. I can still find adblocking solutions than having to rely on a browser from a shady company. Every year they try something shady lol 2016: Brave Ad Replacement https://archive.is/W0k4j#selection-203.7-203.28 2016: pay-to-win Wikipedia clone into the default search engine list https://github.com/brave/browser-laptop/issues/5475 2018: Tom Scott and other creators noticed Brave was soliciting donations in their names without their knowledge or consent. https://www.reddit.com/r/brave...aims_that_brave_is_falsely/ 2020: Brave got caught injecting URLs with affiliate codes https://www.theverge.com/2020/...-crypto-privacy-ceo-apology 2021: Brave's TOR window was found leaking DNS queries https://www.zdnet.com/article/...n-addresses-in-dns-traffic/ 2022: Brave floated the idea of further discouraging users from disabling sponsored messages. https://github.com/brave/brave-browser/issues/22066 2023: Brave got caught installing a paid VPN service on users' computers without their consent. https://www.xda-developers.com...owser-installs-vpn-windows/ 2023: Brave got caught scraping and reselling people's data with their custom web crawler, which was designed specifically not to announce itself to website owners. https://stackdiary.com/brave-s...ghted-data-for-ai-training/ 2024: Brave gave up on providing advanced fingerprint protection, citing flawed statistics https://www.bleepingcomputer.c...tion-as-it-breaks-websites/ 2025: Brave staff publish an article endorsing PrivacyTests and say they "work with legitimate testing sites" like them. This article fails to disclose PrivacyTests is run by a Brave Senior Architect! https://brave.com/blog/adblock...esting-websites-harm-users/
  • Recent Achievements

    • One Year In
      Primer1st earned a badge
      One Year In
    • Experienced
      JayZJay went up a rank
      Experienced
    • Reacting Well
      Sir_Timbit earned a badge
      Reacting Well
    • Week One Done
      rubentuben8 earned a badge
      Week One Done
    • Week One Done
      ARaclen earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      511
    2. 2
      PsYcHoKiLLa
      229
    3. 3
      Edouard
      136
    4. 4
      ATLien_0
      87
    5. 5
      Steven P.
      80
  • Tell a friend

    Love Neowin? Tell a friend!