Git Product home page Git Product logo

spotify's Introduction

Spotify

Spotify歌词增强及双语模块

spotify's People

Contributors

virgilclyne avatar shindgewongxj avatar

Stargazers

 avatar  avatar  avatar Deckry avatar KremeCN avatar  avatar  avatar  avatar ROWAN avatar  avatar 36henan avatar saki_ryou avatar  avatar  avatar  avatar  avatar  avatar  avatar AllenLau avatar Rick Lyu avatar 陆十二 avatar Aleaph avatar  avatar xkww3n avatar FMoran avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Barry avatar  avatar  avatar  avatar  avatar  avatar shutaoli avatar  avatar 秋澪Akimio avatar Robin avatar florist avatar  avatar  avatar  avatar  avatar Matrix avatar TechDaniel avatar  avatar  avatar  avatar  avatar  avatar  avatar Jack avatar async avatar  avatar  avatar KurtisAsia avatar Carnival avatar  avatar xyself avatar  avatar EricDeamn avatar  avatar Biaogo avatar  avatar eighty avatar  avatar  avatar  avatar  avatar Ryan avatar  avatar chacha avatar qgmzmy avatar XY Wang avatar longxiaotian799 avatar  avatar Yugu Li avatar LngfoWng avatar 畈大川 avatar  avatar gys619 avatar  avatar  avatar

Watchers

 avatar  avatar

spotify's Issues

歌词获取失败,提示`无法加载这首歌曲的歌词`

设备详情:

  • iOS16.1.2/iOS17.3.1
  • loon版本:3.1.5
  • Spotify版本:8.8.92.666
    如题,bug随机出现,有时时候正常显示翻译,有时候不显示,有时候还不显示原歌词
    IMG_0544

loon脚本任务日志

Loon 3.1.5(660)

Runtime Environment:
Loon Tunnel

Script Type:
HTTP-RESPONSE

Expression:
^https?:\/\/spclient\.wg\.spotify\.com\/color-lyrics\/v2\/track\/\w+\?(.*)subtype=Translate

Match URL:
https://spclient.wg.spotify.com/color-lyrics/v2/track/2YQ8TlTmNheRI3VafoDpod?clientLanguage=zh&syllableSync=true&vocalRemoval=true&subtype=Translate

Script State:
状态:已释放



Log:

🟧 ENV v1.7.4


🚩 开始!
🍿️ DualSubs: 🔣 Universal v1.2.10(7) Translate.response

⚠ URL: {"scheme":"https","host":"spclient.wg.spotify.com","path":"color-lyrics/v2/track/2YQ8TlTmNheRI3VafoDpod","query":{"clientLanguage":"zh","syllableSync":"true","vocalRemoval":"true","subtype":"Translate"},"paths":["color-lyrics","v2","track","2YQ8TlTmNheRI3VafoDpod"]}

⚠ METHOD: GET

⚠ FORMAT: application/vnd.google.protobuf

☑️ Detect Platform
✅ Detect Platform, Platform: Spotify
⚠ PLATFORM: Spotify

☑️ Set Environment Variables
✅ Set Environment Variables, Settings: object, Settings内容: {"Switch":true,"Type":"Translate","Types":["Translate","External"],"Languages":["AUTO","ZH"],"CacheSize":10,"Vendor":"Google","ShowOnly":false,"Position":"Forward","Method":"Part","Times":3,"Interval":500,"Exponential":true,"GoogleCloud":{"Version":"v2","Mode":"Key","Auth":""},"Microsoft":{"Version":"Azure","Mode":"Token","Region":"","Auth":""},"DeepL":{"Version":"Free","Auth":""},"DeepLX":{"Endpoint":"","Auth":""},"URL":"","NeteaseMusic":{"PhoneNumber":"","Password":""}}
⚠ Settings.Switch: true

⚠ Type: Translate, Languages: AUTO,ZH

☑️ Translator, vendor: Google, method: Part, [source, target]: AUTO,ZH

