This is a search app that will let you take a photo of an album cover, then it uses google to search(using the selenium webdriver) for the album info. It returns results, you can click on the album cover to go to the corresponding Discogs page, where you can see the info, and maintain your album collection.
I wrote this to help me keep track of the Albums I own, and to keep me from buying duplicates while I am at a record store. Since the majority of albums do not have a barcode, I wanted a quick and easy way to search for them.
The google image search api is deprecated, I had to use the Selenium webdriver. It opens a web browser and manually fills in the google search, and clicks the buttons needed to automate the search. It takes about 10 seconds to complete the search.
The app uses Python, Django, JavaScript, and api's from Discogs.com, and Imgur.com. See requirements.txt to install all the requirements.
Create a virtual environment, then pip install everything in the requirements.txt. You will need get api's from Discogs.com, and Imgur.com.
I have a few tests written, however they are not 100%. I could use some help with that. Next time I will write the tests as I write the program.
- Todd Enders
- Thanks to Kieran, Chris, and everyone at PDX Code Guild