Skip to content

Commit

Permalink
Merge pull request #12 from liaofulong/patch-1
Browse files Browse the repository at this point in the history
fix: 修复tx源
  • Loading branch information
Folltoshe authored Jan 2, 2024
2 parents 0d21d71 + ab6e29d commit 06b6fd3
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 06b6fd3

Please sign in to comment.