Foobar2000:Titleformat Playback Statistics: Difference between revisions

From Hydrogenaudio Knowledgebase
m (→‎Links: Just links to a page that says: "Nein".)
(→‎Special fields: Added %first_played%)
Line 6: Line 6:


Returns how many times this tracks has been played. If the track has not been played yet, the field does not exist.
Returns how many times this tracks has been played. If the track has not been played yet, the field does not exist.
=== %first_played% ===
Returns the date and time when the track was first played. If the track has not been played yet, the field does not exist.


=== %last_played% ===
=== %last_played% ===
Line 11: Line 15:
Returns the date and time when the track was last played. If the track has not been played yet, the field does not exist.
Returns the date and time when the track was last played. If the track has not been played yet, the field does not exist.


The format of the returned value is
The format of the returned values for both ''%first_played%'' and ''%last_played%'' are


   YYYY-MM-DD hh:mm:ss
   YYYY-MM-DD hh:mm:ss

Revision as of 02:12, 19 June 2007

Playback statistics

Special fields

%play_count%

Returns how many times this tracks has been played. If the track has not been played yet, the field does not exist.

%first_played%

Returns the date and time when the track was first played. If the track has not been played yet, the field does not exist.

%last_played%

Returns the date and time when the track was last played. If the track has not been played yet, the field does not exist.

The format of the returned values for both %first_played% and %last_played% are

 YYYY-MM-DD hh:mm:ss

The different parts of the format have the following meaning:

  • YYYY: year (four digits)
  • MM: month (two digits)
  • DD: day of month (two digits)
  • hh: hour (two digits)
  • mm: minute (two digits)
  • ss: second (two digits)

Disclaimer

The official playback statistics component is only intended to be a test case for a new API in foobar2000 0.9 beta 13. A more complete version is expected to be created by third parties once the SDK for fooba2000 0.9 is publicly released.