Square README

项目的 README,来自 github.com/Lelonio/Square。合并为一个 markdown 文件:README.md。

Square

An unofficial Android music client for Spotify Premium and YouTube Music, built in Liquid Glass.

Latest release Downloads Android 8.0 or later Licence

Download · Features · First launch · FAQ · Telegram community · Building

Player Lyrics Effects
The player Synced lyrics The effects panel
Artist Album Glass settings
An artist's page An album The glass settings

Features

Two sources, one app

Player

Audio effects

Lyrics

Library and discovery

Offline

Spotify extras

Android Auto

Look and language

Download

Get it on Orion Store

Or

Download the APK from the latest release and install it. Square needs Android 8.0 or later.

Square updates itself: it checks for new releases and installs them from the settings. It is not on the Play Store and cannot be; see the disclaimer.

The first minutes after installing are slower

Android takes a while to optimise a freshly installed app, and until it does the interface is noticeably slower. To do it straight away, open the app once and give it a few seconds, then run this with the phone connected:

adb shell cmd package compile -m speed-profile -f dev.lelonio.square

Run before the app has been opened, the command finds nothing to compile.

First launch

Square first asks where the music should come from. You can change it later in the settings.

FAQ

Square does not appear in Android Auto. Android Auto only lists apps installed from the Play Store. Turn on "Unknown sources" in Android Auto's developer settings and Square shows up.

Can I use a free Spotify account? No. A free account can sign in, but Spotify only streams to a client like this one with Premium. YouTube Music works with no account at all.

YouTube Music search works, but songs do not play. YouTube changes how its streams are served every so often. Update to the latest release, which is usually where the fix is.

Disclaimer

Square is not affiliated with, endorsed by or connected to Spotify or Google. Both sources are used on terms they do not offer: Square re-implements Spotify's protocol, which Spotify's Terms of Service forbid, and reads YouTube Music through the private endpoints its own web client uses. It cannot be published on the Play Store, and you use it at your own risk. There is no warranty of any kind; see the licence.

Help and feedback

The same two links are in the app, under Settings → About.

Support

Square is free and has no ads. If it is useful to you, you can support its development on Ko-fi.

Credits

Project Licence How it is used
librespot MIT The Spotify engine. librespot-core, librespot-playback and librespot-connect are vendored with local patches.
Spotify Web Playback SDK Spotify Developer Terms Playback for accounts Spotify refuses audio keys, through the listener's own developer app.
Metrolist GPL-3.0 Its InnerTube client, vendored as innertube/, because it is published nowhere else. Powers the signed-in YouTube Music library.
NewPipeExtractor GPL-3.0 Anonymous YouTube Music search and stream URLs.
lossless.wtf n/a Synced lyrics timed to the word, asked first on both sources.
LrcLib n/a Synced lyrics for the YouTube Music source, over its open API.
Spicy Lyrics AGPL-3.0 The lyrics animation, ported to Compose by @donutnotnut in #50.
Bungee MPL-2.0 Time stretching, fetched at build time.
AndroidLiquidGlass Apache-2.0 The glass material; the catalog components are copied with their notice.
Phosphor Icons MIT Every icon in the app.
ebur128 MIT Loudness of local files, so they play at the level of the streamed tracks.
librespot-java Apache-2.0 The listening-event format, re-implemented from its EventService rather than copied.
go-librespot and go-librespot-termux GPL-3.0 The remote sleep timer's command and state fields, the check on truncated audio keys, and how Spotify's DJ is resolved and voiced (the session service, client-tts, the narration metadata), re-implemented from their findings rather than copied.

Building from source

Requirements, build steps, signing, the architecture and notes on the code are in docs/DEVELOPMENT.md.

Licence

GPL-3.0-or-later. See LICENSE.

The lyrics view, LyricsView.kt, is ported from Spicy Lyrics and stays under AGPL-3.0, combined with the rest as section 13 of both licences allows.

Star History

Star History Chart

Square (Lelonio/Square)

正在搜索数据库…

533 ·GitHub
这是什么?Square 是一款非官方的 Android 音乐客户端,可以通过同一个应用播放 Spotify Premium 或 YouTube Music。它采用 Liquid Glass 界面,并支持音效、同步歌词、离线下载和 Spotify Connect。
这个应用是像普通应用一样安装在手机上,还是一个网页播放器?它是一款原生 Android 应用(使用 Kotlin 开发,播放 Spotify 时使用基于 librespot 库的 Rust 核心),你可以直接在设备上安装 APK 文件。
我需要 Spotify 账户才能使用它吗?只有在选择 Spotify 作为音源时才需要:你需要 Premium 会员,并且要花几分钟时间在 Spotify 开发者控制台中注册一个你自己的免费应用,以获取 client ID。YouTube Music 无需任何账户即可使用。
为什么它不在 Play 商店上架?这有问题吗?Square 无法发布到 Play 商店,因为它重新实现了 Spotify 的协议,这违反了 Spotify 的服务条款;同时它通过 YouTube Music 专供其网页客户端使用的私有接口读取内容。因此使用风险需自行承担,而且当 YouTube 更改其流媒体方式时,应用可能会失效。
我可以对歌曲应用哪些音效?可以独立调节速度和音调,还有混响,并提供“慢速 + 混响”等一键预设,以及会降低人声轨道音量的卡拉 OK 模式。
我可以离线使用这个应用吗?可以。两种音源中的播放列表、专辑和歌曲都可以下载用于离线播放;喜欢的歌曲会在 Wi-Fi 环境下自动下载;离线模式则会将播放限制在手机上已有的内容中。
它会出现在 Android Auto 里吗?会。你可以在车上浏览播放列表、语音搜索并开始电台播放。但由于 Square 未在 Play 商店上架,你需要在 Android Auto 的开发者设置中开启“未知来源”(Unknown sources)选项,它才会显示出来。
Square 可以作为 Spotify Connect 设备吗?可以。它可以接收其他作为 Connect 目标设备的播放内容,也可以在应用内控制你的其他 Spotify Connect 设备。
作者
Lelonio
大小
24.1 MB
星标
533
时长
3个月
提交 · 90 天