Skip to content

Native Android client for Spotify, built with Jetpack Compose

7.0 KB
Raw Blame

Third-party notices

Myspoti is free software under the GNU General Public License v3.0 (see LICENSE). It builds on the projects below; their licences are compatible with the GPL-3.0.

Beat This! — MIT

https://github.com/CPJKU/beat_this

By Francesco Foscarin, Jan Schlüter and Gerhard Widmer (CPJKU, Johannes Kepler University Linz), "Beat This! Accurate beat tracking without DBN postprocessing" (ISMIR 2024). AutoMix ships the small0 checkpoint, exported to ONNX and quantized to int8 (base/app/src/main/assets/automix/ beat-this-small0-int8.onnx); upstream publishes the code and the weights under the MIT licence. The log-mel front end in base/automix/.../BeatThis.kt follows its input contract. The training recordings are not bundled.

ONNX Runtime — MIT

https://github.com/microsoft/onnxruntime

Copyright Microsoft Corporation. com.microsoft.onnxruntime:onnxruntime-android 1.23.2 runs the Beat This model on the phone (the desktop bench uses the JVM build of the same version).

Spotui — GPL-3.0

https://github.com/Spotui/Spotui

The DASH-to-FLAC remux (base/app/src/main/java/com/music/spotui/data/offline/DashFlacRemux.kt) is ported from Spotui and stays under the GPL-3.0. The file says so in its header.

BitChord — GPL-3.0-or-later

https://github.com/kushagrasinghx/BitChord (commit edc1e6f)

By the BitChord contributors. The Immersive look is ported from it. These files in base/app/src/main/java/com/music/spotui/ui/look/ are adapted from BitChord, stay under the GPL-3.0-or-later, and say so in their header:

  • MeshGradient.kt, from sharedUi/.../ui/player/MeshGradient.kt (the mesh backdrop and cyclingMeshPalette)
  • ThinSlider.kt, from sharedUi/.../ui/player/ThinSlider.kt (the thin seek bar, without Automix)
  • LyricClock.kt, from sharedUi/.../ui/player/LyricClock.kt (the smoothed lyric playhead)
  • SweptLyricLine.kt, from sharedUi/.../ui/player/PlayerLyrics.kt (SweptLyricLine, its drawing helpers and constants) and sharedUi/src/androidMain/.../ui/player/PlayerPlatformUi.android.kt
  • SweptLyricModel.kt, from shared/.../data/lyrics/LyricLine.kt (word timing, lift and glow)

The Immersive UI in base/app/src/main/java/com/music/spotui/ui/immersive/ (player, lyrics, queue, tab bar, top bars, sheets, motion, components, Home, Search, Library, Category, album/playlist, artist, profile, podcast and download pages) is adapted from these BitChord files, each named in the header of the Myspoti file that carries it: sharedUi/.../ui/player/ NowPlayingScreen, PlayerControls, PlayerState, PlayerHost, PlayerLyrics, PlayerQueue; sharedUi/.../ui/components/ Common, SearchField, Skeletons, SongText, OptimizedHaze; sharedUi/.../ui/screens/ HomeScreen, SearchScreen, LibraryScreen, ExploreScreen; app/.../ui/components/ MiniPlayer, FrostedTopBar, GlassNavBar, BottomFadeScrim, floatingtabbar/FloatingTabBar, floatingtabbar/GlassSelectionPill; app/.../ui/player/PlayerSheetMotion; app/.../ui/screens/ DetailScreen, LibraryPhoneParts; app/.../ui/utils/IosOverscroll.

The local player's equalizer, base/app/src/main/java/com/music/spotui/di/EqualizerProcessor.kt, is adapted from BitChord's app/src/main/java/com/music/bitchord/playback/EqualizerProcessor.kt (commit b690dc1): its state-variable filter sections, their coefficients and the gliding of a change. It stays under the GPL-3.0-or-later and says so in its header.

No BitChord fonts, icons, images or brand are included.

Code that BitChord itself carries from other projects, kept with its own header:

Apple Music TV — GPL-3.0

https://github.com/JObersi10/apple-music-tv (commit 7e5c594)

By JObersi10. The Android TV look is ported from it. These files in base/app/src/main/java/com/music/spotui/ui/tv/ are adapted from its android/app/src/main/java/com/applemusicktv/ui/ files, stay under the GPL-3.0, and say so in their header:

  • TvParts.kt, from components/TopNavBar.kt, AlbumCard.kt, SpotlightCards.kt (GradientCard) and Skeleton.kt (the floating tab pill, the focus scale, halo and border of the cards, the shelf skeleton)
  • TvApp.kt, from AppShell.kt, screens/HomeScreen.kt and screens/PlaylistDetailScreen.kt (the shell, Home's shelves, a list's page)
  • TvNowPlaying.kt, from screens/NowPlayingScreen.kt (the full-screen player, its idle mode and the D-pad seek bar)

Only its UI is used: none of its playback, Widevine or network code, and none of its icons (Apple's SF Symbols), images or brand.

Backdrop — Apache-2.0

https://github.com/Kyant0/backdrop (v2.0.0, io.github.kyant0:backdrop), Copyright 2025 Kyant0.

The refraction, blur, rim highlight and shadow of the Immersive look's Liquid Glass. Vendored as source in base/app/src/main/java/com/music/spotui/ui/immersive/shell/backdrop/, taken from BitChord's vendored copy (which adds a backdrop resolution scale and an exported backdrop, used to keep the GPU cost down; the published artifact has neither). Every file keeps its Apache-2.0 header; the package is renamed. Licence text in base/licenses/Apache-2.0.txt (it also covers Haze and compose-floating-tab-bar above).

Haze — Apache-2.0

https://github.com/chrisbanes/haze

The frosted bars of the Immersive look (Gradle dependency dev.chrisbanes.haze:haze).

Reorderable — Apache-2.0

sh.calvin.reorderable:reorderable 3.1.0 (https://github.com/Calvin-LL/Reorderable), Copyright Calvin Liang, used as a library (unmodified) for dragging the rows of the Immersive queue. Licence text in base/licenses/Apache-2.0.txt.

Inter — SIL Open Font License 1.1

https://github.com/rsms/inter

The Immersive look's typeface (base/app/src/main/res/font/inter.ttf), Copyright 2020 The Inter Project Authors. Cut down to Latin with its weight axis only. Licence text in base/licenses/Inter-OFL.txt.

Chromium cast_channel.proto — BSD-3-Clause

https://chromium.googlesource.com/chromium/src/+/main/components/cast_channel/proto/cast_channel.proto

Copyright The Chromium Authors. Casting to Google Cast devices (base/app/src/main/java/com/music/spotui/cast/) is Myspoti's own CastV2 sender, without the Google Cast SDK. CastMessage.kt codes by hand the CastMessage message that this file defines (its field numbers and types); no Chromium code is included.