Translations:Amarok/Manual/Various/FAQ/73/pl

From KDE UserBase Wiki

if( playcount <= 0 ) # not supposed to be less, but what the hell.

      newscore = ( prevscore + percentage ) / 2
  else
      newscore = ( ( prevscore * playcount ) + percentage ) / ( playcount + 1 )
  end