diff --git a/lsp/main.js b/lsp/main.js
index b0af1750..79ac78a9 100644
--- a/lsp/main.js
+++ b/lsp/main.js
@@ -738,6 +738,11 @@
sid += 1;
settings.settings.streams[stream].sid = sid;
}
+ //if .source does not exist, create it
+ if (settings.settings.streams[stream].source == undefined)
+ {
+ settings.settings.streams[stream].source = settings.settings.streams[stream].channel.URL;
+ }
var cstr = settings.settings.streams[stream];
@@ -745,7 +750,7 @@
$tr.append( $('
').text( cstr.sid ) );
- $tr.append( $(' | ').text( TypeofResource( cstr.channel.URL ) ) );
+ $tr.append( $(' | ').text( TypeofResource( cstr.source ) ) );
$tr.append( $(' | ').append( $(' |