{"action":"created","issue":{"url":"https://api.github.com/repos/beetbox/beets/issues/2812","repository_url":"https://api.github.com/repos/beetbox/beets","labels_url":"https://api.github.com/repos/beetbox/beets/issues/2812/labels{/name}","comments_url":"https://api.github.com/repos/beetbox/beets/issues/2812/comments","events_url":"https://api.github.com/repos/beetbox/beets/issues/2812/events","html_url":"https://github.com/beetbox/beets/issues/2812","id":297891572,"number":2812,"title":"Beets incorrectly renames and tags files","user":{"login":"gammelon","id":1724044,"avatar_url":"https://avatars0.githubusercontent.com/u/1724044?v=4","gravatar_id":"","url":"https://api.github.com/users/gammelon","html_url":"https://github.com/gammelon","followers_url":"https://api.github.com/users/gammelon/followers","following_url":"https://api.github.com/users/gammelon/following{/other_user}","gists_url":"https://api.github.com/users/gammelon/gists{/gist_id}","starred_url":"https://api.github.com/users/gammelon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gammelon/subscriptions","organizations_url":"https://api.github.com/users/gammelon/orgs","repos_url":"https://api.github.com/users/gammelon/repos","events_url":"https://api.github.com/users/gammelon/events{/privacy}","received_events_url":"https://api.github.com/users/gammelon/received_events","type":"User","site_admin":false},"labels":[{"id":29900975,"url":"https://api.github.com/repos/beetbox/beets/labels/needinfo","name":"needinfo","color":"e102d8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-16T19:17:19Z","updated_at":"2018-02-16T23:32:29Z","closed_at":null,"author_association":"NONE","body":"### Problem\r\n\r\nWhen moving files into my library folder beets applies a strange mapping to some characters (file/foldernames):\r\n- ? -> _\r\n- : -> _\r\n- \\- -> ☐ OR _\r\n- . -> _ (only if . is the last character excluding potential file extensions)\r\nI am not 100% sure about the last one though...\r\n\r\nThis is not limited to specific files or albums afaik.\r\nThe tags become corrupted too, but differently.\r\nExample:\r\n\"blink-182\"\r\nfoldername: \"blink☐182\"\r\nartist-tag: \"blink?182\"\r\n\r\nEDIT:\r\nI just noticed that the tags are really messed up. All kinds of special characters (e.g. german, spanish) are missing.\r\nI assume the problem does not occur because of the musicbrainz database being wrong, since filename and tags do not exhibit the same errors. Is this a sane assumption?\r\n\r\n### Setup\r\n\r\n* OS: Debian\r\n* Python version: 3.5.3\r\n* beets version: 1.4.6\r\n* plugins: copyartifacts, duplicates, fromfilename, mbsync, replaygain, rewrite\r\n"},"comment":{"url":"https://api.github.com/repos/beetbox/beets/issues/comments/366388860","html_url":"https://github.com/beetbox/beets/issues/2812#issuecomment-366388860","issue_url":"https://api.github.com/repos/beetbox/beets/issues/2812","id":366388860,"user":{"login":"gammelon","id":1724044,"avatar_url":"https://avatars0.githubusercontent.com/u/1724044?v=4","gravatar_id":"","url":"https://api.github.com/users/gammelon","html_url":"https://github.com/gammelon","followers_url":"https://api.github.com/users/gammelon/followers","following_url":"https://api.github.com/users/gammelon/following{/other_user}","gists_url":"https://api.github.com/users/gammelon/gists{/gist_id}","starred_url":"https://api.github.com/users/gammelon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gammelon/subscriptions","organizations_url":"https://api.github.com/users/gammelon/orgs","repos_url":"https://api.github.com/users/gammelon/repos","events_url":"https://api.github.com/users/gammelon/events{/privacy}","received_events_url":"https://api.github.com/users/gammelon/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T23:32:29Z","updated_at":"2018-02-16T23:32:29Z","author_association":"NONE","body":"Thank you for the quick response!\r\nI used putty and ssh inside termite to access the machine beets is installed on. Both of them display the same filenames and I have seen termite correctly displaying some UTF-8 characters. Also, I just checked the filenames using FileZilla with the same result.\r\nConcerning replace... Nice hotfix, but unfortunately it wont be able to guess whether '_' previously was '?' or ':'"}}
{"actor":{"display_login":"gammelon"}}