Skip to content

3.1.0

Note

foobar2000 2.0 was a requirement for the 3.1.x and 3.2.x series of releases but support for 1.6.6+ was added in 3.3.0.

Changes#

  • The minimum requirement for foobar2000 is now 2.0.
  • IMetadbHandle GetFileInfo has been updated so the previously optional full_info argument is not needed at all. Any supplied value will be ignored and the return value should always be valid.
  • The Editor Properties in the main Preferences will be reset as the component now uses a brand new storage mechanism built in to foobar2000.
  • window.IsDark has been updated to report Default UI Dark Mode.

New additions#

Changes to clickable ratings (JS Playlist, Smooth Playlist)#

Note

These changes apply to the 3.1.x series of components only. As of foobar2000 2.0 Beta 18 and component version 3.2.0, detecting and using foo_playcount for Playback Statistics will be restored.

foobar2000 now has built in Playback Statistics which makes foo_playcount obsolete. The clickable RATING stars in JS Playlist and Smooth Playlist previously relied on detection of that component to determine whether to use Playback Statistics or write file tags but since that is no longer possible, the following changes have been made:

  • JS Playlist users must configure the title formatting in the RATING column to use %rating% for Playback Statistics or $meta(rating) for file tags. The script will detect which is in use when clicked. Note that the default is %rating%.
  • Smooth Playlist users must choose which to use from the right click menu under Track Info.

Sample changes#

Important note for current JS Playlist users

JS Playlist has had some internal changes made which means previous column/group settings will not be retained if upgrading from an earlier version. Make a copy of any complex title formatting strings first.

The Cover column and Extra Rows options have both been removed. $rgb title formatting should work again. It seems that it was broken during the transition to 3.0.0.

Note

Existing users of these samples must re-import using the Samples button. This is for bug fixes and new functionality.

  • Last.fm Artist Info + User Info (previously similar artists + charts)
  • Text Display (This has had a major update to be more like the old foo_textdisplay component. It has full $rgb support and can display coloured emoji if using Windows 10 or later.)
  • Text Reader (Use this for displaying the contents of text files.)
  • Spectrogram Seekbar
  • Track Info + Seekbar + Buttons
  • Track Info + Spectrogram Seekbar + Buttons
  • The Spectrogram Seekbar samples now save the cached images as WebP which are much smaller. For existing users, it will make a one time offer to delete any existing PNG files in your cache folder.

  • Smooth Browser has some new add/send to playlist options:

    smooth browser playlist options

  • The basic\GetColourScheme sample for extracting the most dominant colours from an image has been updated with a DetermineTextColour function to calculate whether to write black or white text depending on the luminance of the background. The code for this was actually taken from the foobar2000 SDK (C++) and converted to JavaScript. Credit must to go Peter Pawlowksi who is the author of foobar2000.

    GetColourScheme

  • The same DetermineTextColour method used above has been used to improve the text colour used on selected items in the JS Playlist and Smooth samples.

  • The Properties sample has been updated to display the new %file_created% field that is built in to foobar2000.

  • The Autoplaylists sample has been removed.