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

Re: foo_musicbrainz

Reply #250
Album artist is only written when it is necessary - that is when each track has a different artist. There is no need for it on single artist albums. If I buy music from amazon and this tag is filled, I clear it.

As for tracknumbering, that will behave exactly the same as if you used to foobar to auto-track number - no leading zeroes. I'm sure foobar is following whatever the recommended specs are for all the different tag types it supports.

Also, I had a quick poke around the source and it looks the value is coming from whatever position the track is in...

https://github.com/Dremora/foo_musicbrainz/blob/ca2afd28d97cf3ffd76d607020dcf6b9d569ffe2/FileTagMap.cpp#L24L25

Re: foo_musicbrainz

Reply #251
I agree, I can't know for sure. The reason I said that, is because if I turn to Picard, I almost never ever get a server busy error, while in Foobar I get this most of the time. Doesn't that lead you to think the problem is on the client side?

When there are two or more interacting parties, the quirks at each side might lead to cumulative effect which is unexpected.

Re: foo_musicbrainz

Reply #252
Album artist is only written when it is necessary - that is when each track has a different artist. There is no need for it on single artist albums.

I don't agree. It is common and natural practice for media library to list albums using Album Artist.

Re: foo_musicbrainz

Reply #253
That's what foobar2000 title formatting is for. Using %album artist% displays the album artist tag if it is present and falls back on artist if it isn't.

http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Title_Formatting_Reference#.25album_artist.25

If you don't like that sort of thing, you can always use custom views with $meta(album artist) which will only display the actual tag contents.

Re: foo_musicbrainz

Reply #254
I didn't mean only foobar2000. It was about common practice (and sense, if you wish).

Re: foo_musicbrainz

Reply #255
Even the evil that is itunes and windows media player have no problems following the same conventions. They will group by album artist if present and use artist if it is missing.

You can see that here (just ignore the fact WMP has no concept of discnumbers  ::) )


Re: foo_musicbrainz

Reply #256
Good for them.

Re: foo_musicbrainz

Reply #257
Why is it that I get the error message 'MusicBrainz Server is busy, try again later' about 85% of the times I try to use the tagger?
If I keep on trying over and over again and again on the same album, eventually, it will work in the end (I did this just to test), but surely it isn't meant to be this bad?  If I try with Picard, it hits dead on 99% of the time, but I find FB2k preferable for many other reasons.
I have a feeling the script is not tuned properly or something? At least, the error message is not accurate as the MusicBrainz server definitely is not that busy - always.

Ideas anyone?

This might be the issue with the plugin. MusicBrainz API has a limit of 1 request per second, which, when I started working on the plugin, didn't seem to be enforced (or perhaps calculated in a different way, e.g. with a longer sliding window), so I didn't implement this. As far as I remember, each release is fetched in a separate request (at least for certain types of search). This could be the reason for the API returning its status as busy.

I can't provide you with a solution unfortunately, as I don't maintain this plugin anymore, and no one so far has stepped up to take over it.

Re: foo_musicbrainz

Reply #258
I just tested my own script which fetches release group info for a given MB artist id and hit the busy message on my very first request. Subsequent retries are 50/50. Because I have cached data for most artists in my collection, I didn't notice it until now.

Clearly MB have some issues that need addressing at the moment. I will go check their forums/tickets/docs to see if I can find out any more.

edit: It seems they have a global limit for everyone to share so if this is being hit, I guess they aren't going to do anything about it??

Quote
We allow through 300 requests each second (on average), and decline (http 503) the rest.

edit2: Just got a dump of the response headers on a 503 response. I guess that last line is the issue...

Code: [Select]
Date: Sat, 26 Mar 2016 13:33:04 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 81
Connection: keep-alive
Keep-Alive: timeout=15
Server: nginx/1.4.6 (Ubuntu)
ETag: "d16d9f06dc7063a665e0dcb2ce1c62b5"
Access-Control-Allow-Origin: *
X-Rate-Limited: 2500.1 2500.0 10



Re: foo_musicbrainz

Reply #261
It might be the case that upon receiving such response from a server, Picard retries after a short while. No such logic is present in foo_musicbrainz.

Re: foo_musicbrainz

Reply #262
I can't provide you with a solution unfortunately, as I don't maintain this plugin anymore, and no one so far has stepped up to take over it.
Why did you stop maintaining this fine plugin? What should we be using instead?

Re: foo_musicbrainz

Reply #263
I've stopped maintaining the plugin because I've stopped using Windows and foobar2000. The plugin is open source though, so I still hope that someone will take over. Until this happens, you can still use the plugin as it is, since it does its job.

Re: foo_musicbrainz

Reply #264
I tried to go on with the code but I didn’t manage with the environment, I tried a free dot net IDE, and tried and tried, but I was really clueless, unfortunately...

Re: foo_musicbrainz

Reply #265
I've stopped maintaining the plugin because I've stopped using Windows and foobar2000. The plugin is open source though, so I still hope that someone will take over. Until this happens, you can still use the plugin as it is, since it does its job.
Sad to hear. Because actualy I almost got "Error parsing XML."...

Re: foo_musicbrainz

Reply #266
Yes, sadly broken, works about one out of 20 times. "Error parsing XML." or "MusicBrainz server busy."
Unfortunately I am not experienced enough to fix it on my own...

Re: foo_musicbrainz

Reply #267
I agree, I can't know for sure. The reason I said that, is because if I turn to Picard, I almost never ever get a server busy error, while in Foobar I get this most of the time. Doesn't that lead you to think the problem is on the client side?
The reason might be that the level of service is different for different applications. This might include rate limiting, i.e. restricting the number of requests per time interval. Since Picard is MusicBrainz' own tagger it might have a higher rate limit than third party applications or it might be smarter about spreading them out to stay below the rate limit.


Re: foo_musicbrainz

Reply #269
I've compiled an updated component which allows you to set a custom server in the preferences.



A couple of different ones to try...

Code: [Select]
http://beta.musicbrainz.org
http://musicbrainz-mirror.eu:5000

Requires Vista or above and foobar2000 v1.3 or above.

https://github.com/19379/foo_musicbrainz/releases

I don't have the skills to make it retry but if anyone else fancies it, I've added all the pre-requisites to my github repo so it should compile with VS2015 as-is.

 

Re: foo_musicbrainz

Reply #270
Well done marc2003.

Here is another mirror to try :
Code: [Select]
http://musicbrainz.fin-alice.de:5000/

p.s. You might consider adding the option to select a server in your js scripts also... instead of you know...

Re: foo_musicbrainz

Reply #271
p.s. You might consider adding the option to select a server in your js scripts also... instead of you know...

I haven't bothered because it retries up to 5 times and is mostly successful.

And thanks for the mirror whether it's yours or just one you know of. More choice is always good.

edited: some wrong info removed.

another edit: just realised the uploaded DLL didn't have the version number bumped. It's been updated but no functional change.

Re: foo_musicbrainz

Reply #272

And thanks for the mirror whether it's yours or just one you know of. More choice is always good.


The mirror is not mine.
My crappy DSL connection forbids me to share my VM mirror.

edit: I'm on a Non-commercial / Personal usage of metabrainz.
https://metabrainz.org/supporters/account-type

Re: foo_musicbrainz

Reply #273
Thanks marc2003, works like a charm!
Is there a list of public musicbrainz mirrors others than the ones you two mentioned?

Re: foo_musicbrainz

Reply #274
Hi Marc2003.
It is great that you achieved to fork and compile!
Shouldn't we PR back to Dremora, so that we would keep enhancements and so the official component would be updated and also visible by all foobar2000 users?