Re: Possible Future Extensions

Ian McEwen <[email protected]> Thu, 7 May 2015 00:48:29 -0700
Newsgroups gmane.comp.audio.musicbrainz.devel
Message-ID <[email protected]>
--===============0380115178==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="fU0UwhtRbpo05rnG"
Content-Disposition: inline


--fU0UwhtRbpo05rnG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, May 07, 2015 at 07:05:35AM +0100, Tom Crocker wrote:
> Hi Andre
> On 6 May 2015 13:37, "Andre Wiethoff" <[email protected]> wrote:
> >
> > Hello Tom,
> >
> > thanks for the links! (I didn't think of looking at the wiki...)
>
> The pages on the main site often come from the wiki but a "transclusion
> editor" needs to update which version appears.
>
> > I am rather new to the Musicbrainz database structure, so I am thankful
> for any insights.
> >
> > It seems that the rating tables are already as needed. There seem to be a
> small discrepancy between the two pages you mentioned though.
> > One tells the rating is between 1-5, the other between 0-100 (I assume
> 0-100 will be used internally?)
>
> I think I remember reading that they are 0-100 everywhere. I'm sure someone
> who knows will say.
> I don't know about the rest so I'll leave it for others to answer.
>

They're 0-100 in the database, but some ways of looking at the data do
still return 1-5 values, somewhat confusingly. The /ws/1/rating
endpoints seem to do 1-5, where the /ws/2/rating ones do 0-100 (which is
perhaps reasonable, since that was a major upgrade). However, adding
?inc=user-ratings in the WS also returns 1-5, and the site interface
only allows setting multiples of 20 (i.e. 1-5 stars), though it'll still
display the other values.

So in principle they're 0-100 everywhere, but in practice there's places
that are basically only 1-5 stars. YMMV, etc.

We discussed some of the particularities and peculiarities of this in a
thread starting at
http://lists.musicbrainz.org/pipermail/musicbrainz-devel/2015-February/005933.html
(though the start of the thread was for another issue)

> P.S. Thanks for EAC :)

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


--fU0UwhtRbpo05rnG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlVLGMsACgkQq+0avXExp290bgCgrofLhzH1B3agKqefXLx9tuVF
nisAoK+YW6UWzpWwvSwEqryLwOVrwjVZ
=XrLp
-----END PGP SIGNATURE-----

--fU0UwhtRbpo05rnG--


--===============0380115178==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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