Malachite is a tool to import your Last.fm and Spotify listening history to the AT Protocol network using the fm.teal.alpha.feed.play lexicon.
malachite scrobbles importer atproto music
14
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: adjust maximum batch size to ensure compliance with PDS limits

+2 -2
+2 -2
src/config.ts
··· 35 35 export const MIN_BATCH_DELAY = 1000; 36 36 37 37 // Maximum batch size (PDS limit is 200 operations per call) 38 - export const MAX_BATCH_SIZE = 200; 38 + export const MAX_BATCH_SIZE = 100; // Stay well below the 200 limit for safety 39 39 40 40 // Slingshot resolver URL 41 41 export const SLINGSHOT_RESOLVER = 'https://slingshot.microcosm.blue'; ··· 43 43 const config: Config = { 44 44 RECORD_TYPE, 45 45 MIN_RECORDS_FOR_SCALING: 20, 46 - BASE_BATCH_SIZE: 200, // Match DEFAULT_BATCH_SIZE for consistency 46 + BASE_BATCH_SIZE: DEFAULT_BATCH_SIZE, // Match DEFAULT_BATCH_SIZE for consistency 47 47 SCALING_FACTOR: 1.5, 48 48 DEFAULT_BATCH_SIZE, 49 49 DEFAULT_BATCH_DELAY,