{"action":"created","issue":{"url":"https://api.github.com/repos/beetbox/beets/issues/2155","repository_url":"https://api.github.com/repos/beetbox/beets","labels_url":"https://api.github.com/repos/beetbox/beets/issues/2155/labels{/name}","comments_url":"https://api.github.com/repos/beetbox/beets/issues/2155/comments","events_url":"https://api.github.com/repos/beetbox/beets/issues/2155/events","html_url":"https://github.com/beetbox/beets/issues/2155","id":169778011,"number":2155,"title":"Weirdness with albumartist and ls -a","user":{"login":"tweitzel","id":1471377,"avatar_url":"https://avatars.githubusercontent.com/u/1471377?v=3","gravatar_id":"","url":"https://api.github.com/users/tweitzel","html_url":"https://github.com/tweitzel","followers_url":"https://api.github.com/users/tweitzel/followers","following_url":"https://api.github.com/users/tweitzel/following{/other_user}","gists_url":"https://api.github.com/users/tweitzel/gists{/gist_id}","starred_url":"https://api.github.com/users/tweitzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tweitzel/subscriptions","organizations_url":"https://api.github.com/users/tweitzel/orgs","repos_url":"https://api.github.com/users/tweitzel/repos","events_url":"https://api.github.com/users/tweitzel/events{/privacy}","received_events_url":"https://api.github.com/users/tweitzel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beetbox/beets/labels/needinfo","name":"needinfo","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-07T03:34:42Z","updated_at":"2016-08-08T19:45:27Z","closed_at":null,"body":"### Problem\r\n\r\nBeet import, on at least a couple of albums (https://musicbrainz.org/release/43c08b18-4f38-3953-9605-cde95836ef93 is where I first noticed), is populating albumartist_sort and albumartist_credit, but not albumartist. As a result, that field is not seen by beet ls -a. \r\n\r\nRunning this command in verbose (`-vv`) mode:\r\n\r\n```sh\r\n$ beet -vv info id:23155\r\n```\r\n\r\nLed to this problem:\r\n\r\n```\r\nuser configuration: /Users/xarph/.config/beets/config.yaml\r\ndata directory: /Users/xarph/.config/beets\r\nplugin paths: /Users/xarph/work/whatlastgenre/plugin/beets/beetsplug\r\nSending event: pluginload\r\ninline: adding item field disc_and_track\r\nlibrary database: /Users/xarph/Music/beetslibrary.blb\r\nlibrary directory: /Users/xarph/Music/beets\r\nSending event: library_opened\r\n/Users/xarph/Music/beets/Depeche Mode/The Singles 81_85/16 Photographic (Some Bizzare version).mp3\r\nacoustid_fingerprint: AQADtMkkKUmUJFIkHDAOADAAHzhxADBwAAZOHIB1HDCgG8dJnNiyHDmeC8dNIUWNH6qYrrguMA9cRYlhlbhD4RHhZzH6ENVhlcGVDEWN57gH9_jxhHgNtYKPR8oQnrgqo0f6oN0hhYeH8ET3wD947XgZ4A9SJ1vxCP2FsoLKlbCDSEqzIJfo4Ud9TGmSCTryLSYKX2MGxg4uE_vR7AhfXCf6BU1aHs-Pn3iQUx9RncarHz-KHv_hozyOVzKqUJsjRIvYSUjoagZz_Og3wffQox6auMGJE2eITityZR70LMfDI9cE6ziHsH-wQ73QQwsZHTl2CZV5UBaFG9uPkzkuGumRTNWIl-FxKUh-5Ml-VBWakcGVzEL54DiccDqmT8GfIUtG7oJWXUIkXolwkSweHBV1CUeHXsOPXcctHN12XOnx7LiE5DTyLMWD68J5OJUuMB_6TCuOjcuOy3imwztCK9ugG9WF5zK69EFiKVk23EfRTCLOeRNK-cELO8SHPj3WSgjdRDEkbUkehFNkLVh__J3QSEPZh_iGvnHgn6iM4zvGC49ihDf88MjDw8YzHM-Q7_B36EeOM_B18L7w4D4cHZO37Uhe5BV-XPiF8kS6aAqJ5Ie7_OiPujmaNcrx6MF1VLyMH2GciNgdLlDFRKKGsD-akUGfE0x6vMkXNKhOfMcDnAi54PSgEyrhRwd5qFSiY0d-_PCWon9xbqj-wmKDPke-J1B_Iz9OySnaRUfaB9qRF89xMQ_W67iOSuSRNYdmcYiPfqnwG-uoHEd-Qk-24UxURNO-gi-uHRtHlPxxz8HhOseT4AqQR8ozaKlaIWR29Dn8GM_hG300PHlCnEesHMmZ4w8ap0eoQ35wvsgfnEZIR4ZYEuF7HHd-YUz0gZ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JIRwhAAAhTDEAC-QQVYQAAgAAjhHiQEeC4WAAIQRYBAjwjjhBAQQQAscSQQoBxCAAAlgCBZEAKegQsIoLhQwCgGAEGEQAWMgY0pAAoQgCiElHHJCCAEMkwIjQoATiACBADMEUUCUEMgYpoRVCBhBAEIEEUSAMgQR4YQyjCGBjRCICgAQEAQYw5gAwDhFHAOMISAYAsABChRQhjnCCGMWAYGYMEQBAxhSzABECCDMAsasMEYBoYQBQgIiKAFAMGEAEkAoISxDwDjJhCKQKSAgAQIoQIARghgAFJAA\r\n         acoustid_id: 31fbfcd4-7127-48e3-9e04-7b235c6f678f\r\n               album: The Singles 81>85\r\n  albumartist_credit: Depeche Mode\r\n    albumartist_sort: Depeche Mode\r\n         albumstatus: Official\r\n           albumtype: compilation\r\n                 art: True\r\n              artist: Depeche Mode\r\n       artist_credit: Depeche Mode\r\n                asin: B00000HY5N\r\n            bitdepth: 0\r\n             bitrate: 246741\r\n                 bpm: 0\r\n          catalognum: 9 47298-2\r\n            channels: 2\r\n                comp: False\r\n             country: US\r\n                date: 1985-10-15\r\n                 day: 15\r\n                disc: 1\r\n           disctotal: 1\r\n              format: MP3\r\n               genre: Synthpop, Electronic Rock, Electronic\r\n              genres: Synthpop, Electronic Rock, Electronic\r\n         initial_key: Gm\r\n               label: Mute\r\n            language: eng\r\n              length: 193.666666667\r\n              lyrics:\r\n          mb_albumid: 43c08b18-4f38-3953-9605-cde95836ef93\r\n         mb_artistid: 8538e728-ca0b-4321-b7e5-cff6565dd4c0\r\n   mb_releasegroupid: eadcd3aa-84fb-3931-88ba-a8489f4894f1\r\n          mb_trackid: d2fff167-6e48-4966-9091-8bd7b002dbdc\r\n               media: CD\r\n               month: 10\r\n       original_date: 1985-01-01\r\n       original_year: 1985\r\n       rg_album_gain: -9.41\r\n       rg_album_peak: 1.478232\r\n       rg_track_gain: -8.24\r\n       rg_track_peak: 1.167808\r\n          samplerate: 44100\r\n              script: Latn\r\n               title: Photographic (Some Bizzare version)\r\n               track: 16\r\n          tracktotal: 17\r\n                year: 1985\r\nSending event: cli_exit\r\n```\r\n\r\n### Setup\r\n\r\n* OS: OS X 10.11.6 (15G31)\r\n* Python version: 2.7.11\r\n* beets version: 1.3.18\r\n* Turning off plugins made problem go away (yes/no): no\r\n\r\nMy configuration (output of `beet config`) is:\r\n\r\n```yaml\r\nplugins: acousticbrainz, badfiles, chroma, duplicates, embedart, fetchart, fromfilename, ftintitle, info, inline, lastgenre, mbsubmit, mbsync, play, random, replaygain, scrub, web\r\nlemon:cd xarph$ beet config\r\nplay:\r\n    command: /usr/local/bin/mpv $args --display-tags='Artist,Album,Album_Artist,Genre,Title,Track,disc,date,icy-title,service_name' --vo null --no-audio-display --af=volume=replaygain-album --playlist\r\n    warning_threshold: -2\r\n    use_folders: no\r\n    warning_treshold: 100\r\n    raw: no\r\n    relative_to:\r\nscrub:\r\n    auto: no\r\npluginpath: ~/work/whatlastgenre/plugin/beets/beetsplug\r\nasciify_paths: yes\r\nfetchart:\r\n    auto: yes\r\n    minwidth: 300\r\n    enforce_ratio: yes\r\n    sources: coverart itunes amazon albumart\r\n    google_engine: 001442825323518660753:hrh5ch1gjzm\r\n    cautious: no\r\n    maxwidth: 0\r\n    store_source: no\r\n    google_key: REDACTED\r\n    fanarttv_key: REDACTED\r\n    cover_names:\r\n    - cover\r\n    - front\r\n    - art\r\n    - album\r\n    - folder\r\nlibrary: /Users/xarph/Music/beetslibrary.blb\r\noriginal_date: yes\r\n\r\nclutter: .DS_Store desktop.ini\r\nimportfeeds:\r\n    formats: m3u_multi link\r\n    dir: /Users/xarph/Music/beetsplaylist\r\n    absolute_path: yes\r\nbadfiles:\r\n    commands: {}\r\n\r\nplugins: lastgenre chroma replaygain ftintitle info duplicates web fromfilename scrub badfiles play random fetchart embedart acousticbrainz mbsync mbsubmit inline\r\n\r\npaths:\r\n    default: $albumartist/$album%aunique{}/$disc_and_track $title\r\n    comp: Compilations/$album%aunique{}/$disc_and_track $artist - $title\r\n    singleton: $artist/Unknown Album/$title\r\n\r\nformat_item: '$id: $artist - $album%aunique{} - $disc_and_track - $title ($year)'\r\nitem_fields:\r\n    disc_and_track: u'%02i-%02i' % (disc, track) if disctotal > 1 else u'%02i' % (track)\r\nper_disc_numbering: yes\r\nid3v23: yes\r\nlanguages: en\r\nlastgenre:\r\n    fallback: Unfiled\r\n    canonical: ''\r\n    whitelist: /Users/xarph/.config/beets/genres.txt\r\n    source: track\r\n    force: no\r\n    count: 3\r\n    min_weight: 10\r\n    auto: yes\r\n    separator: ', '\r\ndirectory: /Users/xarph/Music/beets\r\n\r\nimport:\r\n    move: no\r\n    copy: yes\r\n    write: yes\r\n    log: /Users/xarph/Music/beetslog.txt\r\n\r\nmatch:\r\n    preferred:\r\n        countries: [US, GB|UK]\r\n        media: [CD, Digital Media|File]\r\n        original_year: yes\r\nwlg:\r\n    auto: yes\r\nchroma:\r\n    auto: yes\r\nembedart:\r\n    compare_threshold: 0\r\n    auto: yes\r\n    ifempty: no\r\n    remove_art_file: no\r\n    maxwidth: 0\r\nmbsubmit:\r\n    threshold: medium\r\n    format: $track. $title - $artist ($length)\r\npathfields: {}\r\nalbum_fields: {}\r\nftintitle:\r\n    auto: yes\r\n    drop: no\r\n    format: feat. {0}\r\nreplaygain:\r\n    targetlevel: 89\r\n    auto: yes\r\n    overwrite: no\r\n    backend: command\r\n    command: ''\r\n    noclip: yes\r\nduplicates:\r\n    count: no\r\n    full: no\r\n    format: ''\r\n    keys: []\r\n    move: ''\r\n    tag: ''\r\n    path: no\r\n    copy: ''\r\n    tiebreak: {}\r\n    album: no\r\n    strict: no\r\n    checksum: ''\r\n    merge: no\r\n    delete: no\r\nweb:\r\n    host: 127.0.0.1\r\n    port: 8337\r\n    cors: ''\r\nacousticbrainz:\r\n    auto: yes\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/beetbox/beets/issues/comments/238353377","html_url":"https://github.com/beetbox/beets/issues/2155#issuecomment-238353377","issue_url":"https://api.github.com/repos/beetbox/beets/issues/2155","id":238353377,"user":{"login":"tweitzel","id":1471377,"avatar_url":"https://avatars.githubusercontent.com/u/1471377?v=3","gravatar_id":"","url":"https://api.github.com/users/tweitzel","html_url":"https://github.com/tweitzel","followers_url":"https://api.github.com/users/tweitzel/followers","following_url":"https://api.github.com/users/tweitzel/following{/other_user}","gists_url":"https://api.github.com/users/tweitzel/gists{/gist_id}","starred_url":"https://api.github.com/users/tweitzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tweitzel/subscriptions","organizations_url":"https://api.github.com/users/tweitzel/orgs","repos_url":"https://api.github.com/users/tweitzel/repos","events_url":"https://api.github.com/users/tweitzel/events{/privacy}","received_events_url":"https://api.github.com/users/tweitzel/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T19:45:27Z","updated_at":"2016-08-08T19:45:27Z","body":"This snippet is unrelated but worth looking at by the unicode party team\r\n```fetchart: image size: (504, 500)\r\nfetchart: image is not square (504 != 500)\r\nfetchart: downloading image: http://coverartarchive.org/release-group/5d8c9a9a-c60b-33a7-a7cf-286ddb51c86c/front\r\nfetchart: downloaded art to: /var/folders/8g/7p_5t96552722whrf_bc5nq00000gn/T/tmpPWocBV.jpg\r\nfetchart: image size: (504, 500)\r\nfetchart: image is not square (504 != 500)\r\nfetchart: trying source itunes for album Depeche Mode - The Singles 86>98\r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py\", line 853, in emit\r\n    msg = self.format(record)\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py\", line 726, in format\r\n    return fmt.format(record)\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py\", line 465, in format\r\n    record.message = record.getMessage()\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py\", line 325, in getMessage\r\n    msg = str(self.msg)\r\n  File \"/usr/local/lib/python2.7/site-packages/beets/logging.py\", line 85, in __str__\r\n    return self.msg.format(*args, **kwargs)\r\nValueError: Unknown format code 'r' for object of type 'unicode'\r\nLogged from file fetchart.py, line 440```"}}
{"actor":{"display_login":"tweitzel"}}