2015: live: Get rid of stream name/description that isn't working right.
authorDavid Thompson <dthompson2@worcester.edu>
Sat, 21 Mar 2015 15:19:42 +0000 (11:19 -0400)
committerDavid Thompson <dthompson2@worcester.edu>
Sat, 21 Mar 2015 15:19:42 +0000 (11:19 -0400)
2015/assets/js/stream.js

index a0c116028ab86c1f996de3e95e1b126b7362fd3b..14e1e1ca6ca481ef7b8d487993e37b603b350616 100644 (file)
@@ -250,15 +250,18 @@ app.view = function(ctrl) {
 
     if(stats === app.nullStats) {
       info = m("i", "not broadcasting");
-    } else if(app.validStreamInfo(stats)) {
-      info = [
-        m("strong", stats.server_name),
-        " — ",
-        m("i", stats.server_description)
-      ];
     } else {
-      info = null;
+      info = m("i", "live");
     }
+    // else if(app.validStreamInfo(stats)) {
+    //   info = [
+    //     m("strong", stats.server_name),
+    //     " — ",
+    //     m("i", stats.server_description)
+    //   ];
+    // } else {
+    //   info = null;
+    // }
 
     return m(".row", [
       m(".col-sm-8", info),