⚠ Chunk Array

☑️ retry, 剩余重试次数:3
时间间隔:500ms

🟧 Translate v1.0.2

✅ Translator


🚩 🍿️ DualSubs: 🔣 Universal v1.2.10(7) Translate.response, 结束! 🕛 1.684 秒

使用后歌词消失了

![上传IMG_2803.p![IMG_2804](https://github.com/user-attachments/assets/14cd37c2-d85f-4d23-8945-777b6ece28b7)ng...]()

开启重写后,没有出现翻译键,同时歌词消失了😭
前两天还好好的

Surge使用该脚本的时候选择QQ音乐歌词翻译却没效果

手机是iPhone 15 Pro Max,系统 iOS 17.4.1
Surge版本Version 5.21.0 Build 3102 (在很早之前就这样了)
经过重装Spotify,重新登录,清除缓存,均无效果
想问一下老大是什么原因,是不是跟其他模块有冲突,翻译脚本模块就装了这一个。

选择QQ音乐翻译的时候,打开Spotify无论哪首歌词,都显示的网易云的版本

下面是两个日志截图
IMG_5153
IMG_5154

Surge无法获取外部歌词,脚本超时

环境:

  • Surge 版本: Surge Mac 5.4.4 (2558), Surge iOS 5.21.0 (3029)
  • 系统: MacOS 14.3.1, iOS 17.4 beta3
  • 设备: Mac mini, iPhone 15 Pro

问题描述:

使用 Surge 时无法获取外部歌词,Surge iOS和Surge Mac的表现均为超时,在iOS中使用Loon的DualSubs Spotify插件,同样的配置则可以获取外部歌词。

日志:

  • Surge Mac
GET /color-lyrics/v2/track/42EQCjMT4vvNN1Yov6rYX3/image/spotify%3Aimage%3Aab67616d0000b27308b3000d49d307f9319a49d6?format=json&vocalRemoval=false&market=from_token
Script Evaluating - 5037 ms

Events
17:19:01.290069 [Connection] Handled by VIF
17:19:01.290287 [Script] HTTP request script found: DualSubs.Spotify.Lyrics.request.json
17:19:06.326786 [Connection] Disconnect with reason: Script abort
  • Surge iOS
21:09:05.926258 
🚩 开始!
ENV v1.4.0

21:09:05.926540 
Lodash v1.0.0

21:09:05.926629 
🍿 DualSubs: 🎵 Spotify v1.3.6(1) request

21:09:05.927287 ⚠ 🍿 DualSubs: 🎵 Spotify v1.3.6(1) request
URL: {"scheme":"https","host":"spclient.wg.spotify.com","path":"color-lyrics/v2/track/1Z8tXtosdqpnNWipIhfMv3","query":{"clientLanguage":"zh"},"paths":["color-lyrics","v2","track","1Z8tXtosdqpnNWipIhfMv3"]}

21:09:05.927356 ⚠ 🍿 DualSubs: 🎵 Spotify v1.3.6(1) request
METHOD: GET

21:09:05.927396 ⚠ 🍿 DualSubs: 🎵 Spotify v1.3.6(1) request, FORMAT: undefined

21:09:05.928584 ☑️ Set Environment Variables
21:09:05.930795 ✅ Set Environment Variables, Settings: object, Settings内容: {"Switch":true,"Type":"Translate","Types":["External"],"Languages":["AUTO","ZH"],"CacheSize":50}
21:09:05.930956 ⚠ 🍿 DualSubs: 🎵 Spotify v1.3.6(1) request
Settings.Switch: true

21:09:05.931032 ⚠ 🍿 DualSubs: 🎵 Spotify v1.3.6(1) request, Type: Translate, Languages: AUTO,ZH

21:09:05.931077 🚧 🍿 DualSubs: 🎵 Spotify v1.3.6(1) request, 调试信息
trackId: 1Z8tXtosdqpnNWipIhfMv3

21:09:10.897430 [Script Timeout]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.