Fix:Handle crash scenario due to player title being null. (#995)

This commit is contained in:
Jas Singh
2025-06-03 22:31:03 -07:00
committed by GitHub
parent 8422c6b805
commit 62813f890f

View File

@@ -370,7 +370,7 @@ export class MediaPlayerService {
); );
const initialTitle = player.title; const initialTitle = player.title;
this.mediaTitle.set(initialTitle.length > 0 ? this._normalizeLabel(initialTitle) : '-----'); this.mediaTitle.set(initialTitle?.length > 0 ? this._normalizeLabel(initialTitle) : '-----');
} }
/** /**