Query for PUIDs, suggestions?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Query for PUIDs, suggestions?

Nick Hughes

Hi Folks, changing the subject to reflect the question.

---------- Forwarded message ----------
From: Nick Hughes <[hidden email]>
Date: Sat, Feb 2, 2013 at 1:30 PM
Subject: Re: [mb-devel] State of interface?
To: MusicBrainz Developer Discussion <[hidden email]>


Thanks.  I reviewed this, however was a bit confused perhaps due to lack of examples.  Do you know if there is a mailing list?  Didn't see one on that page.

I am essentially trying to get the CD ISRC and CD ID from some similar code as this....

q = ws.Query()
filter = ws.ReleaseFilter(artistName="The Beatles",title="Abbey Road",limit=20)
releases = q.getReleases(filter=filter)
for r in releases:
        print r.getRelease().getArtist()
        print r.getRelease().getTypes()
        print r.getRelease().getTitle()
        print r.getRelease().getTracks()
        print r.getRelease().getTracksCount()
        print r.getRelease().getDiscs()


        for t in r.getRelease().getTracks():
                print t.getTitle()
                print t.getISRC()

        for d in r.getRelease().getDiscs():
                print d.getId()
                print d.getTracks()

Thanks


On Sat, Feb 2, 2013 at 1:20 PM, Ian McEwen <[hidden email]> wrote:
https://github.com/alastair/python-musicbrainz-ngs is the recommended successor for python-musicbrainz2; it's fairly complete and should be able to fill your needs.

On Sat, Feb 02, 2013 at 01:09:53PM -0500, Nick Hughes wrote:
> Hi Folks,
>
> I recently used musicbrainz2 interface to lookup CD ID and Track ISRC #
> information based upon Artist/Album name.  Unfortunately, when receiving
> back the list of tracks it returned null, which I then realized
> musicbrainz2 is deprecated.
>
> Can anyone comment on the state of musicbrainz3 interface?  Is it possible
> to get similar information as above yet?
>
> Thanks so much,
> Nick

> _______________________________________________
> MusicBrainz-devel mailing list
> [hidden email]
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel


--
Ian McEwen <[hidden email]> <[hidden email]>
A262 D5C4 40CB 0E1C 5F24 C3A1 ABED 1ABD 7131 A76F
http://ianmcorvidae.net/

_______________________________________________
MusicBrainz-devel mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel


_______________________________________________
MusicBrainz-devel mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query for PUIDs, suggestions?

Nick Hughes
I just read that PUID is going away, to be replaced with AcoustID.  Can anyone tried Chromaprint and used Python interface to get track's AID?

Thanks


On Mon, Mar 25, 2013 at 11:57 AM, Nick Hughes <[hidden email]> wrote:

Hi Folks, changing the subject to reflect the question.

---------- Forwarded message ----------
From: Nick Hughes <[hidden email]>
Date: Sat, Feb 2, 2013 at 1:30 PM
Subject: Re: [mb-devel] State of interface?
To: MusicBrainz Developer Discussion <[hidden email]>


Thanks.  I reviewed this, however was a bit confused perhaps due to lack of examples.  Do you know if there is a mailing list?  Didn't see one on that page.

I am essentially trying to get the CD ISRC and CD ID from some similar code as this....

q = ws.Query()
filter = ws.ReleaseFilter(artistName="The Beatles",title="Abbey Road",limit=20)
releases = q.getReleases(filter=filter)
for r in releases:
        print r.getRelease().getArtist()
        print r.getRelease().getTypes()
        print r.getRelease().getTitle()
        print r.getRelease().getTracks()
        print r.getRelease().getTracksCount()
        print r.getRelease().getDiscs()


        for t in r.getRelease().getTracks():
                print t.getTitle()
                print t.getISRC()

        for d in r.getRelease().getDiscs():
                print d.getId()
                print d.getTracks()

Thanks


On Sat, Feb 2, 2013 at 1:20 PM, Ian McEwen <[hidden email]> wrote:
https://github.com/alastair/python-musicbrainz-ngs is the recommended successor for python-musicbrainz2; it's fairly complete and should be able to fill your needs.

On Sat, Feb 02, 2013 at 01:09:53PM -0500, Nick Hughes wrote:
> Hi Folks,
>
> I recently used musicbrainz2 interface to lookup CD ID and Track ISRC #
> information based upon Artist/Album name.  Unfortunately, when receiving
> back the list of tracks it returned null, which I then realized
> musicbrainz2 is deprecated.
>
> Can anyone comment on the state of musicbrainz3 interface?  Is it possible
> to get similar information as above yet?
>
> Thanks so much,
> Nick

