Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望能加入状态栏歌词 功能 #36

Open
solan19 opened this issue Aug 8, 2021 · 28 comments
Open

希望能加入状态栏歌词 功能 #36

solan19 opened this issue Aug 8, 2021 · 28 comments
Labels
help wanted Extra attention is needed

Comments

@solan19
Copy link

solan19 commented Aug 8, 2021

No description provided.

@MichaelLin2020
Copy link

我个人觉得像魅族手机那样的状态栏歌词很好,桌面歌词会占用一部分触控区域,影响使用体验,状态栏歌词就好很多,还有点极客风。但是,目前好像只有flyme系统有系统原生的对状态栏歌词的支持,其他手机厂商都没有原生支持,若要实现这个功能,可能需要耗费开发者太多的时间,并且不同的手机前置摄像头的位置不同,适配难度就更大了,如果开发者感兴趣的话,希望能对这个功能进行实现

@ameaninglessname

This comment was marked as outdated.

@MichaelLin2020

This comment was marked as outdated.

@lyswhut lyswhut added the help wanted Extra attention is needed label Nov 28, 2021
@lyswhut
Copy link
Owner

lyswhut commented Nov 28, 2021

我对安卓原生不熟悉,目前不打算去适配它,
熟悉安卓的同学可以去帮忙适配(JS部分的实现可以交给我做),
项目运行方式看:https://github.com/lyswhut/lx-music-mobile#%E6%BA%90%E4%BB%A3%E7%A0%81%E4%BD%BF%E7%94%A8%E6%96%B9%E5%BC%8F

若遇到问题可以回帖讨论 :)

桌面歌词相关的信息:#30

@lyswhut lyswhut pinned this issue Nov 28, 2021
@MRwangqi
Copy link

MRwangqi commented Mar 2, 2022

@lyswhut

安装好应用之后,可以进入启动页,然后就报错了:

error: Error: While trying to resolve module react-native-track-player from file /Users/codelang/android_project/lx-music-mobile/src/plugins/player/index.js, the package /Users/codelang/android_project/lx-music-mobile/node_modules/react-native-track-player/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (/Users/codelang/android_project/lx-music-mobile/node_modules/react-native-track-player/lib/index.js. Indeed, none of these files exist:

@lyswhut
Copy link
Owner

lyswhut commented Mar 2, 2022

@MRwangqi 你是不是执行npm install时报错了?如果你有代理可以尝试为npm设置代理:

npm config set proxy http://host:port
npm config set https-proxy http://host:port

然后删除项目下的node_modules文件夹,重新执行npm install

@MRwangqi

This comment was marked as duplicate.

@lyswhut

This comment was marked as outdated.

@MRwangqi

This comment was marked as outdated.

@lyswhut

This comment was marked as outdated.

@imshadow
Copy link

imshadow commented Mar 3, 2022

希望桌面歌词可以放到状态栏位置,并且可以缩小字体,这样就实现了状态栏歌词(目前网易云是这么实现的)

@Pr0pHesyer

This comment was marked as outdated.

@lyswhut
Copy link
Owner

lyswhut commented Mar 14, 2022

请问如何使用gradle构建目标平台?

@Pr0pHesyer 将你的签名文件放在android/app/,然后在android/新建keystore.properties文件,填入你的签名信息:

storeFile=
storePassword=
keyAlias=
keyPassword=

最后在android/执行命令./gradlew assembleRelease,构建的安装包在android/app/build/outputs/apk/release/

@Pr0pHesyer

This comment was marked as outdated.

@ftevxk

This comment was marked as outdated.

@ftevxk

This comment was marked as outdated.

@ftevxk

This comment was marked as outdated.

@ftevxk

This comment was marked as outdated.

@lyswhut

This comment was marked as outdated.

@ftevxk

This comment was marked as outdated.

@lyswhut
Copy link
Owner

lyswhut commented Apr 21, 2022

从现在起,有了一个显示状态栏歌词的方式:通过调用第三方Xposed模块【墨•状态栏歌词】的API支持来状态栏歌词。
但考虑到要依赖第三方应用,并且是Xposed模块,预计用的人会比较少,所以暂不考虑将此特性合并到主分支(不会包含在正式版中)。
我现在将此特性放到statusbar-lyric分支上,并设置了构建任务,想要此功能的人可以去这里下载构建包:https://github.com/lyswhut/lx-music-mobile/actions/workflows/statusbar-lyric.yml

注:需要登录GitHub才能下载,如果你不知道怎么下载,可以去测试群文件下

@ameaninglessname
Copy link

从现在起,有了一个显示状态栏歌词的方式:通过调用第三方Xposed模块【墨•状态栏歌词】的API支持来状态栏歌词。 但考虑到要依赖第三方应用,并且是Xposed模块,预计用的人会比较少,所以暂不考虑将此特性合并到主分支(不会包含在正式版中)。 我现在将此特性放到statusbar-lyric分支上,并设置了构建任务,想要此功能的人可以去这里下载构建包:https://github.com/lyswhut/lx-music-mobile/actions/workflows/statusbar-lyric.yml

这个特性分支也会一直合并 新的功能是么,它是一个不断类似于 rebase到 master分支的分支?

@lyswhut
Copy link
Owner

lyswhut commented Apr 22, 2022

这个特性分支也会一直合并 新的功能是么,它是一个不断类似于 rebase到 master分支的分支?

预计是的

@ameaninglessname
Copy link

我感觉这个issue可以关闭了, 后面有问题可以提优化相关的issue,普通版本就满足我个人的需求了

@tonyjona
Copy link

加入歌名栏 动态显示歌词的功能,手机连接蓝牙就可以跑马灯方式地显示歌词了,

@krzj
Copy link

krzj commented Feb 19, 2023

我认为可以合并了

@ftevxk
Copy link

ftevxk commented Feb 19, 2023

墨•状态栏歌词】适配了,可以关闭单独的分支了

@nyxiaoyouzi
Copy link

要是能接入汽水音乐就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests