# Spotify Web

> Search Spotify's catalogue beside Songstress's Spotify, open its links, and fill a track with the ISRC Spotify keeps.

- Id: `songstress.spotify-web`
- Publisher: songstress (Official)
- Version: 1.0.2, published 7 days ago
- Category: Sources
- Works in: Web, desktop, iPhone and Android
- Licence: LGPL-3.0-only
- Downloads: 5 this week, 34 all time
- Rating: No ratings yet
- Source: https://github.com/pacholoamit/songstress-extensions
- Help: https://github.com/pacholoamit/songstress-extensions/issues
- Page: https://songstress.app/extensions/songstress.spotify-web/

## Install

Manage › Extensions › Browse › Spotify Web

An admin installs it from your own Songstress server. It comes in switched off, and runs once they have reviewed what it asks for.

## Description

Spotify Web searches Spotify's catalogue through its web player, beside the Spotify connection Songstress has of its own, and opens Spotify links (open.spotify.com, play.spotify.com and spotify: links) as their pages.

It also fills in a track's **ISRC**, the code that names one recording, from what Spotify keeps, which helps Songstress match a song across sources.

## Use cases

- Search Spotify's catalogue with no Spotify account.
- Open a Spotify link someone sent you.
- Match a song across sources by its ISRC.

## How it works

Your server opens an anonymous session with Spotify's web player, as a browser would, and keeps it until its tokens expire. Searches, lookups and metadata go from your server to Spotify with it.

For a track's id elsewhere, it asks Deezer by the track's ISRC. It finds and opens music: it doesn't play or download it. Its results sit beside Songstress's own sources, never in their place.

## What it asks for

- Network (open.spotify.com, *.spotify.com, api-partner.spotify.com, clienttoken.spotify.com, *.scdn.co and api.deezer.com): “Reach Spotify's web player for its session, its catalogue and metadata, and Deezer for a track's id by ISRC.”
- Sources: “Add Spotify's results beside Songstress's own Spotify.”
- Storage: “Keep the web player's session until its tokens expire.”

## What it adds

- A source of search, songs by id or link, links and metadata
