Scan
The Scan tab lets you scan barcodes on records to identify them, view marketplace data, and add them to your collection or wantlist.

How it works
1. Point your camera at the barcode on a record's sleeve or back cover. 2. The app detects the barcode (EAN-13, EAN-8, UPC-A, UPC-E) and searches Discogs. 3. Multiple results appear with cover art thumbnails. Tap to select the correct pressing. 4. Each result shows whether you already own it or if it's on your wantlist.
Scan result detail
When you select a result, you see:
- Album art, artist, title — Full release info
- Label, year, format — Pressing details
- Estimated value — Current Discogs median price
- Marketplace data — Number for sale, lowest price, link to Discogs marketplace
- Tracklist — Full tracklist with positions, durations, genre/style tags
- Wantlist match — "You found one! This is on your wantlist" banner when applicable
- Ownership indicator — "Already in your collection" badge
- Add to Collection — Add this pressing to your collection
Actions:
- Add to Wantlist — Add to your wantlist for later
- Dismiss — Close and scan another
- Total scanned — Number of barcodes detected
Batch scan mode
For digitizing a haul or crate, enable Batch mode:
1. Toggle the Batch switch at the top of the Scan tab. 2. Point the camera at barcodes — each detection triggers haptic feedback and auto-identifies. 3. A counter shows how many items you've scanned in the session. 4. Duplicate barcodes within the same session are suppressed. 5. Wantlist finds get a double haptic vibration pattern. 6. Tap End session to see a summary.
### Session summary
The batch summary shows:
- New — Records not in your collection
- Owned — Records already in your collection
- Wantlist finds — Records that matched your wantlist
- Lifetime stats — Total scan count and current streak
- Per-item list — Each scanned item with thumbnail and owned/new/want badge
- Lifetime scans — Total number of records scanned
Scan stats
The stats bar shows:
- Streak — Consecutive days with at least one scan (🔥 fire emoji)
- Search results show "✓ In your collection" next to records you already own
Text search
Don't have a barcode? Use the search bar to type an artist name, album title, or barcode number. Results show the same detail view with add options. Paginated with "Load more results."
Ownership detection
When you scan or search:
- On your wantlist shows when a scanned record matches a wantlist item
- Works in both normal and batch scan modes
- Web: Uses the browser's `getUserMedia` API and `BarcodeDetector` (with ZXing fallback). Viewfinder shows grid overlay, corner markers, crosshair, and animated scan line.
Web vs. mobile
- iOS/Android (Expo): Uses `expo-camera` for native barcode scanning with full camera permissions flow and haptic feedback.