Giter Club home page Giter Club logo

musicbrainz's People

Contributors

zastai avatar

Watchers

 avatar  avatar  avatar

musicbrainz's Issues

Empty Tracks property of a Media

Hi,

I am issuing the following query
`

        Query a = new Query("AutoTagger");
        
        var ris=a.FindRecordings("the right thing simply red AND dur:[224000 TO 254000]");

        foreach (var r in ris.Results)
        {
            if (r.Releases.Count > 0)
                if (r.Releases[0].Media.Count > 0)
                {
                    var m = r.Releases[0].Media[0];
                }
        }

`

The problem is that the Tracks property of m variable is null whereas if I call directly the webservice the XML shows that it is populated by 1 track, which unluckily is not deserialized. Can anybody tell me why ?

query.LookupRelease Error when including MetaBrainz.MusicBrainz.Include.Recordings

Message=Could not find member 'position' on object of type 'Track'. Path 'media[0].tracks[0].position', line 1, position 910.
Source=Newtonsoft.Json
when calling:
MetaBrainz.MusicBrainz.Interfaces.Entities.IRelease rls = qry.LookupRelease(mbid,
MetaBrainz.MusicBrainz.Include.Media
| MetaBrainz.MusicBrainz.Include.Artists
| MetaBrainz.MusicBrainz.Include.Aliases
| MetaBrainz.MusicBrainz.Include.Labels
| MetaBrainz.MusicBrainz.Include.Collections
| MetaBrainz.MusicBrainz.Include.ArtistRelationships
| MetaBrainz.MusicBrainz.Include.ReleaseRelationships
| MetaBrainz.MusicBrainz.Include.UrlRelationships
| MetaBrainz.MusicBrainz.Include.RecordingRelationships
| MetaBrainz.MusicBrainz.Include.WorkRelationships
| MetaBrainz.MusicBrainz.Include.Isrcs
| MetaBrainz.MusicBrainz.Include.ReleaseGroups
| MetaBrainz.MusicBrainz.Include.Recordings
);

Json serialization error when retrieving recordings

Firstly, congratulations for this great work, and thank you!

When calling method FindRecordings("mishka",100) an error is thrown:

Newtonsoft.Json.JsonSerializationException: 'Required property 'format' not found in JSON. Path 'recordings[6].releases[0].media[0]', line 1, position 7605.'

I'm using the latest nuget packages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.