Fixed fallback watch URL not generated for scenes without URL or network.

This commit is contained in:
2026-03-20 01:42:00 +01:00
parent e6919a4283
commit 928857596f
3 changed files with 5 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ function getWatchUrl(scene) {
return new URL(scene.url).href;
}
if (scene.channel && (scene.channel.isIndependent || scene.channel.type === 'network')) {
if (scene.channel && (scene.channel.isIndependent || scene.channel.type === 'network' || !scene.network)) {
return new URL(scene.channel.url).href;
}