{"id":27367391,"url":"https://github.com/ribeaud/discogs-importer","last_synced_at":"2025-04-13T06:56:29.985Z","repository":{"id":42871965,"uuid":"77154294","full_name":"ribeaud/discogs-importer","owner":"ribeaud","description":"Importer to Discogs","archived":false,"fork":false,"pushed_at":"2025-02-23T14:11:52.000Z","size":352,"stargazers_count":3,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T18:18:08.778Z","etag":null,"topics":["csv","discogs","discogs-importer"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ribeaud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-22T15:15:14.000Z","updated_at":"2025-02-23T14:11:55.000Z","dependencies_parsed_at":"2023-02-05T06:45:29.253Z","dependency_job_id":null,"html_url":"https://github.com/ribeaud/discogs-importer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribeaud%2Fdiscogs-importer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribeaud%2Fdiscogs-importer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribeaud%2Fdiscogs-importer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribeaud%2Fdiscogs-importer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ribeaud","download_url":"https://codeload.github.com/ribeaud/discogs-importer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675446,"owners_count":21143767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","discogs","discogs-importer"],"created_at":"2025-04-13T06:56:29.375Z","updated_at":"2025-04-13T06:56:29.944Z","avatar_url":"https://github.com/ribeaud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discogs Importer\n\nGiven a **CSV** file, it imports the releases (one release per line) into your named collection\nat [Discogs](https://www.discogs.com/).\n\n### CSV file format\n\n#### Expectations regarding the __CSV__ file:\n\n* Presence of header required. Minimum set of expected columns are **Artist**, **Title** and **Format** (case is _important_).\nOptional column is **Catno**. **Catno** is currently NOT used. \n\n### Program behaviour\n\n#### Expectations regarding the program itself:\n\n* It will NOT create any duplicate in the specified target folder. If the item already exists, then a log will be made\n and adding will be skipped.\n* Due to current [Discogs](https://www.discogs.com/) limitations concerning rate limitation\n(`requests are throttled by the server to 240 per minute per IP address`),\neach **CSV** record (line) is handled _synchronously_.\n* Only regular releases will be considered. _While Label_, _Promo_ and _Master_ will NOT.\n\n#### Logic\n\n1. It first tries to find a _perfect_ match for a given **Artist**, **Title** and **Format**.\n1. If nothing is found, then tries to find a _similar_ match for a given **Artist**, **Title** and **Format**.\n1. If multiple matches are found, then a log is made and nothing will happen.\n\n### Configuration\n\nCurrent configuration could be found [here](config/default.json) and MUST be adapted to your needs:\n```\n{\n  \"userName\": // What is your Discogs user name?,\n  \"folderName\": // Where do you want to put the releases added?,\n  \"userToken\": // Generate a personal Discogs access token here ---\u003e https://www.discogs.com/settings/developers,\n  \"dryRun\": // \"false\" if you do NOT want to really add the releases for now and prefer to see what the program will do,\n  \"csv\": {\n    \"delimiter\": // CSV delimiter\n  }\n}\n```\n\n#### Running the program\n\n1. Install [Node.js](https://nodejs.org/)\n1. Go to this package's download directory\n1. Adapt configuration [here](config/default.json)\n1. Start the program with `node app.js \u003ccsv-file\u003e`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fribeaud%2Fdiscogs-importer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fribeaud%2Fdiscogs-importer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fribeaud%2Fdiscogs-importer/lists"}