Open ryanavella opened 5 years ago
So far, all of these clashes appear to be seasonal releases. For whatever reason (industry standard?), many breweries use the same barcode for all of their seasonal beers.
Once nice solution to the problem is to manually fix these entries in our database by renaming them "{brewery_name} (seasonal)" or "{brewery_name} (special)." That way it will always be accurate and doesn't require ABV to distinguish beers beyond just barcodes.
We've observed at least 2 pairs of barcodes that clash with each other (so 4 total barcodes). So far, it seems that these shared barcodes are most common within a single brewery.
There are two questions worth asking here:
Question 2 is particularly tricky because ABV can't determine which drink was intended without some form of user input. I don't see any solution other than keeping a list of troublesome barcodes, and presenting a popup every time one of them is encountered. This list of barcodes could be maintained either in the config file or in the sqlite database, but the popup seems non-optional.