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 1620694 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_discogs

Reply #3325
Hey @mikkelhk
I started replying, but I note that you've discovered something about .m4a.
But... it actually does still work for me. I don't have a lot of .m4a files, but I found some that had multiple composers, and they were written to the files with that setting.

I wonder if it's to do with the ID3 version? In the Advanced settings, you can choose to use ID3v2.4 rather than ID3v2.3 - I'm using 2.4. This only changes if you tell foobar2000 to remove all tags. And then there's a setting about which tags to write if the files are untagged - I have it writing ID3v2 and ID3v1.

Also, take it or leave it, but I've got some albums which have "Composed By" as the credit, so I've adjusted the tag mapping to be:
Code: [Select]
$flatten($multi_if($multi_add($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Written-By')),$any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Composed 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)),))

Re: foo_discogs

Reply #3326
Hey @mikkelhk
I started replying, but I note that you've discovered something about .m4a.
But... it actually does still work for me. I don't have a lot of .m4a files, but I found some that had multiple composers, and they were written to the files with that setting.

I wonder if it's to do with the ID3 version? In the Advanced settings, you can choose to use ID3v2.4 rather than ID3v2.3 - I'm using 2.4. This only changes if you tell foobar2000 to remove all tags. And then there's a setting about which tags to write if the files are untagged - I have it writing ID3v2 and ID3v1.

Also, take it or leave it, but I've got some albums which have "Composed By" as the credit, so I've adjusted the tag mapping to be:
Code: [Select]
$flatten($multi_if($multi_add($any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Written-By')),$any($multi_strcmp($sextend(%<<TRACK_CREDITS_SHORT_ROLES>>%,%<<RELEASE_CREDITS_SHORT_ROLES>>%),'Composed 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)),))
Thanks for your quick reply. I might mess around with that tag mapping and/or changing between ID3v2.3 and 2.4 at some point, but for now I think I'll just convert the files to MP3 before re-tagging them.
And just to clarify: my .m4a file was tagged with three composers when downloaded directly from iTunes, and the release on Discogs had all three composers as well, but as I mentioned, when I re-tagged the file using the foo_discogger plugin, only one composer (the first alphabetically) was written to the ID3 tag, and the others were deleted. But if it is an .mp3 file, all three composers are added correctly during re-tagging.
Thanks again.

Re: foo_discogs

Reply #3327
I'm using Discogger, how do I concatenate 2 fields in the Tag Mapping window?  I want to combine %<RELEASE_GENRES>% and %<RELEASE_STYLES>% in the STYLE field.
Windows 10 | Foobar2000 v2.0 Portable | Columns 2.1.0 | SQLite Utilities 3.0.4 | SQLite Tree 4.0.6


Re: foo_discogs

Reply #3329
Hey @mikkelhk
I started replying, but I note that you've discovered something about .m4a.
But... it actually does still work for me. I don't have a lot of .m4a files, but I found some that had multiple composers, and they were written to the files with that setting.

I wonder if it's to do with the ID3 version? In the Advanced settings, you can choose to use ID3v2.4 rather than ID3v2.3 - I'm using 2.4. This only changes if you tell foobar2000 to remove all tags. And then there's a setting about which tags to write if the files are untagged - I have it writing ID3v2 and ID3v1.
Unfortunately this is still not working correctly for me. I have tried combinations of "Write ID3v2.3 tags"/"Write ID3v2.4 tags" and "ID3v2 + ID3v1"/"ID3v2", combined with "Write"/"Write and update"/"Update" to no avail. Only the first composer/written-by credit gets tagged on the .m4a file.
Once again, it is noteworthy that the file has all three credits before I re-tag the file, so the re-tagging actively removes existing credits (when trying to apply the tags from Discogs).
You said something about v2.3/v2.4 only giving an effect if fb2000 is made to remove all tags (and re-write them I guess). How do I enable this function, or did you mean something else?

Thanks in advance.

Re: foo_discogs

Reply #3330
Honestly, I think it's a long shot, it's just something that's been effective to me before (a long time ago).
Right click on the files, Tagging menu, Remove tags from file(s). This leaves the files untagged. Then when you tag them again, it's using your preferred ID3 version.
However, in this case I'm not sure it's the problem. I can't reproduce your issue, even using .m4a files.
Hopefully someone more knowledgeable than me can step in.

Re: foo_discogs

Reply #3331
Honestly, I think it's a long shot, it's just something that's been effective to me before (a long time ago).
Right click on the files, Tagging menu, Remove tags from file(s). This leaves the files untagged. Then when you tag them again, it's using your preferred ID3 version.
However, in this case I'm not sure it's the problem. I can't reproduce your issue, even using .m4a files.
Hopefully someone more knowledgeable than me can step in.
Unfortunately this gives the same result, with only the first artist being tagged.
Thanks for your replies, and no worries. The .m4a tagging worked fine in the old foo_discogs plugin, just not with the new foo_discogger plugin, even though they would seemingly be built on the same base data.

EDIT: Interestingly though, when I play the audio file in fb2000 after the re-tagging, all three credits are shown in the Properties window, but only the first artist is shown in Windows Explorer and in the file properties in VLC Media Player. So perhaps the credits are actually tagged "correctly" to the file, but somehow only fb2000 can read these tags correctly, while neither Windows Explorer nor VLC MP can.

 

Re: foo_discogs

Reply #3332
Hi folks

running windows 7.

Tried so many different methods to enable TLS 1.2. It says it is in Internet Options - Advanced Settings along with TLS 1.0 and 1.1,

Whenever I try to configure with 0auth nothing happens when I try to retrieve pin. I login with browser and still nothing happens.

Faced with error every time: "(FATAL) Error: Network exception: Network authentication error: The function requested is not supported (80090302) (url: https://api.discogs.com/oauth/request_token?oauth_consumer_key=xxxxxxxxxxxxxxoauth_nonce=xxxxxxxxxoauth_signature=xxxxxxxxxxxxxxxxoauth_signature_method=HMAC-SHA1&oauth_timestamp=xxxxxxxxxxoauth_version=1.0)"

replaced numbers with Xs in case they're sensitive.

Any ideas? Thanks.

Re: foo_discogs

Reply #3333
Love it. Could use some help. Trying to get it to use ; for separating multiple artists. When I import it in Rekordbox, it will change it to / which is what I want, it means Rekordbox recognizes ; as a separator too.

Let's say you manually fill in ARTIST 1; ARTIST 2; ARTIST 3 it will show it as ARTIST 1, ARTIST 2, ARTIST 3, with the ; still being in the metadata. But whenever I try to do it with the tagger it will show the ; and Foobar is not showing the comma somehow.

Any idea? I tried the $join, $multi_replace and $multi_join functions, but to no avail. I guess it's saving it as "ARTIST 1; ARTIST 2; ARTIST 3;" as a whole.


Okay I just fixed it lol, just a few minutes after posting.

Code: [Select]
$split(%ARTISTS_NAME%)

Re: foo_discogs

Reply #3334
Love it. Could use some help. Trying to get it to use ; for separating multiple artists. When I import it in Rekordbox, it will change it to / which is what I want, it means Rekordbox recognizes ; as a separator too.

Let's say you manually fill in ARTIST 1; ARTIST 2; ARTIST 3 it will show it as ARTIST 1, ARTIST 2, ARTIST 3, with the ; still being in the metadata. But whenever I try to do it with the tagger it will show the ; and Foobar is not showing the comma somehow.

Any idea? I tried the $join, $multi_replace and $multi_join functions, but to no avail. I guess it's saving it as "ARTIST 1; ARTIST 2; ARTIST 3;" as a whole.


Okay I just fixed it lol, just a few minutes after posting.

Code: [Select]
$split(%ARTISTS_NAME%)

Ok so this didn't work with multiple files and different artists.

Code: [Select]
%<ARTISTS_NAME>%
works I think.

Re: foo_discogs

Reply #3335
How can I download track artists' art with filenames matching the artist names, such as 'Carl Cox.jpg', 'DJ Cam.jpg', and 'Daphreephunkateerz.jpg'?
Thanks!