A consolidated Spider Monkey Panel transport-control and playback-information panel for foobar2000.
SMP_Playcontrol combines playback controls, seek/volume controls, track information, album artwork, wallpaper, configurable buttons, and Last.fm integration in a single self-contained JavaScript panel.

2.0.52
Version 2.0.52 is the current tested development baseline. It retains generalized foobar2000 Title Formatting evaluation and corrects Last.fm authorization and metadata initialization during playback changes.
- Love / Unlove through Last.fm
- Previous Track
- Rewind
- Play / Pause
- Fast Forward
- Next Track
- Playback-order control
- foobar2000 Preferences
- DSP Preferences
- Facets Search
- Playlist saving
- foo_skip enable / disable
- Title
- Artist
- Album
- Elapsed time
- Track length
- Album artwork
Album artwork can be used as panel wallpaper, with configurable wallpaper behavior, transparency, and blur.
The integrated Last.fm functionality supports:
- Last.fm account configuration and authorization
- Love / Unlove
- Loved-track handling
- Importing Last.fm loved tracks
- Displaying tracks marked as loved in the foobar2000 Library
The existing Last.fm configuration and session data are retained by the script. The 2.0.x consolidation does not require re-authorizing an already configured account.
- foobar2000
- Spider Monkey Panel
- foo_skip
- Segoe Fluent Icons for the intended button appearance
- A configured text font; the default is Roboto, with Segoe UI used as the fallback when the configured font is unavailable
- Download the current release ZIP.
- Extract the contents into the appropriate foobar2000 profile location.
- Add
SMP_Playcontrol.jsto a Spider Monkey Panel. - Configure the panel through the SMP Properties dialog.
PlayControl provides user-configurable properties for:
- Artwork
- Buttons
- Colors
- Panel behavior
- Seekbar
- Text
- Wallpaper
Customized properties can be exported/imported through the normal Spider Monkey Panel property facilities.

The current project is intentionally small:
SMP_PlayControl/
├── SMP_Playcontrol.js
├── README.md
├── LICENSE
└── .gitignore
The JavaScript source is self-contained. Earlier helper, panel, seekbar, volume, album-art, and Last.fm source files have been consolidated into the single SMP_Playcontrol.js source file.
Development follows an incremental approach:
- make one functional or structural change at a time
- test the resulting revision before proceeding
- preserve working behavior while removing obsolete dependencies
- perform performance improvements separately from functional corrections
- keep stable versions available for testing and release
The Git repository preserves the historical project record while the current main branch is being brought up to date with the consolidated 2.x implementation.
- Prevented
EvalWithMetadb()errors when a track metadata handle is temporarily null. - Updated metadata initialization and new-track handling so Now Playing text lines 1–3 display after selecting a track in SMP Album Visualizer without requiring Next Track or Previous Track.
- Preserved generalized Title Formatting support introduced in 2.0.50.
- Confirmed the metadata fix works in foobar2000 with Spider Monkey Panel 1.6.1.
- Fixed a Last.fm authorization crash caused by an obsolete
panel.list_objectsreference. - Confirmed Last.fm authorization succeeds in the consolidated implementation.
- Generalized Title Formatting evaluation through foobar2000's
EvalWithMetadb(). - Supported native Title Formatting functions such as
$max(),$min(),$if(), and$ifgreater(). - Retained special
$rgb()handling for inline text colors.
- Corrected initialization ordering for startup panel geometry.
- Retained dynamic playback-state color handling for elapsed/track time.
- Continues the consolidated single-file architecture.
The 2.0.x development series consolidated the earlier multi-file PlayControl implementation into a self-contained Spider Monkey Panel script and removed obsolete dependencies and legacy configuration.
The original PlayControl project was based on earlier Spider Monkey Panel work and incorporated functionality from several SMP contributors. The existing Git history contains the historical 1.x development record.
See LICENSE.

