foobar2000: sorting tracks by date

1

How do you sort files by date in an autoplaylist when the date format is something like

2015-09-10 12:37:52

Do you have to convert this date format into another one?

Herr_Schwabullek

Posted 2015-09-10T10:58:48.580

Reputation: 377

Answers

2

Use %date% to sort autoplaylists by date. Foobar understands the YYYY-MM-DD hh:mm:ss format.

enter image description here

To do so, right-click on your autoplaylist tab and select the menü entry Autoplaylist ....
An example could look like this:

enter image description here

You can combine sort-patterns i.e.%directory% - %date%. Or extract and sort by specific time information by using one of these functions:

  • $year(time): Retrieves the year part (formatted as four digits) from a time/date string.

  • $month(time): Retrieves the month part (formatted as two digits) from a time/date string.

  • $day_of_month(time): Retrieves the day of month part (formatted as two digits) from a time/date string.

  • $date(time): Retrieves the date part (formatted as YYYY-MM-DD) from a time/date string.

  • $time(time): Retrieves the time part (formatted as HH:MM:SS or HH:MM) from a date/time string.

References

nixda

Posted 2015-09-10T10:58:48.580

Reputation: 23 233