HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: crazybilly on 2006-04-06 07:53:06

Title: %play_count% tagz for foo_uie_trackinfo?
Post by: crazybilly on 2006-04-06 07:53:06
I'm throughouly confused.  I got foo_uie_trackinfo running and copied in some code from the 'post your fb2K .9' thread to get it to show Played x times so far, Last played... info.

The tags are as follows:

Code: [Select]
Played %play_counter% times so far. $char(10)
Last played: %play_date% at %play_time%$char(10)


I thought I'd need foo_playcount, but despite fervent looking, I can't find a new version.  How do I get that info working for .9?  Can anybody point me to a good tutorial?  Thanks!
Title: %play_count% tagz for foo_uie_trackinfo?
Post by: Silversight on 2006-04-06 21:55:06
I'm throughouly confused.  I got foo_uie_trackinfo running and copied in some code from the 'post your fb2K .9' thread to get it to show Played x times so far, Last played... info.

The tags are as follows:

Code: [Select]
Played %play_counter% times so far. $char(10)
Last played: %play_date% at %play_time%$char(10)


I thought I'd need foo_playcount, but despite fervent looking, I can't find a new version.  How do I get that info working for .9?  Can anybody point me to a good tutorial?  Thanks!


Not very difficult to find... Look here! (http://www.foobar2000.org/components/index.html)
As for the tutorial - there's nothing particularly difficult about it, just use the tags %play_count% and %last_played%, and you get what you want.
Title: %play_count% tagz for foo_uie_trackinfo?
Post by: crazybilly on 2006-04-06 22:56:26
ah.  so my tags were wrong.  no wonder I couldn't find the right info .

is there a page that explains ways to format the tags?  Or to put it another way, is there somewhere that explains how to change the way %last_played% is displayed?
Title: %play_count% tagz for foo_uie_trackinfo?
Post by: Stuart60611 on 2006-04-06 23:06:55
ah.  so my tags were wrong.  no wonder I couldn't find the right info .

is there a page that explains ways to format the tags?  Or to put it another way, is there somewhere that explains how to change the way %last_played% is displayed?


Where does .9 store these fields.  The old plugin stored this information in the file tag.  Is there a way to do this in the new playback statistics?
Title: %play_count% tagz for foo_uie_trackinfo?
Post by: AsD on 2006-04-07 00:35:09
is there a page that explains ways to format the tags?  Or to put it another way, is there somewhere that explains how to change the way %last_played% is displayed?


You could try this:
Code: [Select]
$if(%LAST_PLAYED%,Last played: $replace($substr(%LAST_PLAYED%,0,10),-,/) at $substr(%LAST_PLAYED%,12,16),Never played)
SimplePortal 1.0.0 RC1 © 2008-2021