{"action":"closed","issue":{"url":"https://api.github.com/repos/sampsyo/beets/issues/1279","labels_url":"https://api.github.com/repos/sampsyo/beets/issues/1279/labels{/name}","comments_url":"https://api.github.com/repos/sampsyo/beets/issues/1279/comments","events_url":"https://api.github.com/repos/sampsyo/beets/issues/1279/events","html_url":"https://github.com/sampsyo/beets/issues/1279","id":55862942,"number":1279,"title":"Bad genres field can break the writing of genre/genres tags","user":{"login":"randybias","id":25304,"avatar_url":"https://avatars.githubusercontent.com/u/25304?v=3","gravatar_id":"","url":"https://api.github.com/users/randybias","html_url":"https://github.com/randybias","followers_url":"https://api.github.com/users/randybias/followers","following_url":"https://api.github.com/users/randybias/following{/other_user}","gists_url":"https://api.github.com/users/randybias/gists{/gist_id}","starred_url":"https://api.github.com/users/randybias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randybias/subscriptions","organizations_url":"https://api.github.com/users/randybias/orgs","repos_url":"https://api.github.com/users/randybias/repos","events_url":"https://api.github.com/users/randybias/events{/privacy}","received_events_url":"https://api.github.com/users/randybias/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sampsyo/beets/labels/needinfo","name":"needinfo","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-29T06:42:45Z","updated_at":"2015-01-31T22:15:54Z","closed_at":"2015-01-31T22:15:54Z","body":"Steps to reproduce:\r\n\r\n[recommend starting with an empty database and single file to import; you will need the 'info' plugin]\r\n\r\n1. beet import\r\n2. beet modify genres=Electronica\r\n3. beet info | grep genre\r\n  * You will see something like:\r\n\r\n>              genre: E\r\n>              genres: E; l; e; c; t; r; o; n; i; c; a\r\n\r\n4. beet modify genre=\"Foo\"\r\n5. beet info | grep genre\r\n\r\nAt this point modifying either genre or genres will not work for these files.  The SQLite database will have the correct information, but \"beet write\" will always fail to write out the tag."}}