Homebrew Homebrew app [WIP] Spoti3DS – Native Spotify Connect Client for 3DS

kxrbystar

New Member
Newbie
Joined
Feb 21, 2022
Messages
2
Reaction score
3
Trophies
0
Age
29
Location
Vorarlberg
XP
66
Country
Austria
So, after 15 years, the 3DS is finally getting a native Spotify client.
Over the past few months Ive been working on a Spotify Connect client for the Nintendo 3DS family.
The goal is to allow a 3DS to appear as a Spotify Connect device and stream music directly from Spotifys infrastructure.

Current progress:
  • Login5 authentication
  • Access token generation
  • Spotify Connect device registration
  • Dealer/WebSocket communication (via TLS 1.3)
  • Audio stream retrieval from Spotify CDN
  • Audio decoding and playback

Still to do:

  • Getting the thing to not crash every minute or so
  • Cover art ofc
  • Actual Playback controls
  • Having the 3DS present a valid Connect instance that doesnt confuse the Desktop Client

Not coming:

  • Free Account Support (this here basically requires a Premium Account)
  • Lossless
  • Background Playback (we are struggling as is)
  • Downloading tracks (not because its impossible, but because I havent yet looked into how that works/would work or how it would clash with Spotify ToS)


The project runs on real hardware (standalone, no proxies involved) and can successfully authenticate with Spotify, appear as a Connect target and retrieve audio streams.
There is still work to do before a public release, but I wanted to share the current progress.

And yeah the client actually uses TLS 1.3 to open the WebSocket with Spotify Dealer. I dont know if that has ever been done on that hardware before.
 

Attachments

  • image.png
    image.png
    2.6 MB · Views: 1
  • demo.mp4
    43.5 MB
not trying to pressure you or anything, but i implemented lid closed WiFi fairly recently; this is how you do it:
https://github.com/Universal-Team/U...7850b64fffa09e/source/utils/exclusiveMode.cpp

blocking HOME is obv not required, but that weird NDMU call is required to keep WiFi or the console will switch to StreetPass
Oh thank you, I'll make sure to implement that when i get the chance to do so.
Tho with "Background Playback" I more so meant the fantasies of the reddit people of having Spotify playing in the background while playing games - the console would most likely catch fire.
 

Site & Scene News

Popular threads in this forum