新增定时刷新及手动刷新曲库的方法
过滤png和torrent文件
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
</div>
|
||||
<table id="playlist" lay-filter="music"></table>
|
||||
<a class="layui-btn layui-btn-normal" id="reload">刷新曲库</a>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
@@ -168,10 +169,13 @@
|
||||
});
|
||||
$('#download').click(function () {
|
||||
window.open(localhost + "/nas/music/play.do?token=PlVodzYhvxRQbOHKakpKs2dvnoc43Cnk&random=false&filePath=" + playNow)
|
||||
})
|
||||
});
|
||||
$('#next').click(function (){
|
||||
playNext()
|
||||
})
|
||||
});
|
||||
$('#reload').click(function (){
|
||||
$.get(localhost+"/nas/music/reload.do?token=PlVodzYhvxRQbOHKakpKs2dvnoc43Cnk")
|
||||
});
|
||||
|
||||
|
||||
function playNext() {
|
||||
|
||||
Reference in New Issue
Block a user