mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-05-23 19:17:41 +08:00
commit
06b6fd370c
@ -7,18 +7,20 @@
|
|||||||
# ----------------------------------------
|
# ----------------------------------------
|
||||||
# This file is part of the "lx-music-api-server" project.
|
# This file is part of the "lx-music-api-server" project.
|
||||||
|
|
||||||
|
from .player import url
|
||||||
from .musicInfo import getMusicInfo as _getInfo
|
from .musicInfo import getMusicInfo as _getInfo
|
||||||
from .utils import formatSinger
|
from .utils import formatSinger
|
||||||
from .lyric import getLyric as _getLyric
|
from .lyric import getLyric as _getLyric
|
||||||
from common import utils
|
from common import utils
|
||||||
|
from . import refresh_login
|
||||||
|
|
||||||
async def info(songid):
|
async def info(songid):
|
||||||
req = await _getInfo(songid)
|
req = await _getInfo(songid)
|
||||||
singerList = []
|
singerList = []
|
||||||
for s in req['track_info']['singer']:
|
forin req['track_info']['singer']:
|
||||||
s.pop('uin')
|
s.pop('uin')
|
||||||
s.pop('title')
|
s.pop('title')
|
||||||
singerList.append(s)
|
singerList.append()
|
||||||
file_info = {}
|
file_info = {}
|
||||||
if (req['track_info']['file']['size_128mp3'] != 0):
|
if (req['track_info']['file']['size_128mp3'] != 0):
|
||||||
file_info['128k'] = {
|
file_info['128k'] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user