{"action":"closed","issue":{"url":"https://api.github.com/repos/Jack12816/id3-writer/issues/2","labels_url":"https://api.github.com/repos/Jack12816/id3-writer/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Jack12816/id3-writer/issues/2/comments","events_url":"https://api.github.com/repos/Jack12816/id3-writer/issues/2/events","html_url":"https://github.com/Jack12816/id3-writer/issues/2","id":58214948,"number":2,"title":"eyed3 adding images","user":{"login":"mike-frontmen","id":9418601,"avatar_url":"https://avatars.githubusercontent.com/u/9418601?v=3","gravatar_id":"","url":"https://api.github.com/users/mike-frontmen","html_url":"https://github.com/mike-frontmen","followers_url":"https://api.github.com/users/mike-frontmen/followers","following_url":"https://api.github.com/users/mike-frontmen/following{/other_user}","gists_url":"https://api.github.com/users/mike-frontmen/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-frontmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-frontmen/subscriptions","organizations_url":"https://api.github.com/users/mike-frontmen/orgs","repos_url":"https://api.github.com/users/mike-frontmen/repos","events_url":"https://api.github.com/users/mike-frontmen/events{/privacy}","received_events_url":"https://api.github.com/users/mike-frontmen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Jack12816/id3-writer/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"Jack12816","id":2496275,"avatar_url":"https://avatars.githubusercontent.com/u/2496275?v=3","gravatar_id":"","url":"https://api.github.com/users/Jack12816","html_url":"https://github.com/Jack12816","followers_url":"https://api.github.com/users/Jack12816/followers","following_url":"https://api.github.com/users/Jack12816/following{/other_user}","gists_url":"https://api.github.com/users/Jack12816/gists{/gist_id}","starred_url":"https://api.github.com/users/Jack12816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jack12816/subscriptions","organizations_url":"https://api.github.com/users/Jack12816/orgs","repos_url":"https://api.github.com/users/Jack12816/repos","events_url":"https://api.github.com/users/Jack12816/events{/privacy}","received_events_url":"https://api.github.com/users/Jack12816/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-02-19T14:30:32Z","updated_at":"2015-02-20T11:10:30Z","closed_at":"2015-02-20T11:10:30Z","body":"When adding images to an MP3 I get the following output:\r\n\r\n`eyeD3 --force-update --encoding utf8 -1 -2 -a \"Gold Panda\" -t \"You\" -A \"Lucky Shiner\" -Y 2015 -n 1 --add-image /Users/mike/Dropbox/development/spotifier/covers/Gold Panda - You.png:FRONT_COVER \"//Users/mike/Dropbox/development/spotifier/tracks/Gold Panda - You.mp3\"`\r\n\r\nError: Command failed: usage: eyeD3 [-h] [--version] [-l LEVEL[:LOGGER]] [--exclude PATTERN] [-L]`\r\n\r\nThe eyeD3 command should be:\r\n\r\n`eyeD3 --force-update --encoding utf8 -1 -2 -a \"Gold Panda\" -t \"You\" -A \"Lucky Shiner\" -Y 2015 -n 1 --add-image \"/Users/mike/Dropbox/development/spotifier/covers/Gold Panda - You.png\":FRONT_COVER \"//Users/mike/Dropbox/development/spotifier/tracks/Gold Panda - You.mp3\"`\r\n\r\nSimple fix:\r\n\r\nlib/writer/eyeD3.js on line 228:\r\n\r\n`image.getFile().getPath()`\r\n\r\nshould be:\r\n\r\n`'\"' + image.getFile().getPath() + '\"'`\r\n\r\n"}}