Giter VIP home page Giter VIP logo

discogs-importer's Introduction

Discogs Importer

Given a CSV file, it imports the releases (one release per line) into your named collection at Discogs.

CSV file format

Expectations regarding the CSV file:

  • Presence of header required. Minimum set of expected columns are Artist, Title and Format (case is important). Optional column is Catno. Catno is currently NOT used.

Program behaviour

Expectations regarding the program itself:

  • It will NOT create any duplicate in the specified target folder. If the item already exists, then a log will be made and adding will be skipped.
  • Due to current Discogs limitations concerning rate limitation (requests are throttled by the server to 240 per minute per IP address), each CSV record (line) is handled synchronously.
  • Only regular releases will be considered. While Label, Promo and Master will NOT.

Logic

  1. It first tries to find a perfect match for a given Artist, Title and Format.
  2. If nothing is found, then tries to find a similar match for a given Artist, Title and Format.
  3. If multiple matches are found, then a log is made and nothing will happen.

Configuration

Current configuration could be found here and MUST be adapted to your needs:

{
  "userName": // What is your Discogs user name?,
  "folderName": // Where do you want to put the releases added?,
  "userToken": // Generate a personal Discogs access token here ---> https://www.discogs.com/settings/developers,
  "dryRun": // "false" if you do NOT want to really add the releases for now and prefer to see what the program will do,
  "csv": {
    "delimiter": // CSV delimiter
  }
}

Running the program

  1. Install Node.js
  2. Go to this package's download directory
  3. Adapt configuration here
  4. Start the program with node app.js <csv-file>

discogs-importer's People

Contributors

ribeaud avatar ribeaud-student avatar

Stargazers

 avatar  avatar  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.