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.
- 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.
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.
- Create a PHP file one level above the application's root directory. Give either
root
orwww-data
access to this file and make them file owners. Do not allow users to access it in any way. Call itlblbrowser-creds.php
. - Add the following to the file. Replace the values with your credentials.
<?php
$client_id = 'client id';
$client_secret = 'client secret';
?>
- Test out the application by performing a search. Enter a name of a label then hit enter.
- 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. - Enjoy!