Skip to content

nolageek/Discogs-Collection-Page

Repository files navigation

ko-fi

Discogs Collection Page

This PHP script will generate a friendly view of your Discogs media collection organized by your Discogs folders.

image

Current and preview example can be found on my personal site: http://discogs.nolageek.com / http://discogsdev.nolageek.com

Current Functionality:

New !!

  • Dark / Light mode toggle
  • Dynamic search functionality
  • Improoved menu bar

End New :(

  • Mobile friendly-ish
  • Displays gallery view of album covers, with title and artist name(s).
  • Auto paginates (50 per page by default,)
  • Gallery images link to single release view with more information about release, including ratings/notes on copy in collection.
  • "Random Release" button will display single release view of a random item in your collection (from the current folder.) Thank you laminateddenim for the suggestion!
  • Dynamic search of collection.

To Do:

  • Improve and refactor method of initilizing collection and downloading images for the first time.

Requirements:

Setup and Use

  • Upload to your web server's home directory.
  • Edit both settings.php.sample and discogs-update.php.sample and add your discogs username and API token. Be sure to save as settings.php and discogs-update.py, respectively.
  • Create the following directories:
    • ./img/
    • ./jsondata/
  • run the following command: python ./update-discogs.py --updateall
    • This will download folder data and all images in your collection. This may take a long time if you have a large collection.*
  • Once finished, check your site and see if it worked! :)

About

Generate a friendly view of your Discogs Media Collection

Resources

Stars

Watchers

Forks

Languages