> _______________________________________________
> MusicBrainz-devel mailing list
> [hidden email]
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel


--
Ian McEwen <[hidden email]> <[hidden email]>
A262 D5C4 40CB 0E1C 5F24 C3A1 ABED 1ABD 7131 A76F
http://ianmcorvidae.net/

_______________________________________________
MusicBrainz-devel mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel



_______________________________________________
MusicBrainz-devel mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query for PUIDs, suggestions?

Lukáš Lalinský
I'm not sure what information are you trying to get. AcoustIDs for all
tracks on an album, or AcoustIDs matching some audio files?

Lukas

On Mon, Apr 8, 2013 at 2:48 AM, Nick Hughes <[hidden email]> wrote:

> I just read that PUID is going away, to be replaced with AcoustID.  Can
> anyone tried Chromaprint and used Python interface to get track's AID?
>
> Thanks
>
>
> On Mon, Mar 25, 2013 at 11:57 AM, Nick Hughes <[hidden email]> wrote:
>>
>>
>> Hi Folks, changing the subject to reflect the question.
>>
>> ---------- Forwarded message ----------
>> From: Nick Hughes <[hidden email]>
>> Date: Sat, Feb 2, 2013 at 1:30 PM
>> Subject: Re: [mb-devel] State of interface?
>> To: MusicBrainz Developer Discussion
>> <[hidden email]>
>>
>>
>> Thanks.  I reviewed this, however was a bit confused perhaps due to lack
>> of examples.  Do you know if there is a mailing list?  Didn't see one on
>> that page.
>>
>> I am essentially trying to get the CD ISRC and CD ID from some similar
>> code as this....
>>
>> q = ws.Query()
>> filter = ws.ReleaseFilter(artistName="The Beatles",title="Abbey
>> Road",limit=20)
>> releases = q.getReleases(filter=filter)
>> for r in releases:
>>         print r.getRelease().getArtist()
>>         print r.getRelease().getTypes()
>>         print r.getRelease().getTitle()
>>         print r.getRelease().getTracks()
>>         print r.getRelease().getTracksCount()
>>         print r.getRelease().getDiscs()
>>
>>
>>         for t in r.getRelease().getTracks():
>>                 print t.getTitle()
>>                 print t.getISRC()
>>
>>         for d in r.getRelease().getDiscs():
>>                 print d.getId()
>>                 print d.getTracks()
>>
>> Thanks
>>
>>
>> On Sat, Feb 2, 2013 at 1:20 PM, Ian McEwen <[hidden email]>
>> wrote:
>>>
>>> https://github.com/alastair/python-musicbrainz-ngs is the recommended
>>> successor for python-musicbrainz2; it's fairly complete and should be able
>>> to fill your needs.
>>>
>>> On Sat, Feb 02, 2013 at 01:09:53PM -0500, Nick Hughes wrote:
>>> > Hi Folks,
>>> >
>>> > I recently used musicbrainz2 interface to lookup CD ID and Track ISRC #
>>> > information based upon Artist/Album name.  Unfortunately, when
>>> > receiving
>>> > back the list of tracks it returned null, which I then realized
>>> > musicbrainz2 is deprecated.
>>> >
>>> > Can anyone comment on the state of musicbrainz3 interface?  Is it
>>> > possible
>>> > to get similar information as above yet?
>>> >
>>> > Thanks so much,
>>> > Nick
>>>
>>> > _______________________________________________
>>> > MusicBrainz-devel mailing list
>>> > [hidden email]
>>> > http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>>>
>>>
>>> --
>>> Ian McEwen <[hidden email]> <[hidden email]>
>>> A262 D5C4 40CB 0E1C 5F24 C3A1 ABED 1ABD 7131 A76F
>>> http://ianmcorvidae.net/
>>>
>>> _______________________________________________
>>> MusicBrainz-devel mailing list
>>> [hidden email]
>>> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>>
>>
>
>
> _______________________________________________
> MusicBrainz-devel mailing list
> [hidden email]
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel

_______________________________________________
MusicBrainz-devel mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query for PUIDs, suggestions?

Nick Hughes
I would like to:

 o Sample .wav file and determine audio finger print
 o Use either this finger print alone, or with Artist and Track name, to get Album details from database

Thanks

On Mon, Apr 8, 2013 at 2:58 AM, Lukáš Lalinský <[hidden email]> wrote:
I'm not sure what information are you trying to get. AcoustIDs for all
tracks on an album, or AcoustIDs matching some audio files?

Lukas

On Mon, Apr 8, 2013 at 2:48 AM, Nick Hughes <[hidden email]> wrote:
> I just read that PUID is going away, to be replaced with AcoustID.  Can
> anyone tried Chromaprint and used Python interface to get track's AID?
>
> Thanks
>
>
> On Mon, Mar 25, 2013 at 11:57 AM, Nick Hughes <[hidden email]> wrote:
>>
>>
>> Hi Folks, changing the subject to reflect the question.
>>
>> ---------- Forwarded message ----------
>> From: Nick Hughes <[hidden email]>
>> Date: Sat, Feb 2, 2013 at 1:30 PM
>> Subject: Re: [mb-devel] State of interface?
>> To: MusicBrainz Developer Discussion
>> <[hidden email]>
>>
>>
>> Thanks.  I reviewed this, however was a bit confused perhaps due to lack
>> of examples.  Do you know if there is a mailing list?  Didn't see one on
>> that page.
>>
>> I am essentially trying to get the CD ISRC and CD ID from some similar
>> code as this....
>>
>> q = ws.Query()
>> filter = ws.ReleaseFilter(artistName="The Beatles",title="Abbey
>> Road",limit=20)
>> releases = q.getReleases(filter=filter)
>> for r in releases:
>>         print r.getRelease().getArtist()
>>         print r.getRelease().getTypes()
>>         print r.getRelease().getTitle()
>>         print r.getRelease().getTracks()
>>         print r.getRelease().getTracksCount()
>>         print r.getRelease().getDiscs()
>>
>>
>>         for t in r.getRelease().getTracks():
>>                 print t.getTitle()
>>                 print t.getISRC()
>>
>>         for d in r.getRelease().getDiscs():
>>                 print d.getId()
>>                 print d.getTracks()
>>
>> Thanks
>>
>>
>> On Sat, Feb 2, 2013 at 1:20 PM, Ian McEwen <[hidden email]>
>> wrote:
>>>
>>> https://github.com/alastair/python-musicbrainz-ngs is the recommended
>>> successor for python-musicbrainz2; it's fairly complete and should be able
>>> to fill your needs.
>>>
>>> On Sat, Feb 02, 2013 at 01:09:53PM -0500, Nick Hughes wrote:
>>> > Hi Folks,
>>> >
>>> > I recently used musicbrainz2 interface to lookup CD ID and Track ISRC #
>>> > information based upon Artist/Album name.  Unfortunately, when
>>> > receiving
>>> > back the list of tracks it returned null, which I then realized
>>> > musicbrainz2 is deprecated.
>>> >
>>> > Can anyone comment on the state of musicbrainz3 interface?  Is it
>>> > possible
>>> > to get similar information as above yet?
>>> >
>>> > Thanks so much,
>>> > Nick
>>>
>>> > _______________________________________________
>>> > MusicBrainz-devel mailing list
>>> > [hidden email]
>>> > http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>>>
>>>
>>> --
>>> Ian McEwen <[hidden email]> <[hidden email]>
>>> A262 D5C4 40CB 0E1C 5F24 C3A1 ABED 1ABD 7131 A76F
>>> http://ianmcorvidae.net/
>>>
>>> _______________________________________________
>>> MusicBrainz-devel mailing list
>>> [hidden email]
>>> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>>
>>
>
>
> _______________________________________________
> MusicBrainz-devel mailing list
> [hidden email]
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel

_______________________________________________
MusicBrainz-devel mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel


_______________________________________________
MusicBrainz-devel mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query for PUIDs, suggestions?

Lukáš Lalinský
The easiest way is probably to use the pyacoustid module -
https://github.com/sampsyo/pyacoustid

Lukas

On Thu, Apr 25, 2013 at 5:18 AM, Nick Hughes <[hidden email]> wrote:

> I would like to:
>
>  o Sample .wav file and determine audio finger print
>  o Use either this finger print alone, or with Artist and Track name, to get
> Album details from database
>
> Thanks
>
> On Mon, Apr 8, 2013 at 2:58 AM, Lukáš Lalinský <[hidden email]> wrote:
>>
>> I'm not sure what information are you trying to get. AcoustIDs for all
>> tracks on an album, or AcoustIDs matching some audio files?
>>
>> Lukas
>>
>> On Mon, Apr 8, 2013 at 2:48 AM, Nick Hughes <[hidden email]> wrote:
>> > I just read that PUID is going away, to be replaced with AcoustID.  Can
>> > anyone tried Chromaprint and used Python interface to get track's AID?
>> >
>> > Thanks
>> >
>> >
>> > On Mon, Mar 25, 2013 at 11:57 AM, Nick Hughes <[hidden email]>
>> > wrote:
>> >>
>> >>
>> >> Hi Folks, changing the subject to reflect the question.
>> >>
>> >> ---------- Forwarded message ----------
>> >> From: Nick Hughes <[hidden email]>
>> >> Date: Sat, Feb 2, 2013 at 1:30 PM
>> >> Subject: Re: [mb-devel] State of interface?
>> >> To: MusicBrainz Developer Discussion
>> >> <[hidden email]>
>> >>
>> >>
>> >> Thanks.  I reviewed this, however was a bit confused perhaps due to
>> >> lack
>> >> of examples.  Do you know if there is a mailing list?  Didn't see one
>> >> on
>> >> that page.
>> >>
>> >> I am essentially trying to get the CD ISRC and CD ID from some similar
>> >> code as this....
>> >>
>> >> q = ws.Query()
>> >> filter = ws.ReleaseFilter(artistName="The Beatles",title="Abbey
>> >> Road",limit=20)
>> >> releases = q.getReleases(filter=filter)
>> >> for r in releases:
>> >>         print r.getRelease().getArtist()
>> >>         print r.getRelease().getTypes()
>> >>         print r.getRelease().getTitle()
>> >>         print r.getRelease().getTracks()
>> >>         print r.getRelease().getTracksCount()
>> >>         print r.getRelease().getDiscs()
>> >>
>> >>
>> >>         for t in r.getRelease().getTracks():
>> >>                 print t.getTitle()
>> >>                 print t.getISRC()
>> >>
>> >>         for d in r.getRelease().getDiscs():
>> >>                 print d.getId()
>> >>                 print d.getTracks()
>> >>
>> >> Thanks
>> >>
>> >>
>> >> On Sat, Feb 2, 2013 at 1:20 PM, Ian McEwen
>> >> <[hidden email]>
>> >> wrote:
>> >>>
>> >>> https://github.com/alastair/python-musicbrainz-ngs is the recommended
>> >>> successor for python-musicbrainz2; it's fairly complete and should be
>> >>> able
>> >>> to fill your needs.
>> >>>
>> >>> On Sat, Feb 02, 2013 at 01:09:53PM -0500, Nick Hughes wrote:
>> >>> > Hi Folks,
>> >>> >
>> >>> > I recently used musicbrainz2 interface to lookup CD ID and Track
>> >>> > ISRC #
>> >>> > information based upon Artist/Album name.  Unfortunately, when
>> >>> > receiving
>> >>> > back the list of tracks it returned null, which I then realized
>> >>> > musicbrainz2 is deprecated.
>> >>> >
>> >>> > Can anyone comment on the state of musicbrainz3 interface?  Is it
>> >>> > possible
>> >>> > to get similar information as above yet?
>> >>> >
>> >>> > Thanks so much,
>> >>> > Nick
>> >>>
>> >>> > _______________________________________________
>> >>> > MusicBrainz-devel mailing list
>> >>> > [hidden email]
>> >>> > http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>> >>>
>> >>>
>> >>> --
>> >>> Ian McEwen <[hidden email]> <[hidden email]>
>> >>> A262 D5C4 40CB 0E1C 5F24 C3A1 ABED 1ABD 7131 A76F
>> >>> http://ianmcorvidae.net/
>> >>>
>> >>> _______________________________________________
>> >>> MusicBrainz-devel mailing list
>> >>> [hidden email]
>> >>> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>> >>
>> >>
>> >
>> >
>> > _______________________________________________
>> > MusicBrainz-devel mailing list
>> > [hidden email]
>> > http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>>
>> _______________________________________________
>> MusicBrainz-devel mailing list
>> [hidden email]
>> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>
>
>
> _______________________________________________
> MusicBrainz-devel mailing list
> [hidden email]
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel

_______________________________________________
MusicBrainz-devel mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query for PUIDs, suggestions?

Nick Hughes
Thanks.  I will try this out. 


On Thu, Apr 25, 2013 at 3:34 AM, Lukáš Lalinský <[hidden email]> wrote:
The easiest way is probably to use the pyacoustid module -
https://github.com/sampsyo/pyacoustid

Lukas

On Thu, Apr 25, 2013 at 5:18 AM, Nick Hughes <[hidden email]> wrote:
> I would like to:
>
>  o Sample .wav file and determine audio finger print
>  o Use either this finger print alone, or with Artist and Track name, to get
> Album details from database
>
> Thanks
>
> On Mon, Apr 8, 2013 at 2:58 AM, Lukáš Lalinský <[hidden email]> wrote:
>>
>> I'm not sure what information are you trying to get. AcoustIDs for all
>> tracks on an album, or AcoustIDs matching some audio files?
>>
>> Lukas
>>
>> On Mon, Apr 8, 2013 at 2:48 AM, Nick Hughes <[hidden email]> wrote:
>> > I just read that PUID is going away, to be replaced with AcoustID.  Can
>> > anyone tried Chromaprint and used Python interface to get track's AID?
>> >
>> > Thanks
>> >
>> >
>> > On Mon, Mar 25, 2013 at 11:57 AM, Nick Hughes <[hidden email]>
>> > wrote:
>> >>
>> >>
>> >> Hi Folks, changing the subject to reflect the question.
>> >>
>> >> ---------- Forwarded message ----------
>> >> From: Nick Hughes <[hidden email]>
>> >> Date: Sat, Feb 2, 2013 at 1:30 PM
>> >> Subject: Re: [mb-devel] State of interface?
>> >> To: MusicBrainz Developer Discussion
>> >> <[hidden email]>
>> >>
>> >>
>> >> Thanks.  I reviewed this, however was a bit confused perhaps due to
>> >> lack
>> >> of examples.  Do you know if there is a mailing list?  Didn't see one
>> >> on
>> >> that page.
>> >>
>> >> I am essentially trying to get the CD ISRC and CD ID from some similar
>> >> code as this....
>> >>
>> >> q = ws.Query()
>> >> filter = ws.ReleaseFilter(artistName="The Beatles",title="Abbey
>> >> Road",limit=20)
>> >> releases = q.getReleases(filter=filter)
>> >> for r in releases:
>> >>         print r.getRelease().getArtist()
>> >>         print r.getRelease().getTypes()
>> >>         print r.getRelease().getTitle()
>> >>         print r.getRelease().getTracks()
>> >>         print r.getRelease().getTracksCount()
>> >>         print r.getRelease().getDiscs()
>> >>
>> >>
>> >>         for t in r.getRelease().getTracks():
>> >>                 print t.getTitle()
>> >>                 print t.getISRC()
>> >>
>> >>         for d in r.getRelease().getDiscs():
>> >>                 print d.getId()
>> >>                 print d.getTracks()
>> >>
>> >> Thanks
>> >>
>> >>
>> >> On Sat, Feb 2, 2013 at 1:20 PM, Ian McEwen
>> >> <[hidden email]>
>> >> wrote:
>> >>>
>> >>> https://github.com/alastair/python-musicbrainz-ngs is the recommended
>> >>> successor for python-musicbrainz2; it's fairly complete and should be
>> >>> able
>> >>> to fill your needs.
>> >>>
>> >>> On Sat, Feb 02, 2013 at 01:09:53PM -0500, Nick Hughes wrote:
>> >>> > Hi Folks,
>> >>> >
>> >>> > I recently used musicbrainz2 interface to lookup CD ID and Track
>> >>> > ISRC #
>> >>> > information based upon Artist/Album name.  Unfortunately, when
>> >>> > receiving
>> >>> > back the list of tracks it returned null, which I then realized
>> >>> > musicbrainz2 is deprecated.
>> >>> >
>> >>> > Can anyone comment on the state of musicbrainz3 interface?  Is it
>> >>> > possible
>> >>> > to get similar information as above yet?
>> >>> >
>> >>> > Thanks so much,
>> >>> > Nick
>> >>>
>> >>> > _______________________________________________
>> >>> > MusicBrainz-devel mailing list
>> >>> > [hidden email]
>> >>> > http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>> >>>
>> >>>
>> >>> --
>> >>> Ian McEwen <[hidden email]> <[hidden email]>
>> >>> A262 D5C4 40CB 0E1C 5F24 C3A1 ABED 1ABD 7131 A76F
>> >>> http://ianmcorvidae.net/
>> >>>
>> >>> _______________________________________________
>> >>> MusicBrainz-devel mailing list
>> >>> [hidden email]
>> >>> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>> >>
>> >>
>> >
>> >
>> > _______________________________________________
>> > MusicBrainz-devel mailing list
>> > [hidden email]
>> > http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>>
>> _______________________________________________
>> MusicBrainz-devel mailing list
>> [hidden email]
>> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>
>
>
> _______________________________________________
> MusicBrainz-devel mailing list
> [hidden email]
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel

_______________________________________________
MusicBrainz-devel mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel


_______________________________________________
MusicBrainz-devel mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel