新增QQ音乐源搜索及其128k试听

This commit is contained in:
lyswhut
2019-10-07 13:07:16 +08:00
11 changed files with 133 additions and 20 deletions
+2 -1
View File
@@ -6,9 +6,10 @@
const types = ['flac', 'ape', '320k', '192k', '128k']
export const getMusicType = (info, type) => {
switch (window.globalObj.apiSource) {
switch (info.source) {
// case 'kg':
case 'wy':
case 'tx':
return '128k'
}
const rangeType = types.slice(types.indexOf(type))