Browse Source

add remote

windhamdavid 4 years ago
parent
commit
6c3e1f1e7c
4 changed files with 6 additions and 5 deletions
  1. 2 1
      .gitignore
  2. 2 2
      app/js/radio.min.js
  3. BIN
      dump.rdb
  4. 2 2
      src/js/radio.js

+ 2 - 1
.gitignore

@@ -2,4 +2,5 @@
 *.log
 npm-debug.log*
 node_modules
-*.rdb
+*.rdb
+dump.rdb

+ 2 - 2
app/js/radio.min.js

@@ -426,7 +426,7 @@ $(function(){
 amplitude_config = {
 //  amplitude_songs: []
 	"amplitude_songs": [{
-			"url": "http://code.davidawindham.com:8008/stream",
+			"url": "http://stream.davidawindham.com:8008/stream",
 			"live": true
 		}],
 	"amplitude_volume": 90
@@ -440,7 +440,7 @@ function get_radio_eq_none() {return 'img/none.svg';}
 function radioTitle() {
 	$('#radio').attr('src', get_radio_none()).fadeIn(300);
 	$('#eq').attr('src', get_radio_eq_none()).fadeIn(300);
-    var url = 'http://code.davidawindham.com:8008/status2.xsl';
+    var url = 'http://stream.davidawindham.com/status2.xsl';
     var mountpoint = '/stream';
     $.ajax({ type: 'GET',
           url: url,

BIN
dump.rdb


+ 2 - 2
src/js/radio.js

@@ -116,7 +116,7 @@ $(function(){
 amplitude_config = {
 //  amplitude_songs: []
 	"amplitude_songs": [{
-			"url": "http://code.davidawindham.com:8008/stream",
+			"url": "http://stream.davidawindham.com:8008/stream",
 			"live": true
 		}],
 	"amplitude_volume": 90
@@ -130,7 +130,7 @@ function get_radio_eq_none() {return 'img/none.svg';}
 function radioTitle() {
 	$('#radio').attr('src', get_radio_none()).fadeIn(300);
 	$('#eq').attr('src', get_radio_eq_none()).fadeIn(300);
-    var url = 'http://code.davidawindham.com:8008/status2.xsl';
+    var url = 'http://stream.davidawindham.com/status2.xsl';
     var mountpoint = '/stream';
     $.ajax({ type: 'GET',
           url: url,