Console'da "Object" yazıyor ama şarkı bilgisi içinde var!
Console'da sadece "Object" görünüyor ama kodda şarkı bilgisi loglanıyor!
console.warn('⚠️ HLS TIMEOUT:', {
song: self.currentSong?.title, // 🎵 ŞARKI BAŞLIĞI
timeout: hlsTimeoutMs + 'ms', // ⏱️ TIMEOUT SÜRESİ
reason: 'HLS yüklenemedi (timeout)', // ❌ SEBEP
position_sec: Math.round(currentPos) // 📍 POZİSYON
});
Sorun: Console'da object otomatik expand edilmemiş, bu yüzden sadece "Object" yazıyor. Object'e tıklaman lazım!
⚠️ HLS TIMEOUT: Object satırını bul
song: "Şarkı Adı" göreceksin!
Örnek expanded object:
▶ Object
song: "Yalnızlık Senfonisi"
timeout: "45000ms"
reason: "HLS yüklenemedi (timeout)"
position_sec: 0
.m3u8 veya hls yaz
/songs/1234/hls/
Alpine.store('player').currentSong
Bu komut şu anda çalan (veya çalmaya çalışan) şarkının tüm bilgilerini gösterir.
{
song: self.currentSong?.title, // String | undefined
timeout: hlsTimeoutMs + 'ms', // "45000ms"
reason: 'HLS yüklenemedi (timeout)', // String
position_sec: Math.round(currentPos) // Number (saniye)
}
15s → 45s (increased for stability)
Timeout olunca kod şunu yapıyor:
// 1. Yeni signed URL al (satır 2303)
const retried = await self.retryHlsWithNewUrl(
targetVolume, autoplay, 'timeout', currentPos
);
// 2. Retry başarısızsa MP3 fallback (satır 2304-2306)
if (!retried) {
self.triggerMp3Fallback(audio, targetVolume, 'timeout');
}
Sorun: Retry'da da timeout oluyor → Sonsuz döngü!
Console'da "Object" yazmasın, direkt şarkı adı yazsın.
console.warn('⚠️ HLS TIMEOUT:', {
song: self.currentSong?.title,
timeout: hlsTimeoutMs + 'ms',
reason: 'HLS yüklenemedi (timeout)',
position_sec: Math.round(currentPos)
});
❌ Sorun: Object expand edilmeden şarkı adı görünmüyor
// 🔥 Önce şarkı adını string olarak logla
console.warn('⚠️ HLS TIMEOUT:',
self.currentSong?.title || 'Bilinmeyen Şarkı',
'(' + hlsTimeoutMs + 'ms)'
);
// 🔍 Detaylı bilgi için object de logla (opsiyonel)
console.warn('📊 Timeout Detayları:', {
song_id: self.currentSong?.song_id,
song_title: self.currentSong?.title,
artist: self.currentSong?.artist?.name,
timeout: hlsTimeoutMs + 'ms',
reason: 'HLS yüklenemedi (timeout)',
position_sec: Math.round(currentPos),
hls_url: self._lastHlsUrl
});
✅ Avantaj: Console'da direkt şarkı adı görünür, detay için object'i expand edebilirsin
⚠️ HLS TIMEOUT: Yalnızlık Senfonisi (45000ms)
📊 Timeout Detayları: ▶ Object
song_id: 1234
song_title: "Yalnızlık Senfonisi"
artist: "Sezen Aksu"
timeout: "45000ms"
reason: "HLS yüklenemedi (timeout)"
position_sec: 0
hls_url: "https://..."
⚠️ HLS TIMEOUT: Object görsong: "..." kısmını bul# Örnek: Şarkı adı "Yalnızlık Senfonisi", ID: 1234
ls -lah storage/tenant1001/app/public/songs/1234/hls/
# Network tab'den URL kopyala ve test et
curl -I https://muzibu.com/storage/songs/1234/hls/master.m3u8