=== Spindle MP3 Player ===
Contributors: juanjome
Tags: audio, mp3, player, music, playlist
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A WordPress audio player for albums, tracks and playlists, with six visual styles, an ID3-tag importer and its own REST API.

== Description ==

Spindle MP3 Player is an audio player for WordPress built as a Web Component with Shadow DOM. It lets you create albums, standalone tracks and playlists from MP3 files, choose from six visual player styles (Full, Compact, Wide, Vertical, Horizontal and Mini) and embed them on any page with a shortcode.

= Features =

* Custom content types: Album, Track and Playlist
* MP3 importer that reads ID3 metadata (title, artist, album, year, cover art) and automatically groups tracks by album
* Import option that reuses audio files already in the WordPress media library
* Own public REST API to consume player data from any website
* Six player styles: Full, Compact, Wide (minimalist) and Vertical, Horizontal, Mini (physical hardware look)
* Per-player customization of theme (light/dark/auto), accent color, background (solid/gradient/transparent) and corner radius
* Single-playback coordinator: only one player plays at a time on the same page
* Optional per-track download button

= External services =

This plugin may load the **JetBrains Mono** typeface from Google Fonts (`fonts.googleapis.com`) when a "Modern Player" style (Vertical, Horizontal or Mini) is used on a page. This request is only made on the front-end pages where such a player is displayed, and in the design-options preview inside the admin metabox. No personal data is sent beyond what any browser normally sends to a font CDN (IP address, user agent).

* Service: Google Fonts
* Privacy policy: https://policies.google.com/privacy
* Terms of service: https://developers.google.com/fonts/faq

== Installation ==

1. Upload the `spindle-mp3-player` folder to `/wp-content/plugins/`
2. Activate the plugin from the WordPress "Plugins" menu
3. Go to the "MP3 Player" menu to create your first album or import existing MP3 files

== Changelog ==

= 1.0.7 =
* Widened the track-order column in the importer so two-digit numbers display fully
* Capped the equalizer/waveform screen height at 188px in the Horizontal player style so it no longer stretches with long track lists

= 1.0.6 =
* Fixed Contributors username casing (juanjome, lowercase, matching the WordPress.org profile slug exactly)

= 1.0.5 =
* Converted all remaining inline <script>/<style> blocks (11 total, across the admin pages, meta boxes, playlist editor and dashboard) to properly registered and enqueued assets via wp_register_script/wp_enqueue_script/wp_add_inline_script and their style equivalents, per WordPress.org review feedback
* Fixed Contributors username in readme.txt

= 1.0.4 =
* Fixed duplicate Plugin URI / Author URI header value (Plugin Check error)

= 1.0.3 =
* Renamed the plugin to Spindle MP3 Player
* Fixed phpcs:ignore comment scoping so it actually covers the flagged lines inside array literals (nonce check on album_id, meta_value/meta_query/post__not_in warnings)

= 1.0.2 =
* Full Plugin Check compliance pass: fixed all flagged escaping issues (esc_url, esc_js, esc_attr, intval), removed a disallowed compressed archive file, properly enqueued the ID3-reading script instead of a raw <script> tag, readme.txt rewritten in English, "Tested up to" updated

= 1.0.1 =
* Security hardening: consistent wp_unslash() on all $_POST/$_GET reads, output escaping (esc_html, esc_attr, esc_js, esc_url, intval) across the admin views, properly enqueued admin scripts, Plugin Check compliance pass

= 1.0.0 =
* First production release
* Six player styles: Full, Compact, Wide, Vertical, Horizontal, Mini
* MP3 importer with ID3 tag reading, album grouping and import from the media library
* Own REST API for albums, tracks and playlists
* Per-player theme, accent, background and corner-radius customization
* Single-playback coordinator across multiple players on the same page
* Admin dashboard, design metaboxes and importer screen
