Spotify歌词增强及双语模块
dualsubs / spotify Goto Github PK
View Code? Open in Web Editor NEWSpotify字幕增强及双语模块
License: Apache License 2.0
Spotify字幕增强及双语模块
License: Apache License 2.0
设备详情:
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...]()
开启重写后,没有出现翻译键,同时歌词消失了😭
前两天还好好的
焰火——张悬
美区账号
DualSubs.Spotify.Lyrics.External.response.proto-2024-01-08(1).log
btw,为啥有些歌不会获取歌词呀?看日志也没有对应歌的记录
环境:
问题描述:
使用 Surge 时无法获取外部歌词,Surge iOS和Surge Mac的表现均为超时,在iOS中使用Loon的DualSubs Spotify插件,同样的配置则可以获取外部歌词。
日志:
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
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]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.