[Feature]: Sync Discogs Custom fields Data to DVinyl Fields
Before suggesting
- [x] I searched the existing issues and did not find a similar request.
What problem would this solve?
I manage my vinyl collection on Discogs for several years now and have a number of custom fields. I've started exploring DVinyl and really appreciate the interface and how quickly it's maturing (a real credit to the team here!), but my library import did not bring along any of the data I've built up.
It would be ideal if there was a way to map custom fields in DVinyl to fields from a user's Discog's collection. Ideally when pulling a collection, detect custom fields and create them in DVinyl automatically.
If you can push changes back to Discogs as well, that'd be great, but for me personally I'd rather have a minimum number of items on discogs then maybe a larger number of fields on DVinyl.
How could it work?
I checked the Discogs API and there does seem to be an endpoint for detecting user custom fields here
First level of feature: Upon syncing with discogs, check the user's custom fields definition, automatically map that to custom fields generated to match, and populate.
Second level: Potentially use the edit fields end point to sync changes back up.
Third level: Allow users to manually map data.
Alternatives you considered
The other way is manually re-creating and copy-pasting information. Unfortunately.
Would you like to help build it?
I could help test it
Hey! Thank you so much for the kind words, and for the clear write-up with the API links :D
You're right, the Discogs import currently ignores your custom fields even though Discogs sends them along. Bringing them over as DVinyl fields (created automatically, and filled in on albums you've already imported too) makes a lot of sense, and I'd like to do it. Syncing changes back to Discogs is a bigger one, so not for right away.
No promises on timing, but I'll take you up on the testing offer when it's ready ;) Thanks!
Hi! 4.0.0 is out: importing or syncing your Discogs collection now brings your custom fields over as DVinyl fields, created automatically, plus your rating and date added. Syncing back to Discogs isn't in. Thanks!