malte70 / discogs

Get a random item in Vinyl format from your Discogs collection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discogs Random Vinyl

Get a random item in Vinyl format from your Discogs collection.

Screenshot

Screenshot of random_vinyl.php in Safari on macOS

Install

  1. Generate a personal access token for the Discogs API on the developers settings page
  2. Install dependencies using Composer: composer update
  3. Copy config.inc-dist.php to config.inc.php and modify it:
  • Change the access token to the one you just got
  • Set your Discogs user name
  1. Make cache/ writable by the web server/PHP
  • Avoid chmod 777; try changing the group to the one running PHP, like http or www-data, and chmod 775!
  1. Done!

Links

About

Get a random item in Vinyl format from your Discogs collection

License:MIT License


Languages

Language:PHP 94.2%Language:CSS 5.8%