Browse Source

before cookie passport config

windhamdavid 4 years ago
parent
commit
6c464d4173
3 changed files with 7 additions and 6 deletions
  1. 3 3
      src/css/main.css
  2. 3 2
      src/index.html
  3. 1 1
      src/js/radio.js

+ 3 - 3
src/css/main.css

@@ -197,10 +197,10 @@ meter {
   transform: rotate(-90deg);
 }
 #amplitude-current-time{
-	font-family: 'PT Sans', sans-serif;
-	font-size: 14px;
+	font-family: 'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;
+	font-size: 15px;
 	font-weight: 400;
-  float:right;
+  float:left;
 }
 #amplitude-play-pause {
   height: 50px;

+ 3 - 2
src/index.html

@@ -37,7 +37,8 @@
                               <span id="amplitude-now-playing-bitrate">Bitrate: <span id="bitrate">00</span> Kbps 44.100 Khz</span>
                            </div>
                            <div class="col-xs-4">
-                        </div>
+                              <span id="amplitude-current-time">0:00</span>
+                           </div>
                      </div>
                   </div>
                   <div id="controls">
@@ -52,7 +53,7 @@
                   </div>
                </div>
                <div class="well current-track">
-                  <h6 style="margin:0;"><img id="eq" src="" title="eq" width="12px" style="float:left;margin:0 10px 0 0;"> <span id="amplitude-now-playing-name"><span id="track">* Off Air *</span></span><span id="amplitude-current-time">0:00</span></h6>
+                  <h6 style="margin:0;"><img id="eq" src="" title="eq" width="12px" style="float:left;margin:0 10px 0 0;"> <span id="amplitude-now-playing-name"><span id="track">* Off Air *</span></span></h6>
                </div>
             </div>
             <!-- END Audio Player -->

+ 1 - 1
src/js/radio.js

@@ -93,7 +93,7 @@ getRecentTracks();  //call it once to avoid delay
 function getRecentTracks() {
   
 	$.fn.lfmr = function(options){
-    interval = setInterval(getRecentTracks,180000);  // check every 3 minutes
+    //tracksinterval = setInterval(getRecentTracks,180000);  // check every 3 minutes
 		var urla = "https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=windhamdavid&api_key=e12ea1d0253898ee9a93edfe42ffdeab&format=json&limit=100";
 		var tracks = [];
 		function isLoadedr (recentElement) {