Skip to content

Commit 795b7de

Browse files
committed
Add ratings/user-ratings includes to release get and browse
Fixes #254 Signed-off-by: Alastair Porter <[email protected]>
1 parent 1638c62 commit 795b7de

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

musicbrainzngs/musicbrainz.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"discids", "media",
5151
"aliases", "annotation"
5252
] + RELATION_INCLUDES + TAG_INCLUDES + RATING_INCLUDES,
53-
'place' : ["aliases", "annotation"] + RELATION_INCLUDES + TAG_INCLUDES,
54-
'event' : ["aliases"] + RELATION_INCLUDES + TAG_INCLUDES + RATING_INCLUDES,
53+
'place': ["aliases", "annotation"] + RELATION_INCLUDES + TAG_INCLUDES,
54+
'event': ["aliases"] + TAG_INCLUDES + RATING_INCLUDES + RELATION_INCLUDES,
5555
'recording': [
5656
"artists", "releases", # Subqueries
5757
"discids", "media", "artist-credits", "isrcs",
@@ -61,7 +61,7 @@
6161
"artists", "labels", "recordings", "release-groups", "media",
6262
"artist-credits", "discids", "isrcs",
6363
"recording-level-rels", "work-level-rels", "annotation", "aliases"
64-
] + TAG_INCLUDES + RELATION_INCLUDES,
64+
] + TAG_INCLUDES + RATING_INCLUDES + RELATION_INCLUDES,
6565
'release-group': [
6666
"artists", "releases", "discids", "media",
6767
"artist-credits", "annotation", "aliases"
@@ -73,11 +73,11 @@
7373
"aliases", "annotation"
7474
] + TAG_INCLUDES + RATING_INCLUDES + RELATION_INCLUDES,
7575
'url': RELATION_INCLUDES,
76-
'discid': [ # Discid should be the same as release
76+
'discid': [ # Discid should be the same as release, no ratings
7777
"artists", "labels", "recordings", "release-groups", "media",
7878
"artist-credits", "discids", "isrcs",
7979
"recording-level-rels", "work-level-rels", "annotation", "aliases"
80-
] + RELATION_INCLUDES,
80+
] + TAG_INCLUDES + RELATION_INCLUDES,
8181
'isrc': ["artists", "releases", "isrcs"],
8282
'iswc': ["artists"],
8383
'collection': ['releases'],
@@ -88,7 +88,7 @@
8888
'label': ["aliases"] + TAG_INCLUDES + RATING_INCLUDES + RELATION_INCLUDES,
8989
'recording': ["artist-credits", "isrcs", "work-level-rels"] + TAG_INCLUDES + RATING_INCLUDES + RELATION_INCLUDES,
9090
'release': ["artist-credits", "labels", "recordings", "isrcs",
91-
"release-groups", "media", "discids"] + RELATION_INCLUDES,
91+
"release-groups", "media", "discids"] + RATING_INCLUDES + RELATION_INCLUDES,
9292
'place': ["aliases"] + TAG_INCLUDES + RELATION_INCLUDES,
9393
'release-group': ["artist-credits"] + TAG_INCLUDES + RATING_INCLUDES + RELATION_INCLUDES,
9494
'url': RELATION_INCLUDES,

0 commit comments

Comments
 (0)