mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 13:02:49 +08:00
Three fixes to the QQ Music provider, all surfaced by enabling the QQ tab on Home/Library: 1. getUserPlaylists field names were wrong. The upstream fcg_get_profile_homepage actually returns title/picurl/subtitle, not dissname/imgurl/song_count, so all playlist cards rendered as empty placeholders. Map title->name, picurl->coverUrl, and parse '(\d+)首' from subtitle for songCount. 2. getUserPlaylists only returned playlists the user CREATED. Now also fetches COLLECTED playlists from c.y.qq.com fcg_get_profile_order_asset (reqtype=3, requires g_tk derived from p_skey cookie) and concatenates them after the created list — same order as the QQ desktop app. 3. Add getDailyRecommendSongs implementation backed by /getNewSongs (新歌速递, ~20 newest songs). The QQ provider previously didn't implement this method, so the daily-recommend QQ tab was empty. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>