function playAiInternal(button) {
// Find the hidden playlist wrapper next to the button
const wrapper = button.nextElementSibling;
// Try to find a play button inside the player
const playBtn = wrapper.querySelector('button');
if (playBtn) {
playBtn.click(); // Simulate click
button.textContent = '⏸'; // Optional: toggle icon
} else {
alert("Audio player not ready yet.");
}
}