Giter Site home page Giter Site logo

dac's Introduction

dac

dac stands for Digital-to-Analog Converter, though not in the typical sense. It allows you to convert your digital music libraries to a Discogs(analog) wantlist. This is a rudimentary command-line client -- a web interface that will be much easier to use is coming.

Prerequisites

  • Vagrant
  • VirtualBox (or other Vagrant provider)

Installing

vagrant up

Services supported

  • Spotify

Services in progress

  • Tidal
  • Google Play

How to use

  • Rename docker-compose.yml.sample to docker-compose.yml
  • Discogs
  • If using Spotify:
    • Create a new application and receive your client id and secret using the developer dashboard on the Spotify website
    • Replace the SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET placeholders in the docker-compose file
    • Add http://localhost as a Redirect URI in your application settings.
      • After logging in, you will copy the resulting Redirect URL and provide it to DAC
    • Replace the SPOTIPY_REDIRECT_URI placeholder with the Redirect URI you provided above
    • Replace the SPOTIFY_USERNAME placeholder with your Spotify username
  • Run the command line client
    • SSH into the Vagrant box:

      vagrant ssh
      
    • Run bash in our Docker container

      docker exec -it vagrant_app_1 /bin/bash
      
    • Run the command-line client, specifying the service desired, and a nearness parameter, if the default of 80 is too strict/loose

      python dac.py (-s | -t) [-n]
      
  • If any albums cannot be saved to your wantlist, they will listed after all other albums have been added

Notes

  • Special editions/versions may be stripped
  • Versions of albums not on Discogs will not be added
  • Discogs is a user-submitted site, so some album/artists names may have different symbols than in Spotify

TODO:

  • Allow users to specify which format they want to default to i.e. CD, 12"

Built With

License

This project is licensed under the MIT license - see the LICENSE.md for details

dac's People

Contributors

dependabot[bot] avatar sw3dish avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.