Re: automatically adding artists' subscriptions via python-musicbrainz2 or musicbrainzngs

Alastair Porter <[email protected]> Thu, 19 Mar 2015 15:35:17 +0100
Newsgroups gmane.comp.audio.musicbrainz.devel
Message-ID <CAMB=jE-w5rTo1sy3KdyTyht2pPf8ae-p8RGbrBSnyU4JOX0_TA@mail.gmail.com>
Hi Max,

You're right, the API doesn't support subscribing to entities, so we don't
expose that in musicbrainzngs.

Subscribing is just a matter of visiting a specific url:
https://musicbrainz.org/account/subscriptions/artist/add?id=859749
while you are logged in. If you're comfortable with python-requests or
scrapy you could do this yourself.

Unfortunately the biggest problem is that these urls take row ids instead
of musicbrainz ids. We spoke about it a bit (
http://chatlogs.musicbrainz.org/musicbrainz-devel/2015/2015-03/2015-03-19.html#T14-20-26-909477)
and the easiest way is probably to load the artist page, find the subscribe
link, and click on it automatically.
Meanwhile, we've filed some issues (
http://tickets.musicbrainz.org/browse/MBS-8305) to make this easier in the
future.

Alastair

On Thu, Mar 19, 2015 at 3:00 PM, Maximilian Bräutigam <[email protected]> wrote:

> Dear all,
>
> I generated a huge list (python pickled) of artists' IDs to which I want
> to subscribe. Unfortunately, I cannot find the entry to do this.
> Obviously, with python-musicbrainzngs I can add them to my collection,
> but I want to subscribe to them.
>
> Any comments, tips, and remarks are highly appreciated.
>
> Best wishes,
> Max
>
> _______________________________________________
> MusicBrainz-devel mailing list
> [email protected]
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>

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