=== BabylonTTS Connector ===
Contributors: itgoldman
Tags: text-to-speech, tts, audio player, multilingual, audio assets
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 1.5.2
Requires PHP: 7.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Turn your WordPress posts into high-quality multilingual audio assets instantly using the BabylonTTS platform.

== Description ==

The BabylonTTS Connector bridges your WordPress site straight to the high-fidelity BabylonTTS audio engine. No bloated dashboards, no spammy banners—just clean layouts and seamless integration to give your articles a real voice.

== Third-Party Service Disclosure ==

This plugin relies on and connects to an external third-party service to process and generate high-fidelity audio:
* Service Name: BabylonTTS
* Service URL: https://babylontts.com
* Terms of Service: https://babylontts.com/terms.php
* Privacy Policy: https://babylontts.com/privacy.php

BabylonTTS handles all text-to-speech rendering, file hosting, and character cost processing. By inputting your Engine Secret Key or utilizing the Auto-Connect feature, you are explicitly authorizing data to be securely transmitted to the BabylonTTS cloud engine.


= Features =
* One-click Auto-Connect workspace configuration.
* Real-time character cost calculation before generation.
* Automated text-hash parity to catch edited or outdated content.
* Lightweight, async frontend audio player injection.

== Installation ==

1. Upload the `babylontts-connector` folder to your `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Head over to Settings -> BabylonTTS and lock in your Engine Secret Key via Auto-Connect.

== Frequently Asked Questions ==

= Where do I get an Engine Secret Key? =
Hit Auto-Connect Workspace in the settings or grab your key straight from your dashboard at babylontts.com.

= Can I manually place the audio player inside my post? =
Yeah, just drop the [babylontts-player] shortcode anywhere in your content. If the shortcode is detected, auto-injection skips so you don't get double players.

= What happens if I edit my post after generating audio? =
Our hash engine detects the edit and flags the status as Audio Outdated. You can hit Calculate Cost to see what a fresh sync costs.

= How do credits work? =
Every new workspace gets 10 free credits right out the box. 1 credit covers 1 full article (up to 1,000 words or 6,000 characters) and unlocks 4 voice units—use them across 4 different languages or run 1 language at 4x quality. Credits don't expire, and all generated audio is hosted forever on BabylonTTS servers. No subscription needed.

= Does this work with Gutenberg, Classic Editor, and Page Builders? =
Works right out the box with Gutenberg and Classic. Page builders (Elementor, Divi) work seamless when using the [babylontts-player] shortcode.

= How do I customize the player, add/remove languages, change voices or buy credits? =
Head over to your BabylonTTS dashboard at [babylontts.com/#dashboard](https://babylontts.com/#dashboard).

== Screenshots == 

1. WordPress - posts view
2. Dashboard - player customization
3. Dashboard - languages selection

== Changelog ==

= 1.5.1 =
* Added shortcode [babylontts-player]

= 1.5.0 =
* Complete UI/UX overhaul matching the core brand identity.
* Fixed action button alignments and established height parity.
* Migrated options page from legacy tables to a modern card layout.