Fix template {hz}
This commit is contained in:
parent
216191563e
commit
6e9b0b4d10
|
@ -151,11 +151,11 @@ function nowplaying(mode){
|
||||||
var regExp = new RegExp("{composer}", "g");
|
var regExp = new RegExp("{composer}", "g");
|
||||||
content = content.replace(regExp, arg.composer);
|
content = content.replace(regExp, arg.composer);
|
||||||
var regExp = new RegExp("{hz}", "g");
|
var regExp = new RegExp("{hz}", "g");
|
||||||
|
content = content.replace(regExp, arg.sampleRate/1000+"kHz");
|
||||||
var regExp = new RegExp("{lyricist}", "g");
|
var regExp = new RegExp("{lyricist}", "g");
|
||||||
content = content.replace(regExp, "");
|
content = content.replace(regExp, "");
|
||||||
var regExp = new RegExp("{bpm}", "g");
|
var regExp = new RegExp("{bpm}", "g");
|
||||||
content = content.replace(regExp, "");
|
content = content.replace(regExp, "");
|
||||||
content = content.replace(regExp, arg.sampleRate/1000+"kHz");
|
|
||||||
var regExp = new RegExp("{bitRate}", "g");
|
var regExp = new RegExp("{bitRate}", "g");
|
||||||
content = content.replace(regExp, arg.bitRate+"kbps");
|
content = content.replace(regExp, arg.bitRate+"kbps");
|
||||||
var regExp = new RegExp("{genre}", "g");
|
var regExp = new RegExp("{genre}", "g");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user