soup-bowl / Localib

Keeps your Discogs library offline and searchable.
https://localib.app
MIT License
0 stars 0 forks source link

Barcode Scanner #9

Open soup-bowl opened 1 month ago

soup-bowl commented 1 month ago

Looks like the information needed for barcode scanning is not present in the API response, and would require additional API calls.

https://www.discogs.com/developers/accessing.html#page:user-collection,header:user-collection-collection-items-by-folder

EDIT: On reflection, since this is available in the API the scraper uses, the Worker could potentially gleam this data with the images. For example, for The Cure - Seventeen Seconds:

"identifiers": [
    {
      "type": "Barcode",
      "value": "042282535429"
    },
    {
      "type": "Matrix / Runout",
      "value": "825 354-2 02 *"
    },
    {
      "type": "Label Code",
      "value": "LC 6444"
    },
    {
      "type": "Rights Society",
      "value": "BIEM/STEMRA"
    }
],