home assist官方语音助手利用回音壁音响和Music Assistant随机播放nas里的音乐和切歌等操作,享受音乐自由,智能音响普遍音质都不好,还是传统音响好点,很多智能音箱都是5-10w左右,效果很差的,虽然这些音响是可以听歌的,但是很多歌曲要收费,做不到听歌自由,不过这种智能音响也是有好处的,可以做到24小时待机,传统的音响功耗高,不可能一直开机待机,并且大的音响很少带智能功能,除了三星那些比较贵的音响。
#EXTM3U
#EXTINF:1,72242271191
72242271191.mp3
#EXTINF:2,Amani
Amani.mp3
#EXTINF:3,Aqua - My Oh My
Aqua - My Oh My.mp3
#EXTINF:4,BBX-Making Love (Club Radio Edit)
BBX-Making Love (Club Radio Edit).mp3
#EXTINF:5,beyond - 冷雨夜
beyond - 冷雨夜.mp3
<%
set fso=server.createobject("scripting.filesystemobject")
set fl=fso.getfolder(server.mappath("music"))
on error resume next
list="#EXTM3U"&vbcrlf&vbcrlf
id=0
for each fn in fl.files
id=id+1
list=list&"#EXTINF:"&ID&","&Left(fn.name, Len(fn.name) - 4)&vbcrlf&fn.name&vbcrlf&vbcrlf
next
musiclist=server.mappath("all.m3u")
set fso=createobject("scripting.filesystemobject")
set f=fso.opentextfile(musiclist,2,true)
f.write ""&list&""
f.close
response.write "生成完毕"
%>