-
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: refactor plugin #2251
Commits on Nov 20, 2016
-
acousticbrainz: Initial cleanup
nath@home committedNov 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 1963b52 - Browse repository at this point
Copy the full SHA 1963b52View commit details -
acousticbrainz: Refactor the json handling part
nath@home committedNov 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 7a67640 - Browse repository at this point
Copy the full SHA 7a67640View commit details -
acousticbrainz: remove redundant comments
nathdwek@laptop committedNov 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 3979619 - Browse repository at this point
Copy the full SHA 3979619View commit details -
acousticbrainz: log fetched attributes and values as info
nathdwek@laptop committedNov 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 324c671 - Browse repository at this point
Copy the full SHA 324c671View commit details -
acousticbrainz: rewrite _map_dict_to_scheme:
* Less lazy names * Separate root function from childs more naturally * Actually use defaultdict
nathdwek@laptop committedNov 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 1d972b9 - Browse repository at this point
Copy the full SHA 1d972b9View commit details -
acousticbrainz: Add unit tests
nath@home committedNov 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 4586e2d - Browse repository at this point
Copy the full SHA 4586e2dView commit details -
acousticbrainz: Test _map_data_to_scheme with real data
nathdwek@laptop committedNov 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 5124324 - Browse repository at this point
Copy the full SHA 5124324View commit details -
acousticbrainz: drop DefaultList, be explicitly careful
* I don't see DefaultList be really helpful in many other cases, so having a beets.util.collections module (which could also conflict with the collections module from standard library) with only that in it is a little silly. * It was elegant and concise, but there are implementation issues: it is not recommended to subclass builtin types, but the alternatives differ between python 2 and 3 (subclass sequence or container or collections.abc?), moreover, interpreters can differ in the way they map syntaxic sugar to magic functions. * Also, slicing and negative indexing could do weird things, so the class wouldn't be really intuitive and simple at the same time
nathdwek@laptop committedNov 20, 2016 Configuration menu - View commit details
-
Copy full SHA for eb1ea61 - Browse repository at this point
Copy the full SHA eb1ea61View commit details -
acousticbrainz: latest adjustments
* Readability and consistency * Better logging: warn by default for attributes that were not found, but don't drown user with info when everything is going well.
nath@home committedNov 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 147ced9 - Browse repository at this point
Copy the full SHA 147ced9View commit details