Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_discogs (Read 1639003 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_discogs

Reply #3300
Last post before waiting for a reply... This is with foo_discogger:
If I search for the first time I get the JSON error detailed above. When I click search a second time, a modal window "Release format mismatch" pops up which I cannot close and foobar2000 then becomes unresponsive.

Re: foo_discogs

Reply #3301
That´s weird... maybe you are running more than one Foobar 2000 instance at once?

Here is a minor foo_discogs v2.23 (32bits) update.
Tested most releases reported in previous posts and it seems to fix the JSON error.

foo_discogs v2.23 061024.zip

Change log:
- Fixed: Error loading release: JSON Parser Exception Array assertion failed

Re: foo_discogs

Reply #3302
Just wanted to share that above release has solved my issue on discogs.

Real thank you Da Yuyu

Re: foo_discogs

Reply #3303
Anyone having problems with release images?

Last days I noticed that there the option to manage images is not available, there is no album cover preview and no cover images are being downloaded.

I check in the console and I have a message that said.

Code: [Select]
foo_discogger: Unable to read album thumbnail from cache, index: 0

I have the same problem on random releases, that either no image or only the artist's image is accessible.

I checked the downloaded release json in the cache (https://pastebin.com/rtf8WGqB) and all cover images are there. But in the UI it's only the artist or "manage artwork" checkbox is inactive.



Re: foo_discogs

Reply #3304
da yuyu
Please do the checkbox "excl. those defined in Tag mapping".
foo_discogs removes all the tags (when checkbox is set) and write all info from Discogs.
in case of foo_discogger i must select additionally what tags to be removed or rewritten . it's not convenient.
Thanks in advance.

Re: foo_discogs

Reply #3305
Hey again. I'm trying to update tags of a release but it doesn't work - it doesn't update, even when DISCOGS_RELEASE_ID is set to write+update. I have latest version installed.

Re: foo_discogs

Reply #3306
Hey again. I'm trying to update tags of a release but it doesn't work - it doesn't update, even when DISCOGS_RELEASE_ID is set to write+update. I have latest version installed.

OK, nevermind - I cleared release cache and it helped.

Re: foo_discogs

Reply #3307
Would it be possible for Discnumber/Totaldiscs to be only tagged for Multidiscreleases?
Same question for Album Artist, i only want i present for releases with multiple Artists. Thanks!

Re: foo_discogs

Reply #3308
Hmm, is there something I don't understand? Newb - using it for the first time. (foo_discogger for fb2k v2 x64)

Now I search for Antonín Dvořák - filter set to: "Complete Piano Trios". I want to tag with this one: https://www.discogs.com/de/master/1758455-Suk-Trio-Dvo%C5%99%C3%A1k-The-Complete-Trios-For-Piano-Violin-And-Violoncello-Trio-No-1-In-B-flat-Major-Op-2

The Plugin always wants to look through 139 result pages, which takes a very long time so in effect I cannot use the plugin. I'm even willing to feed it the correct URL and let it do basic tagging, is that possible?

I've put the above URL into the URL field bottom right, it found some Pointer Sisters music.

EDIT: OK, I should look deeper into it myself, I will read test more extensively, read info at Github etc... already achieved some very promising results, great stuff. Until now, I've always used freedb to do the basic work, then manually made changes.

Re: foo_discogs

Reply #3309
The Plugin always wants to look through 139 result pages, which takes a very long time so in effect I cannot use the plugin. I'm even willing to feed it the correct URL and let it do basic tagging, is that possible?
Thx
If you know Release ID/URL - fill the correspond field (at the lower right corner of) ;)
Then press Next.


Re: foo_discogs

Reply #3311
Nice work on the plugin!

One possible bug I noticed (v1.0.21.1): when writing tracks for a 12" record, TRACK_DISC_TRACK_NUMBER is showing 1 for both the A and B side, and RELEASE_TOTAL_DISCS is also showing 1.

Re: foo_discogs

Reply #3312
Hi, how can I access/write the artist (or label) name with the number in parentheses (when multiple entries exist)?


Re: foo_discogs

Reply #3314
This is because unfortunately the plugin by default does not delete the disk cache.
It's bizarre and nobody loves it, but @da yuyu has not had a chance to fully fix it yet.

The most complete way to fix this is to find the artist ID in the disk cache and delete it altogether (or if you're feeling extreme, delete all the artist folders...)
I do suggest clearing the cache in the plugin preferences as well - it's in the Cache tab.

Open your foobar2000 profile folder (if you don't know it, open File menu, Directories, browse Profile Directory).
From there, go to the foo_discogger-cache subfolder.
Then open artists subfolder.

Now you need to find the artist ID - e.g. go to Moby's main page on Discogs:
https://www.discogs.com/artist/1031-Moby
His ID is 1031.

Just delete that folder and then look up the artist/release again.

Re: foo_discogs

Reply #3315
Open your foobar2000 profile folder (if you don't know it, open File menu, Directories, browse Profile Directory).
From there, go to the foo_discogger-cache subfolder.
Then open artists subfolder.
Nope.
Press and keep pressed Shift , then in foobar2000  - File, then Browse Configuration Folder.


Re: foo_discogs

Reply #3317
HI.

I installed "foo_discogger", since "foo_discogs" doesn't work on 64bit systems.

I obtained a PIN code from DiscoGS with which I generated a "token" and a "secret".

But it seems that the component doesn't work: it always returns an empty response for any album I ask for tags.



What could be the problem?

Re: foo_discogs

Reply #3318
Possibly silly question, but did you double-click the artist name in the left-hand column to load the releases?

Re: foo_discogs

Reply #3319
Possibly silly question, but did you double-click the artist name in the left-hand column to load the releases?
A question is never silly. But it's always annoying to have to guess that a simple click isn't enough to get a result and instead is necessary a double click.

Re: foo_discogs

Reply #3320
Yeah it's annoyed me a fair bit at times!

I'd say the reasoning is that some artists have pages & pages of results, and if just highlighting the artist triggered the loading of releases, it could result in a lot of requests.

Re: foo_discogs

Reply #3321
That´s weird... maybe you are running more than one Foobar 2000 instance at once?

Here is a minor foo_discogs v2.23 (32bits) update.
Tested most releases reported in previous posts and it seems to fix the JSON error.

foo_discogs v2.23 061024.zip

Change log:
- Fixed: Error loading release: JSON Parser Exception Array assertion failed

I updated to the attached beta after getting the same error. However, now it won't write tags nor show all fields like before even though my tag mappings look correct and they are definitely filled on the Discogs site. Did something happen with the mappings in the background or do I need to reset something?

Re: foo_discogs

Reply #3322
I'm using foo_discogger.  How do I embed images into tags?  I Right-Click >> Click Embed then I Right-Click >> Save Artwork, but it's not saving to the file.
What's the difference between Write Tags and Plain Write Tags?
Where is the best documentation?
Is there a way to automatically open the Discogs entry according to the Discogs Release# in the tags?
Windows 10 | Foobar2000 v2.0 Portable | Columns 2.1.0 | SQLite Utilities 3.0.4 | SQLite Tree 4.0.6

Re: foo_discogs

Reply #3323
I'm not sure how far @da yuyu has gotten with implementing it, but "Plain Write Tags" is meant to try and just update the standard ID3 tags, and not write the extended DISCOGS tags. (i.e. update %genre% and not write %DISCOGS_GENRES%)

While foo_discogger works very well in my experience, the documentation is probably one of the reasons @da yuyu doesn't want to add this version of the Discogs tagger to the foobar2000 components repo yet.
In the meantime this thread is probably the best place to ask about features, and you can search the thread (that's actually how I reminded myself about "Plain Write Tags".

I don't embed tags myself, so I'm not 100% sure how it's meant to work. That said, there's an option for embedding artwork in the component's configuration (via the Discogger right-click menu and also in Preferences), and if you select that I would assume the artwork is embedded in the files when tagging.

Re opening the Discogs release page, that's available in the right-click menu too, and you can set a keyboard shortcut in foobar2000 Preferences. Add new shortcut, and filter by "web release page" and you can select the command under [context].
Not sure if this is what you mean by "automatically".

Re: foo_discogs

Reply #3324
Hello, long-time plugin user, but new forum user.
I am using the foo_discogger plugin for the 64-bit version of foobar2000. I am trying to enable/use the "Composer" tag mapping, to have all "Written-By" credits added to the file tag. However, it seems to only add one composer even though there are several on the track.
See examples below. This is an .m4a (iTunes AAC) file, in case that matters.

Default "Composer" file tags before re-tagging  (track number - title - composers):
X

After re-tagging with the Composer tag mapping (all 3 credits are on the Discogs release):
X

I use the following tag settings: Write + Update with this (default) tagging string:
Code: [Select]
$flatten($multi_if($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Written-By')),$multi_if($put(aj,$sextend(%<<TRACK_CREDITS_ARTISTS_JOIN>>%,%<<RELEASE_CREDITS_ARTISTS_JOIN>>%)),$joinnames($put(an,$sextend(%<<TRACK_CREDITS_ARTISTS_NAME>>%,%<<RELEASE_CREDITS_ARTISTS_NAME>>%)),$get(aj)),$get(an)),))
Using only Write or only Update doesn't seem to make a difference.

Can anyone help - can I change anything myself, in order to have all Written-By credits included in the file tag, rather than only the first WB credit (alphabetically)?
Thanks.

EDIT: Soooo, it would seem that it does indeed matter that this is an .m4a file. I tried converting the file to an .mp3 file and then re-tagging the file - and the WB credits show up as intended, all three of them. So apparently an .m4a file can't really handle the way the plugin writes the tags, but that's at least good to know if I buy iTunes releases in the future - I have to convert them to .mp3 files to be able to re-tag the correctly with the Composer tag.