{"action":"created","issue":{"url":"https://api.github.com/repos/beetbox/beets/issues/1881","repository_url":"https://api.github.com/repos/beetbox/beets","labels_url":"https://api.github.com/repos/beetbox/beets/issues/1881/labels{/name}","comments_url":"https://api.github.com/repos/beetbox/beets/issues/1881/comments","events_url":"https://api.github.com/repos/beetbox/beets/issues/1881/events","html_url":"https://github.com/beetbox/beets/issues/1881","id":133381530,"number":1881,"title":"Set field values on the import command line","user":{"login":"t-8ch","id":717901,"avatar_url":"https://avatars.githubusercontent.com/u/717901?v=3","gravatar_id":"","url":"https://api.github.com/users/t-8ch","html_url":"https://github.com/t-8ch","followers_url":"https://api.github.com/users/t-8ch/followers","following_url":"https://api.github.com/users/t-8ch/following{/other_user}","gists_url":"https://api.github.com/users/t-8ch/gists{/gist_id}","starred_url":"https://api.github.com/users/t-8ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-8ch/subscriptions","organizations_url":"https://api.github.com/users/t-8ch/orgs","repos_url":"https://api.github.com/users/t-8ch/repos","events_url":"https://api.github.com/users/t-8ch/events{/privacy}","received_events_url":"https://api.github.com/users/t-8ch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beetbox/beets/labels/feature","name":"feature","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-13T01:11:11Z","updated_at":"2016-05-08T17:56:43Z","closed_at":null,"body":"Usage: `beet import --explicit-field context=party --explicit-field category=disco some_folder`\r\n\r\nI have different categories of music which I don't want to mix. For this is would be useful to be able to specify explicit metadata on import."},"comment":{"url":"https://api.github.com/repos/beetbox/beets/issues/comments/217736353","html_url":"https://github.com/beetbox/beets/issues/1881#issuecomment-217736353","issue_url":"https://api.github.com/repos/beetbox/beets/issues/1881","id":217736353,"user":{"login":"sampsyo","id":188033,"avatar_url":"https://avatars.githubusercontent.com/u/188033?v=3","gravatar_id":"","url":"https://api.github.com/users/sampsyo","html_url":"https://github.com/sampsyo","followers_url":"https://api.github.com/users/sampsyo/followers","following_url":"https://api.github.com/users/sampsyo/following{/other_user}","gists_url":"https://api.github.com/users/sampsyo/gists{/gist_id}","starred_url":"https://api.github.com/users/sampsyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampsyo/subscriptions","organizations_url":"https://api.github.com/users/sampsyo/orgs","repos_url":"https://api.github.com/users/sampsyo/repos","events_url":"https://api.github.com/users/sampsyo/events{/privacy}","received_events_url":"https://api.github.com/users/sampsyo/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T17:56:43Z","updated_at":"2016-05-08T17:56:43Z","body":"Awesome! I'm glad you're interested in helping.\r\n\r\nThe right place to start is with the configuration handling in `importer.py`. You'll probably want to get familiar with the codebase in general first, for which the best place to start is probably the \"Hacking\" page in the wiki. Can you take a look at that and browse through the `importer` module first? Then come back and ask questions about how things work in general.\r\n\r\nEventually, the feature should probably work via a configuration option that adds the attribute in the importer stage that applies the metadata from a match."}}