Skip to content

Built-in way to fetch info about the current song playing from outside Spicetify #3738

@la-pandev

Description

@la-pandev

📝 Provide a description of the new feature

I'm currently building an standalone song visualizer (not related to Spicetify), and I'd like to have access to info that is not available to me using just the OS APIs, like the full list of artists of a song:

Image

For this, I'd like to have a way to fetch information about the song currently playing from outside Spicetify. Ideally, Spicetify would run an internal HTTP or WebSocket server so we developers are able to just call the endpoints to get our info.

I know this can kinda be solved with extension already, but it'd be nice to have something that just works out of the box, without having to code/maintain custom extensions (and making our users have to install those extensions themselves).

As to how to implement this, maybe we can take a look at https://github.com/pear-devs/pear-desktop which is a project similar to this but for Youtube Music. They already have an HTTP server built-in which you can enable in the settings.

➕ Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions