Skip to content

About

PHP application to browse music labels on Spotify

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

Notice

As of February 2026, Spotify has made changes to their web API that now require a Premium Spotify account in order to access it. This, unfortunately, means that users who aren't subscribed to Premium won't be able to use this program (unless I attempt at moving away from spotify to another service with similar features.). We're sorry.

lblbrowser

PHP application to browse music labels on Spotify

LblBrowser is a free PHP application that lets you browse through digital music labels that are distributed by Spotify without the need to use the Spotify web player. It can be hosted on a server or be ran locally on your computer.

Regarding audio previews [Feb 2025]

Audio previews are temporarily unavailable due to Spotify deprecating and disabling the API URL that returns thirty-second audio snippets. https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api

Features

  • You're not using the Spotify web player for one.
  • Simple, neat interface. Does not use any web frameworks.
  • Keep track of where you're at on the search results page. Especially when browsing big labels.
  • Quickly add filters with convenience.
  • Download artwork of your favorite singles and albums.
  • Retrieve barcodes and identifers of album tracks.
  • Select and copy data from a tracklist without having to inspect their HTML elements.

Setup

In order to use this application, you'll need to provide a Spotify client ID and secret. You can obtain these credentials by starting a new project through the Spotify developer dashboard. After receiving those credentials, follow the instructions below.

  1. Create a PHP file one level above the application's root directory. Give either root or www-data access to this file and make them file owners. Do not allow users to access it in any way. Call it lblbrowser-creds.php.
  2. Add the following to the file. Replace the values with your credentials.
<?php
	$client_id = 'client id';
	$client_secret = 'client secret';
?>
  1. Test out the application by performing a search. Enter a name of a label then hit enter.
  2. If you are able to retrieve song results, then your application is ready. Make sure that users cannot access the lblbrowser-creds.php file you've made.
  3. Enjoy!

screenshots

About

PHP application to browse music labels on Spotify

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages