Comments (4)
There's an overload allowing you to specify a type, but at the moment it will throw if you use the pipe symbol to specify more than one type. This is bug and will be fixed. Until then:
var mbid = "410c9baf-5469-44f6-9852-826524b80c61";
var albums = ReleaseGroup.BrowseAsync("artist", mbid, "album", 50, 0, "ratings");
var singles = ReleaseGroup.BrowseAsync("artist", mbid, "single", 50, 0, "ratings");
from musicbrainz.
Thanks for the info, appreciate your great work.
I had to pull the latest repository as I see this overload is pretty new.
It seems to be working, thanks!
Would be nice to be able to use pipe symbol or parameters for 'type' in the future to save 1 call :)
from musicbrainz.
i'll note that using ReleaseGroup.BrowseAsync("artist", mbid, "album", 50, 0, "ratings");
also returns any secondary type that is related to album
, like Album + Compilation , Album + Live,
etc..
Checking MusicBrainz API documents it seems it's not possible to get only albums as a primary type without secondary type.
Am I correct on this consumption?
from musicbrainz.
Yes, at least I don't know of any way to filter browse request by secondary types.
from musicbrainz.
Related Issues (20)
- For some reasons, i started getting this error, not sure why it started to happen suddenly. HOT 1
- Parameters with query HOT 6
- Is there a way to get Album tracks by Album mbid HOT 4
- Portable vs .NET Standard HOT 6
- Get artist albums by mbid HOT 7
- Getting artists by tag HOT 13
- Should GenerateCommunicationThrow be removed? HOT 19
- Error with Release.GetAsync on a specific album mbid HOT 4
- [Question] Is there a way to hold local metadata in sync? HOT 2
- A move to .NetStandard? HOT 9
- Get releases by release group id HOT 2
- Support for MusicBrainz mirror servers HOT 6
- 2 calls hang HOT 2
- ReleaseList is expecting `count` and `offset` but is provided `release-count` and `release-offset` HOT 6
- Travis CI HOT 2
- Add genre entity please?
- Can't fetch any data on AspNet Core Blazor WASM HOT 6
- How to get track artist please? HOT 2
- Increasing the accuracy of the searches HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from musicbrainz.