Hi I found this code, i'm nearly happy about is, but i'm not sure how I fix it.
the code is:
$if($strcmp(%play_counter%,?),
Playing song for fist time,
$if($strcmp(%play_counter%,1),
Song played %play_counter% time',' on ,
Song played %play_counter% times. Last on )
$if($strcmp($left($right(%last_played%,10),1),1),Sunday', ',)
$if($strcmp($left($right(%last_played%,10),1),2),Monday', ',)
$if($strcmp($left($right(%last_played%,10),1),3),Tuesday', ',)
$if($strcmp($left($right(%last_played%,10),1),4),Wednesday', ',)
$if($strcmp($left($right(%last_played%,10),1),5),Thursday', ',)
$if($strcmp($left($right(%last_played%,10),1),6),Friday', ',)
$if($strcmp($left($right(%last_played%,10),1),7),Saturday', ',)
$right(%last_played%,8) at $right($left(%last_played%,16),5))
i'm not sure what the sunday, monday etc. is but I dont need it so maybe it can be removed.
what I get is:
when never played:
Playing song for first time
when 1 time played:
Song played one time, (*this isn't correct at all* something like this:) on :hour: :minute: second: at :hour: minute
when more than 1 time played:
Song played *play counter* times, (*this isn't correct at all* something like this:) last on :hour: :minute: second: at :hour: minute
what I want is:
when never played:
Playing song for first time
when 1 time played:
Song played one time, on :month: - :day: at :hour: - :minutes: AM or PM
when more than 1 time played:
Song played *amount* times, :month: - :day: at :hour: - :minutes: AM or PM
for the AM or PM I found this
// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))
When I add this to my code nothing happens.
Can someone help me with my trackinfo?