New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

spotify-discover

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spotify-discover

spotify discovery server for node

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

spotify-discovery-node Build Status

This is a node.js implementation of the spotify-connect technology. Just start the app and connect with any spotify client inside your local network. It returns the spotify-connect given auth credentials:

{
    "action": "addUser",
    "userName": "your username",
    "blob": "BASE64 encoded credentials",
    "clientKey": "BASE64 encoded clientId",
    "loginId": "",
    "deviceName": "",
    "deviceId": "",
    "version": "Spotify internal version"
}

Usage

const spotify_discover = require('spotify-discover');

let discover = spotify_discover('Spotify-Connect-Name');
discover.on('connected', (auth) => {
    // use returned credentials
    console.log(auth);
});

Docs

This module is based on the librespot implementation of spotify connect and their research. For more accurate look on this implementation have a look at these docs https://github.com/plietar/librespot/blob/master/docs/authentication.md#zeroconf-based-authentication

Keywords

nodejs

FAQs

Package last updated on 28 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts