more logs

This commit is contained in:
Andrey Kondratev
2025-08-29 15:23:31 +05:00
parent b322cac445
commit 2931ba9847

View File

@@ -210,7 +210,8 @@ class QuixoticApp {
}
public async convertVideo(videoId: string, title: string, url: string): Promise<void> {
console.log('Convert video called:', { videoId, title, url });
console.log('🎵 CONVERT VIDEO CALLED:', { videoId, title, url });
console.log('🔧 Telegram WebApp available:', !!this.tg);
const videoElement = (event as any)?.currentTarget as HTMLElement;
if (videoElement) {
videoElement.classList.add('tg-list-item--converting');
@@ -241,7 +242,8 @@ class QuixoticApp {
if (data.audioUrl) {
// MP3 conversion successful!
console.log('MP3 conversion successful:', data.audioUrl);
console.log('🎉 MP3 conversion successful:', data.audioUrl);
console.log('🔧 About to send to Telegram, tg available:', !!this.tg);
if (this.tg) {
// Send to Telegram chat