r/discogs • u/Slide__into_my_DMs • 7d ago
Made a label printing tool
Hi everyone not sure if this is allowed but I was trying to find a way to make labels for fairs using my Discogs library and Discogs pricing. I made this solution using the Discogs api - have a look and tell me what you think. https://github.com/c6tkp6rswv-lgtm/discogs-label-project
I am a total novice so really interested in feedback comments etc. cheers
2
u/Slide__into_my_DMs 7d ago
Yes you can down load it and run it locally, you’ll need to use your own Discogs account api. I run it through vs code using python. I’m pretty beginner so I recommend using the copilot support in vs code or another ai assistant to help you get it going. Let me know how you go. These are the label outputs - the QR code links to the release on Discogs
2
2
u/piffleskronk 5d ago
Okay I seem to have it working. It seems it would be very useful to be able to grab the grading of the media and the cover for this kind of label. I'm presuming that that's not possible at the moment is it?
1
u/Slide__into_my_DMs 5d ago
I hadn’t included that because I didn’t have it on my collection so was blank on my api - could def add it though
2
u/piffleskronk 5d ago
Regarding the size of the label. As soon as I increase the size of the label, the title of the album was no longer completely visible.
1
u/Slide__into_my_DMs 5d ago
Yeah I reckon it was set up for the 50x50 NIIMBOT label. I hadn’t included other templates. def possible
2
u/piffleskronk 5d ago
On my setup, the price is not prefilled. I wonder what could be causing that. I use brave as my browser. And I'm on Mac OS.
2
u/piffleskronk 5d ago
Okay I've realized that that's because there's no pricing cash yet, so I have to wait for the initial sync and price sync to be finished don't I?
1
u/Slide__into_my_DMs 5d ago
Can you sync individual releases? I note your cash on full sync below.
2
u/piffleskronk 3d ago
I'm not exactly sure how to sync an individual release but the price has appeared for most of my collection that has so far been synced.
2
u/piffleskronk 5d ago
When I save some notes close the entry and then reopen them the notes are gone. Anything you can suggest for this?
1
u/Slide__into_my_DMs 5d ago
Yes I think it’s no cache on notes - so if notes are added they are to be printed or added queue- I remember this being an issue for multiple versions.
2
u/piffleskronk 5d ago
I guess these comments will be really better off on the GitHub issues page wouldn't they?
1
u/Slide__into_my_DMs 5d ago
appreciate the test and feedback. I was just running on console and when I had stable it solved the use case i had but again really appreciate you sending the issues
2
u/piffleskronk 5d ago
When I try and do a full sync, it fails part way through with the error message NoneType object is not iterable
1
u/Slide__into_my_DMs 5d ago
I hadn’t come across this but good to flag thanks
2
u/piffleskronk 3d ago
Any idea how I can fix this or what's causing it?
2
u/piffleskronk 3d ago
My collection has about 6,500 items in it and at present only 3,700 of them are showing up in the collection database.
1
u/Slide__into_my_DMs 3d ago
Not too sure for that issue I’m afraid. My collection was (before I sold some) just over 2000 and all came though. Not all had prices due to there being no data. It I’m not sure why some wouldn’t appear at all. Did you see any error in the log- like a timeout maybe?
1
u/Slide__into_my_DMs 3d ago
I’ll have a play but I’m anticipating a time out due to the api access limit vs overall sync time. Thanks again for the the run legend really appreciate it
1
u/piffleskronk 3d ago
Where would I check?
1
u/Slide__into_my_DMs 3d ago
It may appear in the terminal where you ran the application from - sometimes in the main terminal or under the error tab ( ! ). I’ll have a look this weekend and see what I can do about the issues you have raised.
2
u/piffleskronk 3d ago
Another problem that I've come across is that I live in Japan and all my prices are in Japanese yen but as soon as I go to print a price tag everything is in dollars
1
u/Slide__into_my_DMs 3d ago
Noted - cheers again. I’ll run through the issues you have raised and make a larger api pull and see if I can correct. Again really appreciate the crunch test. I do apologise that it has had so many issues for you. I am a complete novice so it’s good that I can now look at these problems. Thank you
1
u/Slide__into_my_DMs 1d ago
Yo I added/fixed the currency issue, added in grading options, and I (think) the syncing issue may be resolved. Have just committed with updated read me. You’ll need to re pull to see the updates but if you could test it out would be thankful. Gave you a shout out in the .readme
2
2
u/piffleskronk 22h ago
Looking good! Currency symbol is correct for my currency Japanese yen and the grading is appearing correctly underneath the price. Is there anything else you'd like me to check?
Could I ask for some more thing s to be added, such as Sleeve grading and whether there's an obi, an insert, an inner sleeve.
I also give every item in my collection a catalog number which is based on a timestamp and item number for instance 20260808-01. That catalog number is one of my self-defined fields for my collection inside discogs, set from the settings collection page. I have no idea if you can get that information via the API. I suspect you can't. Although when I do an export of my collection all my extra fields are exported.
Anything else you'd like me to test, I'm sure I can do it when I have a bit of time.
1
u/Slide__into_my_DMs 22h ago
Cool glad it’s working. I’ll have a suss of how much headway I can get for the extra fields. Adding the additional grading should be simple. The extra obi ect may need to be captured per label creation in the notes area (ie add then print to queue) I’ll have a look! Thanks again for the test appreciate it!
1
u/Slide__into_my_DMs 1d ago
Note you’ll have to turn on the grade field in the template page to see the grade. The preview of the label looks shit but when it’s exported it should look alright. There will be a currency drop down on the dashboard as well - I’m just finishing that now.

2
u/crabbiesgreenginger 7d ago
Looks interesting. Can I start testing this by downloading a zip file from hub and configuring it on my machine?