Skip to content

Commit

Permalink
fix: 修复tx源
Browse files Browse the repository at this point in the history
  • Loading branch information
ikun0014 committed Jan 2, 2024
1 parent 0d21d71 commit ab6e29d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/tx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,20 @@
# ----------------------------------------
# This file is part of the "lx-music-api-server" project.

from .player import url
from .musicInfo import getMusicInfo as _getInfo
from .utils import formatSinger
from .lyric import getLyric as _getLyric
from common import utils
from . import refresh_login

async def info(songid):
req = await _getInfo(songid)
singerList = []
for s in req['track_info']['singer']:
forin req['track_info']['singer']:
s.pop('uin')
s.pop('title')
singerList.append(s)
singerList.append()
file_info = {}
if (req['track_info']['file']['size_128mp3'] != 0):
file_info['128k'] = {
Expand Down

0 comments on commit ab6e29d

Please sign in to comment.