|
|
@@ -4928,8 +4928,8 @@ function buildStreamItem(array,source){
|
|
|
<h3 class="box-title pull-left p-l-10 elip" style="width:90%">`+v.nowPlayingTitle+`</h3>
|
|
|
<h3 class="box-title pull-right vertical-middle" style="width:10%"><i class="icon-control-`+v.state+` fa-fw text-info" style=""></i></h3>
|
|
|
<div class="clearfix"></div>
|
|
|
- <small class="pull-left p-l-10"><i class="`+icon+` fa-fw text-info"></i>`+v.nowPlayingBottom+`</small>
|
|
|
- <small class="pull-right p-r-10">`+v.user+` <i class="icon-user"></i></small>
|
|
|
+ <small class="pull-left p-l-10 w-50 elip"><span class="pull-left"><i class="`+icon+` fa-fw text-info"></i>`+v.nowPlayingBottom+`</span></small>
|
|
|
+ <small class="pull-right p-r-10 w-50 elip"><span class="pull-right">`+v.user+` <i class="icon-user"></i></span></small>
|
|
|
<br>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -10775,6 +10775,16 @@ function tabShit(){
|
|
|
|
|
|
}
|
|
|
|
|
|
+function msToTime(s) {
|
|
|
+ let pad = (n, z = 2) => ('00' + n).slice(-z);
|
|
|
+ let hours = (pad(s/3.6e6|0) !== '00') ? pad(s/3.6e6|0) + ':' : '';
|
|
|
+ let mins = pad((s%3.6e6)/6e4 | 0) + ':';
|
|
|
+ let secs = pad((s%6e4)/1000|0);
|
|
|
+ let ms = pad(s%1000, 3);
|
|
|
+ if(ms >= '500'){ secs = pad(parseFloat(secs) + 1, 2); }
|
|
|
+ return hours+mins+secs;
|
|
|
+}
|
|
|
+
|
|
|
function clickMenuItem(selector){
|
|
|
if($(selector).length >= 1){
|
|
|
$(selector).click();
|