{"action":"created","issue":{"url":"https://api.github.com/repos/dochang/emms-player-mpv/issues/4","labels_url":"https://api.github.com/repos/dochang/emms-player-mpv/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/dochang/emms-player-mpv/issues/4/comments","events_url":"https://api.github.com/repos/dochang/emms-player-mpv/issues/4/events","html_url":"https://github.com/dochang/emms-player-mpv/issues/4","id":60807932,"number":4,"title":"doesn't play songs within emacs","user":{"login":"3marcusw","id":3537909,"avatar_url":"https://avatars.githubusercontent.com/u/3537909?v=3","gravatar_id":"","url":"https://api.github.com/users/3marcusw","html_url":"https://github.com/3marcusw","followers_url":"https://api.github.com/users/3marcusw/followers","following_url":"https://api.github.com/users/3marcusw/following{/other_user}","gists_url":"https://api.github.com/users/3marcusw/gists{/gist_id}","starred_url":"https://api.github.com/users/3marcusw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3marcusw/subscriptions","organizations_url":"https://api.github.com/users/3marcusw/orgs","repos_url":"https://api.github.com/users/3marcusw/repos","events_url":"https://api.github.com/users/3marcusw/events{/privacy}","received_events_url":"https://api.github.com/users/3marcusw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-12T11:57:11Z","updated_at":"2015-03-12T21:33:57Z","closed_at":"2015-03-12T21:33:57Z","body":"When playing certain files, like m4a files, mpv \"escapes\" emacs and it plays in its own separate window and is problematic.\r\nHowever, when i edit emms-player-mpv.el to also pass \"--no-video\" to mpv, this fixes the problem. For example:\r\n```\r\n(define-emms-simple-player mpv '(file url streamlist playlist)\r\n  (concat \"\\\\`\\\\(http\\\\|mms\\\\)://\\\\|\"\r\n          (emms-player-simple-regexp\r\n           \"ogg\" \"mp3\" \"wav\" \"mpg\" \"mpeg\" \"wmv\" \"wma\"\r\n           \"mov\" \"avi\" \"divx\" \"ogm\" \"ogv\" \"asf\" \"mkv\"\r\n           \"rm\" \"rmvb\" \"mp4\" \"flac\" \"vob\" \"m4a\" \"ape\"\r\n           \"flv\" \"webm\"))\r\n  \"mpv\" \"--quiet\" \"--really-quiet\" \"--no-video\")\r\n```\r\nMac OS X 10.9 Mavericks\r\nEMMS 4.0\r\nEmacs 24.4"},"comment":{"url":"https://api.github.com/repos/dochang/emms-player-mpv/issues/comments/78629426","html_url":"https://github.com/dochang/emms-player-mpv/issues/4#issuecomment-78629426","issue_url":"https://api.github.com/repos/dochang/emms-player-mpv/issues/4","id":78629426,"user":{"login":"3marcusw","id":3537909,"avatar_url":"https://avatars.githubusercontent.com/u/3537909?v=3","gravatar_id":"","url":"https://api.github.com/users/3marcusw","html_url":"https://github.com/3marcusw","followers_url":"https://api.github.com/users/3marcusw/followers","following_url":"https://api.github.com/users/3marcusw/following{/other_user}","gists_url":"https://api.github.com/users/3marcusw/gists{/gist_id}","starred_url":"https://api.github.com/users/3marcusw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3marcusw/subscriptions","organizations_url":"https://api.github.com/users/3marcusw/orgs","repos_url":"https://api.github.com/users/3marcusw/repos","events_url":"https://api.github.com/users/3marcusw/events{/privacy}","received_events_url":"https://api.github.com/users/3marcusw/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T21:33:57Z","updated_at":"2015-03-12T21:33:57Z","body":"thanks"}}