-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AcousticBrainz Plugin #1784
AcousticBrainz Plugin #1784
Conversation
…atus code to console.
super(AcousticPlugin, self).__init__() | ||
|
||
def commands(self): | ||
cmd = ui.Subcommand('acoustic', help=PLUGIN_DESCRIPTION) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The usual way to format long lines like this is to wrap inside the parentheses. For example:
cmd = ui.Subcommand('acoustic',
help='...')
or:
cmd = ui.Subcommand(
'acoustic',
help='...',
)
rather than using a constant.
if item.mb_trackid: | ||
rs = requests.get(generate_url(item.mb_trackid)).json() | ||
|
||
item.abrainz_dance = get_value(rs, ["highlevel", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the plain names from AB? For example, just danceable
instead of abrainz_dance
. The prefix probably doesn't matter, but it would be nice to match the terminology from AB.
This is awesome. ✨ Nice work—this is very close to ready to merge. Two outstanding issues:
|
I would personally prefer AcousticBrainz as a beets user and as a MetaBrainz spokesperson. We may do other A*Brainz projects in the future, and "acousticbrainz" also directly reflects that it's to do with AcousticBrainz, instead of having to wonder what service "ABrainz" is. |
@@ -0,0 +1,85 @@ | |||
# -*- coding: utf-8 -*- | |||
# This file is part of beets. | |||
# Copyright 2016, Ohm Patel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What timezone are you in again? 😆 Unless you're in Japan or Eastern Australasia, I would assume that judging by the earliest commit here, it should at least be 2015-2016. :)
Yeah, I can get behind |
No description provided.