Coder Social home page Coder Social logo

mai-icy / spotify-lyrics-window Goto Github PK

View Code? Open in Web Editor NEW
67.0 3.0 3.0 8.75 MB

Spotify lyrics hover window(spotify 悬浮歌词窗口)

License: GNU General Public License v3.0

Python 99.97% HTML 0.03%
lyrics lyrics-search pyqt5 spotify spotify-lyrics python3 lyrics-fetcher

spotify-lyrics-window's Introduction

Spotify-lyrics-window

📄Introduce 介绍

scrolling lyrics window of spotify spotify 歌词滚动窗口

🤔Features 特性

  • Lyric Api from Kugou, NetEase CloudMusic and Spotify. 歌词来源于网易云酷狗以及Spotify

  • Operable control to play songs. 可以操控播放

  • Lyrics automatically play scroll as well as switch. 自动根据音乐切换歌词以及滚动

  • You can customize the font and color of the lyrics. 歌词支持多种样式

  • You can manage and download lyric 你可以自己管理下载和编辑歌词

💿How to use 使用

  1. Get your own spotify client id and secret from spotify developer. 从spotify开发者面板获取您的app id和密码
  2. Create a developer app and edit its setting. 打开新创建的应用并且编辑设置
  3. add http://localhost:8888/callback to your Redirect URIs setting. 将该网址加入此设置项
  4. Run the program and open setting page. Put your client_id and client_secret in it. 运行程序并打开设置窗口输入您获取到的app id以及密码
  5. Click the user icon in the window to complete the authorization. 点击窗口的用户图标完成授权
  6. click the sure and enjoy it! 😋 按下确定,然后试试!

⚠️ notice 注意

  • This project will obtain your sp_dc and store it locally, please keep it properly 本项目会获取你的sp_dc存入本地,请妥善保存
  • The spotify api has instability biases that this project uses to connect to MediaSession. spotify api有不稳定偏差,本项目使用连接MediaSession来解决

🎼 example 用例

Play the lyrics 播放歌词

1

Customize the style of the lyrics 自定义歌词的风格

2

Manage and download Lyrics 管理和下载歌词

3

📝 TODO

  • basic function 基本功能
  • Use the palette to customize the colors 使用调色盘自定义颜色
  • Manually adjust the lyrics file 手动调整歌词文件
  • Download the lyrics file by api 手动下载歌词文件
  • Common settings page 设置常规页面
  • Lyrics displayed vertically 竖向歌词显示
  • Beautify the window 美化窗口
  • More lyric api 更多的歌词api
  • Use qfluentwidget
  • etc.

spotify-lyrics-window's People

Contributors

dependabot[bot] avatar mai-icy avatar vltever avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spotify-lyrics-window's Issues

请求增加spotify歌词api

首先感谢作者!
使用的版本的是v1.2,人在国外,client id, secret设置都通过了。打开.exe会显示searching for lyric, 然后就闪退。确认过不是杀毒软件,也尝试使用管理员身份运行。会是因为在网易搜索歌词的时候被墙了吗?
再次感谢!

快捷键失效

  • 重装
  • 恢复默认

描述

Alt + A、Alt + S,等所有快捷键均无法使用,重装后仍无法解决,恢复默认也无效。

已知信息

  • 曾经有效过,但当时代理环境不稳定,经常闪退,故重装
  • 初次发现:重装后,闪退情况消失。一段时间后,突然发现快捷键失灵。
  • 排查情况/关键信息:进入OpenArk软件查看全局代理,发现软件没有注册全局快捷键
  • 推测信息:应该与网络环境没有关系,但我实在回忆不起初次触发的细节了

希望解决方案

给出一个重新注册全局快捷键的补丁是否可行?

如何设置代理

如题,项目很好,但是与我使用代理会发生冲突,可以告知软件网络请求的流向吗,我加入白名单,否则总是request error。以及如何展示歌词中可能涉及到的敏感词

歌词框拉伸后,阴影部分的文字显示异常

对master的代码做了一些改造,有个关于歌词阴影问题困扰了好久,希望能帮忙分析下

背景:
运行后鼠标点击拖动窗口,以及普通的左右键点击都是正常的,但只要按住鼠标对窗口进行拉伸,释放鼠标后,阴影部分的歌词(显示为背景的白色部分)会一直显示为鼠标释放时的那一句,不再改变(除非再拉伸窗口)。
如图所示棕色部分是正常通过self.above_scrollArea.set_text('')更新的歌词,白色部分是鼠标拉伸窗口释放时的那句歌词。

想请帮忙分析下,背景里的白色文字,是哪个组件控制的,大概是哪部分代码存在问题。

image

output3

Linux support.

I noticed winrt package in the requirements.txt, so it is impossible?

How to use??

Hello i cloned this repo on my pc, i created online app in dev tool. Now how i can open the app?

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.